apkfuckery/com.discord/smali/com/discord/widgets/auth/WidgetAuthCaptcha$Companion...

111 lines
2.3 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public final Lcom/discord/widgets/auth/WidgetAuthCaptcha$Companion;
.super Ljava/lang/Object;
.source "WidgetAuthCaptcha.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/discord/widgets/auth/WidgetAuthCaptcha;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>()V
2019-07-24 11:27:29 +00:00
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetAuthCaptcha$Companion;-><init>()V
return-void
.end method
# virtual methods
2019-08-17 08:22:04 +00:00
.method public final handleResult(ILandroid/content/Intent;Lkotlin/jvm/functions/Function1;)Z
2019-07-24 11:27:29 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Landroid/content/Intent;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/String;",
"Lkotlin/Unit;",
2019-08-17 08:22:04 +00:00
">;)Z"
2019-07-24 11:27:29 +00:00
}
.end annotation
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p3, :cond_2
2019-07-24 11:27:29 +00:00
if-eqz p2, :cond_0
const-string v0, "RESULT_EXTRA_UNDELETE"
invoke-virtual {p2, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
:cond_0
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/16 p2, 0xfa0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-ne p1, p2, :cond_1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-interface {p3, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-08-17 08:22:04 +00:00
const/4 p1, 0x1
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-08-17 08:22:04 +00:00
2019-07-24 11:27:29 +00:00
:cond_1
2019-08-17 08:22:04 +00:00
const/4 p1, 0x0
2019-12-06 03:29:40 +00:00
:goto_0
2019-08-17 08:22:04 +00:00
return p1
2019-12-06 03:29:40 +00:00
:cond_2
const-string p1, "callback"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
2019-07-24 11:27:29 +00:00
.end method
.method public final launch(Lcom/discord/app/AppFragment;)V
.locals 3
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-class v1, Lcom/discord/widgets/auth/WidgetAuthCaptcha;
2019-07-24 11:27:29 +00:00
const/16 v2, 0xfa0
2020-03-02 06:11:59 +00:00
invoke-static {p1, v1, v0, v2}, Le/a/b/i;->a(Landroidx/fragment/app/Fragment;Ljava/lang/Class;Landroid/content/Intent;I)V
2019-07-24 11:27:29 +00:00
return-void
2019-12-06 03:29:40 +00:00
:cond_0
const-string p1, "fragment"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
2019-07-24 11:27:29 +00:00
.end method