2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/stores/StoreAuthentication$init$3;
|
2020-07-23 01:06:17 +00:00
|
|
|
.super Lj0/o/c/i;
|
2020-05-17 12:40:10 +00:00
|
|
|
.source "StoreAuthentication.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/stores/StoreAuthentication;->init(Landroid/content/Context;)V
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-07-23 01:06:17 +00:00
|
|
|
"Lj0/o/c/i;",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
|
|
"Lkotlin/Pair<",
|
|
|
|
"+",
|
|
|
|
"Ljava/lang/Boolean;",
|
|
|
|
"+",
|
|
|
|
"Ljava/lang/Long;",
|
|
|
|
">;",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final synthetic $context:Landroid/content/Context;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/stores/StoreAuthentication$init$3;->$context:Landroid/content/Context;
|
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
invoke-direct {p0, p1}, Lj0/o/c/i;-><init>(I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
check-cast p1, Lkotlin/Pair;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreAuthentication$init$3;->invoke(Lkotlin/Pair;)V
|
|
|
|
|
|
|
|
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final invoke(Lkotlin/Pair;)V
|
|
|
|
.locals 4
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lkotlin/Pair<",
|
|
|
|
"Ljava/lang/Boolean;",
|
|
|
|
"Ljava/lang/Long;",
|
|
|
|
">;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget-object v0, p1, Lkotlin/Pair;->first:Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
check-cast v0, Ljava/lang/Boolean;
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget-object p1, p1, Lkotlin/Pair;->second:Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
check-cast p1, Ljava/lang/Long;
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/discord/stores/StoreAuthentication$init$3;->$context:Landroid/content/Context;
|
|
|
|
|
|
|
|
const-string v2, "isLoggedIn"
|
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
invoke-static {v0, v2}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const-string v2, "meUserId"
|
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
invoke-static {p1, v2}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
|
|
|
|
|
|
|
|
move-result-wide v2
|
|
|
|
|
|
|
|
invoke-static {v1, v0, v2, v3}, Lcom/discord/utilities/auth/AuthUtils;->broadcastAuthChangedEvent(Landroid/content/Context;ZJ)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|