2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/widgets/auth/WidgetAuthCaptcha$onViewBound$1;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "WidgetAuthCaptcha.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Landroid/view/View$OnClickListener;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/widgets/auth/WidgetAuthCaptcha;->onViewBound(Landroid/view/View;)V
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final synthetic this$0:Lcom/discord/widgets/auth/WidgetAuthCaptcha;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lcom/discord/widgets/auth/WidgetAuthCaptcha;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/auth/WidgetAuthCaptcha$onViewBound$1;->this$0:Lcom/discord/widgets/auth/WidgetAuthCaptcha;
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final onClick(Landroid/view/View;)V
|
|
|
|
.locals 8
|
|
|
|
|
|
|
|
sget-object p1, Lcom/discord/utilities/captcha/CaptchaHelper;->INSTANCE:Lcom/discord/utilities/captcha/CaptchaHelper;
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthCaptcha$onViewBound$1;->this$0:Lcom/discord/widgets/auth/WidgetAuthCaptcha;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/app/AppFragment;->getAppActivity()Lcom/discord/app/AppActivity;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Lcom/discord/utilities/captcha/CaptchaHelper;->tryShowCaptcha(Landroid/app/Activity;)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
new-instance v4, Lcom/discord/widgets/auth/WidgetAuthCaptcha$onViewBound$1$1;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {v4, p0}, Lcom/discord/widgets/auth/WidgetAuthCaptcha$onViewBound$1$1;-><init>(Lcom/discord/widgets/auth/WidgetAuthCaptcha$onViewBound$1;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const-class v2, Lcom/discord/widgets/auth/WidgetAuthCaptcha;
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
new-instance v0, Lcom/discord/widgets/auth/WidgetAuthCaptcha$onViewBound$1$2;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {v0, p0}, Lcom/discord/widgets/auth/WidgetAuthCaptcha$onViewBound$1$2;-><init>(Lcom/discord/widgets/auth/WidgetAuthCaptcha$onViewBound$1;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const/16 v1, 0x38
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
and-int/lit8 v3, v1, 0x4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
if-eqz v3, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
move-object v5, v6
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move-object v5, v0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
and-int/lit8 v0, v1, 0x8
|
|
|
|
|
|
|
|
and-int/lit8 v0, v1, 0x10
|
|
|
|
|
|
|
|
and-int/lit8 v0, v1, 0x20
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "onNext"
|
|
|
|
|
2020-09-22 07:09:10 +00:00
|
|
|
invoke-static {v4, v0}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const-string v0, "errorClass"
|
|
|
|
|
2020-09-22 07:09:10 +00:00
|
|
|
invoke-static {v2, v0}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
new-instance v7, Lf/a/b/c0;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
move-object v0, v7
|
|
|
|
|
|
|
|
move-object v1, v6
|
|
|
|
|
|
|
|
move-object v3, v6
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-direct/range {v0 .. v6}, Lf/a/b/c0;-><init>(Landroid/content/Context;Ljava/lang/Class;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;Lkotlin/jvm/functions/Function0;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1, v7}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|