2019-07-24 11:27:29 +00:00
|
|
|
.class public final Lcom/discord/views/ActiveSubscriptionView;
|
2020-01-28 00:59:01 +00:00
|
|
|
.super Landroid/widget/FrameLayout;
|
2019-07-24 11:27:29 +00:00
|
|
|
.source "ActiveSubscriptionView.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
2020-01-28 00:59:01 +00:00
|
|
|
Lcom/discord/views/ActiveSubscriptionView$b;,
|
|
|
|
Lcom/discord/views/ActiveSubscriptionView$c;
|
2019-07-24 11:27:29 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
# static fields
|
|
|
|
.field public static final k:Lcom/discord/views/ActiveSubscriptionView$c;
|
|
|
|
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
# instance fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final d:Landroid/widget/TextView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
.field public final e:Landroid/widget/ImageView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
.field public final f:Landroid/widget/ImageView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final g:Landroid/widget/ImageView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
.field public final h:Landroid/widget/Button;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
.field public final i:Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
.field public final j:Landroid/widget/ProgressBar;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
new-instance v0, Lcom/discord/views/ActiveSubscriptionView$c;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const/4 v1, 0x0
|
2019-10-19 01:51:17 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-direct {v0, v1}, Lcom/discord/views/ActiveSubscriptionView$c;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
sput-object v0, Lcom/discord/views/ActiveSubscriptionView;->k:Lcom/discord/views/ActiveSubscriptionView$c;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
|
|
.locals 6
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const/4 v4, 0x6
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
move-object v0, p0
|
|
|
|
|
|
|
|
move-object v1, p1
|
|
|
|
|
|
|
|
invoke-direct/range {v0 .. v5}, Lcom/discord/views/ActiveSubscriptionView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;IILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
.locals 6
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const/4 v4, 0x4
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
move-object v0, p0
|
|
|
|
|
|
|
|
move-object v1, p1
|
|
|
|
|
|
|
|
move-object v2, p2
|
|
|
|
|
|
|
|
invoke-direct/range {v0 .. v5}, Lcom/discord/views/ActiveSubscriptionView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;IILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 0
|
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
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-direct {p0, p1, p2, p3}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-12 20:59:48 +00:00
|
|
|
const p2, 0x7f0d00c1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-static {p1, p2, p0}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const p1, 0x7f0a004d
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string p2, "findViewById(R.id.active_subscription_header_text)"
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {p1, p2}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast p1, Landroid/widget/TextView;
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/views/ActiveSubscriptionView;->d:Landroid/widget/TextView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const p1, 0x7f0a004a
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string p2, "findViewById(R.id.active\u2026iption_header_background)"
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {p1, p2}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast p1, Landroid/widget/ImageView;
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/views/ActiveSubscriptionView;->e:Landroid/widget/ImageView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const p1, 0x7f0a004b
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string p2, "findViewById(R.id.active_subscription_header_icon)"
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {p1, p2}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast p1, Landroid/widget/ImageView;
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/views/ActiveSubscriptionView;->f:Landroid/widget/ImageView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const p1, 0x7f0a004c
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string p2, "findViewById(R.id.active_subscription_header_logo)"
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {p1, p2}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast p1, Landroid/widget/ImageView;
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/views/ActiveSubscriptionView;->g:Landroid/widget/ImageView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
const p1, 0x7f0a0053
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string p2, "findViewById(R.id.active_subscription_top_button)"
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {p1, p2}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast p1, Landroid/widget/Button;
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/views/ActiveSubscriptionView;->h:Landroid/widget/Button;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const p1, 0x7f0a0048
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const-string p2, "findViewById(R.id.active\u2026bscription_cancel_button)"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {p1, p2}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/views/ActiveSubscriptionView;->i:Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const p1, 0x7f0a004f
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const-string p2, "findViewById(R.id.active_subscription_progress)"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {p1, p2}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
check-cast p1, Landroid/widget/ProgressBar;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/views/ActiveSubscriptionView;->j:Landroid/widget/ProgressBar;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "context"
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public synthetic constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;IILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
and-int/lit8 p5, p4, 0x2
|
|
|
|
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
and-int/lit8 p4, p4, 0x4
|
|
|
|
|
|
|
|
if-eqz p4, :cond_1
|
|
|
|
|
|
|
|
const/4 p3, 0x0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-direct {p0, p1, p2, p3}, Lcom/discord/views/ActiveSubscriptionView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
.method public static synthetic a(Lcom/discord/views/ActiveSubscriptionView;Lcom/discord/views/ActiveSubscriptionView$b;Lcom/discord/models/domain/ModelSubscription$Status;ZLjava/lang/CharSequence;ZILkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;I)V
|
|
|
|
.locals 12
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move/from16 v0, p9
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
and-int/lit8 v1, v0, 0x10
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const/4 v8, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_0
|
2020-01-28 00:59:01 +00:00
|
|
|
move/from16 v8, p5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_0
|
2020-01-28 00:59:01 +00:00
|
|
|
and-int/lit8 v1, v0, 0x20
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v1, :cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const/4 v9, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_1
|
2020-01-28 00:59:01 +00:00
|
|
|
move/from16 v9, p6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_1
|
2020-01-28 00:59:01 +00:00
|
|
|
and-int/lit8 v1, v0, 0x40
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v1, :cond_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-object v10, v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
2020-01-28 00:59:01 +00:00
|
|
|
move-object/from16 v10, p7
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_2
|
2020-01-28 00:59:01 +00:00
|
|
|
and-int/lit16 v0, v0, 0x80
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
if-eqz v0, :cond_3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-object v11, v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_3
|
2020-01-28 00:59:01 +00:00
|
|
|
move-object/from16 v11, p8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_3
|
2020-01-28 00:59:01 +00:00
|
|
|
move-object v3, p0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-object v4, p1
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-object v5, p2
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move v6, p3
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-object/from16 v7, p4
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-virtual/range {v3 .. v11}, Lcom/discord/views/ActiveSubscriptionView;->a(Lcom/discord/views/ActiveSubscriptionView$b;Lcom/discord/models/domain/ModelSubscription$Status;ZLjava/lang/CharSequence;ZILkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
# virtual methods
|
|
|
|
.method public final a(Lcom/discord/views/ActiveSubscriptionView$b;Lcom/discord/models/domain/ModelSubscription$Status;ZLjava/lang/CharSequence;ZILkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)V
|
|
|
|
.locals 17
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lcom/discord/views/ActiveSubscriptionView$b;",
|
|
|
|
"Lcom/discord/models/domain/ModelSubscription$Status;",
|
|
|
|
"Z",
|
|
|
|
"Ljava/lang/CharSequence;",
|
|
|
|
"ZI",
|
|
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;",
|
|
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-object/from16 v0, p0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-object/from16 v1, p1
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move/from16 v2, p5
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-object/from16 v3, p8
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
if-eqz v1, :cond_15
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
if-eqz p2, :cond_14
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
if-eqz p4, :cond_13
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
iget-object v5, v0, Lcom/discord/views/ActiveSubscriptionView;->e:Landroid/widget/ImageView;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
sget-object v6, Le/a/j/b;->a:[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-virtual/range {p2 .. p2}, Ljava/lang/Enum;->ordinal()I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-result v7
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
aget v6, v6, v7
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const/4 v7, 0x2
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const/4 v8, 0x1
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
if-eq v6, v8, :cond_1
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
if-eq v6, v7, :cond_0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/discord/views/ActiveSubscriptionView$b;->a()I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-result v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
goto :goto_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
:cond_0
|
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/discord/views/ActiveSubscriptionView$b;->b()I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-result v6
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
goto :goto_0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
:cond_1
|
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/discord/views/ActiveSubscriptionView$b;->c()I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-result v6
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
:goto_0
|
|
|
|
invoke-virtual {v5, v6}, Landroid/widget/ImageView;->setImageResource(I)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
iget-object v5, v0, Lcom/discord/views/ActiveSubscriptionView;->f:Landroid/widget/ImageView;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
sget-object v6, Le/a/j/b;->b:[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-virtual/range {p2 .. p2}, Ljava/lang/Enum;->ordinal()I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-result v9
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
aget v6, v6, v9
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
if-eq v6, v8, :cond_3
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
if-eq v6, v7, :cond_2
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/discord/views/ActiveSubscriptionView$b;->d()I
|
|
|
|
|
|
|
|
move-result v6
|
|
|
|
|
|
|
|
goto :goto_1
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
:cond_2
|
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/discord/views/ActiveSubscriptionView$b;->e()I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-result v6
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
goto :goto_1
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
:cond_3
|
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/discord/views/ActiveSubscriptionView$b;->f()I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-result v6
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
:goto_1
|
|
|
|
invoke-virtual {v5, v6}, Landroid/widget/ImageView;->setImageResource(I)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
iget-object v5, v0, Lcom/discord/views/ActiveSubscriptionView;->g:Landroid/widget/ImageView;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/discord/views/ActiveSubscriptionView$b;->g()I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-result v6
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-virtual {v5, v6}, Landroid/widget/ImageView;->setImageResource(I)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
iget-object v5, v0, Lcom/discord/views/ActiveSubscriptionView;->d:Landroid/widget/TextView;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
sget-object v9, Lcom/discord/utilities/textprocessing/Parsers;->INSTANCE:Lcom/discord/utilities/textprocessing/Parsers;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-virtual/range {p0 .. p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-result-object v10
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const-string v6, "context"
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-static {v10, v6}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
sget-object v6, Le/a/j/b;->f:[I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-virtual/range {p1 .. p1}, Ljava/lang/Enum;->ordinal()I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-result v11
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
aget v6, v6, v11
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const/4 v15, 0x3
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const/4 v14, 0x0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
if-eq v6, v8, :cond_8
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
if-eq v6, v7, :cond_6
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
if-ne v6, v15, :cond_5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-virtual/range {p0 .. p0}, Landroid/widget/FrameLayout;->getResources()Landroid/content/res/Resources;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-12 20:59:48 +00:00
|
|
|
const v11, 0x7f1000bd
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
new-array v12, v8, [Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-static/range {p6 .. p6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-result-object v13
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
aput-object v13, v12, v14
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move/from16 v13, p6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-virtual {v6, v11, v13, v12}, Landroid/content/res/Resources;->getQuantityString(II[Ljava/lang/Object;)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-result-object v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const-string v11, "resources.getQuantityStr\u2026bscriptionCount\n )"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-static {v6, v11}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
sget-object v11, Le/a/j/b;->e:[I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-virtual/range {p2 .. p2}, Ljava/lang/Enum;->ordinal()I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-result v12
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
aget v11, v11, v12
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
if-eq v11, v8, :cond_4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-12 20:59:48 +00:00
|
|
|
const v11, 0x7f120eff
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
new-array v12, v15, [Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-static/range {p6 .. p6}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-result-object v13
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
aput-object v13, v12, v14
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
aput-object v6, v12, v8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
aput-object p4, v12, v7
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-static {v0, v11, v12}, Lcom/discord/utilities/view/extensions/ViewExtensions;->getString(Landroid/view/View;I[Ljava/lang/Object;)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-result-object v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
goto :goto_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
:cond_4
|
2020-02-12 20:59:48 +00:00
|
|
|
const v11, 0x7f120f01
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
new-array v12, v15, [Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-static/range {p6 .. p6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-result-object v13
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
aput-object v13, v12, v14
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
aput-object v6, v12, v8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
aput-object p4, v12, v7
|
|
|
|
|
|
|
|
invoke-static {v0, v11, v12}, Lcom/discord/utilities/view/extensions/ViewExtensions;->getString(Landroid/view/View;I[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
:cond_5
|
|
|
|
new-instance v1, Lt/g;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-direct {v1}, Lt/g;-><init>()V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
throw v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
:cond_6
|
|
|
|
sget-object v6, Le/a/j/b;->d:[I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-virtual/range {p2 .. p2}, Ljava/lang/Enum;->ordinal()I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-result v11
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
aget v6, v6, v11
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
if-eq v6, v8, :cond_7
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-02-12 20:59:48 +00:00
|
|
|
const v6, 0x7f120f43
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
new-array v11, v7, [Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-static {v7}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-result-object v12
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
aput-object v12, v11, v14
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
aput-object p4, v11, v8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-static {v0, v6, v11}, Lcom/discord/utilities/view/extensions/ViewExtensions;->getString(Landroid/view/View;I[Ljava/lang/Object;)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-result-object v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
goto :goto_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
:cond_7
|
2020-02-12 20:59:48 +00:00
|
|
|
const v6, 0x7f120f44
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
new-array v11, v7, [Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-static {v7}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-result-object v12
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
aput-object v12, v11, v14
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
aput-object p4, v11, v8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-static {v0, v6, v11}, Lcom/discord/utilities/view/extensions/ViewExtensions;->getString(Landroid/view/View;I[Ljava/lang/Object;)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-result-object v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
goto :goto_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
:cond_8
|
|
|
|
sget-object v6, Le/a/j/b;->c:[I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-virtual/range {p2 .. p2}, Ljava/lang/Enum;->ordinal()I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-result v11
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
aget v6, v6, v11
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
if-eq v6, v8, :cond_9
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-12 20:59:48 +00:00
|
|
|
const v6, 0x7f120f41
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
new-array v11, v8, [Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
aput-object p4, v11, v14
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-static {v0, v6, v11}, Lcom/discord/utilities/view/extensions/ViewExtensions;->getString(Landroid/view/View;I[Ljava/lang/Object;)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-result-object v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
goto :goto_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
:cond_9
|
2020-02-12 20:59:48 +00:00
|
|
|
const v6, 0x7f120f42
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
new-array v11, v8, [Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
aput-object p4, v11, v14
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
invoke-static {v0, v6, v11}, Lcom/discord/utilities/view/extensions/ViewExtensions;->getString(Landroid/view/View;I[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
move-object v11, v6
|
|
|
|
|
|
|
|
const/4 v12, 0x0
|
|
|
|
|
|
|
|
const/4 v13, 0x0
|
|
|
|
|
|
|
|
const/16 v6, 0xc
|
|
|
|
|
|
|
|
const/16 v16, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const/4 v4, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move v14, v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const/4 v6, 0x3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
move-object/from16 v15, v16
|
|
|
|
|
|
|
|
invoke-static/range {v9 .. v15}, Lcom/discord/utilities/textprocessing/Parsers;->parseMarkdown$default(Lcom/discord/utilities/textprocessing/Parsers;Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/Integer;Ljava/lang/Integer;ILjava/lang/Object;)Ljava/lang/CharSequence;
|
|
|
|
|
|
|
|
move-result-object v9
|
|
|
|
|
|
|
|
invoke-virtual {v5, v9}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
|
|
|
|
iget-object v5, v0, Lcom/discord/views/ActiveSubscriptionView;->h:Landroid/widget/Button;
|
|
|
|
|
|
|
|
if-nez p3, :cond_a
|
|
|
|
|
|
|
|
if-nez v2, :cond_a
|
|
|
|
|
|
|
|
const/4 v9, 0x1
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_a
|
|
|
|
const/4 v9, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_3
|
2020-01-28 00:59:01 +00:00
|
|
|
const/16 v14, 0x8
|
|
|
|
|
|
|
|
if-eqz v9, :cond_b
|
|
|
|
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_b
|
|
|
|
const/16 v9, 0x8
|
|
|
|
|
|
|
|
:goto_4
|
|
|
|
invoke-virtual {v5, v9}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
|
|
|
|
iget-object v5, v0, Lcom/discord/views/ActiveSubscriptionView;->i:Landroid/view/View;
|
|
|
|
|
|
|
|
if-nez p3, :cond_c
|
|
|
|
|
|
|
|
sget-object v9, Lcom/discord/views/ActiveSubscriptionView$b;->f:Lcom/discord/views/ActiveSubscriptionView$b;
|
|
|
|
|
|
|
|
if-eq v1, v9, :cond_c
|
|
|
|
|
|
|
|
if-nez v2, :cond_c
|
|
|
|
|
|
|
|
const/4 v9, 0x1
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_c
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
|
|
|
:goto_5
|
|
|
|
if-eqz v9, :cond_d
|
|
|
|
|
|
|
|
const/4 v14, 0x0
|
|
|
|
|
|
|
|
:cond_d
|
|
|
|
invoke-virtual {v5, v14}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
|
|
|
|
iget-object v5, v0, Lcom/discord/views/ActiveSubscriptionView;->h:Landroid/widget/Button;
|
|
|
|
|
|
|
|
sget-object v9, Le/a/j/b;->h:[I
|
|
|
|
|
|
|
|
invoke-virtual/range {p1 .. p1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
aget v1, v9, v1
|
|
|
|
|
|
|
|
if-eq v1, v8, :cond_11
|
|
|
|
|
|
|
|
if-eq v1, v7, :cond_f
|
|
|
|
|
|
|
|
if-ne v1, v6, :cond_e
|
|
|
|
|
|
|
|
goto :goto_6
|
|
|
|
|
|
|
|
:cond_e
|
|
|
|
new-instance v1, Lt/g;
|
|
|
|
|
|
|
|
invoke-direct {v1}, Lt/g;-><init>()V
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_f
|
|
|
|
:goto_6
|
|
|
|
sget-object v1, Le/a/j/b;->g:[I
|
|
|
|
|
|
|
|
invoke-virtual/range {p2 .. p2}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
|
|
|
|
move-result v6
|
|
|
|
|
|
|
|
aget v1, v1, v6
|
|
|
|
|
|
|
|
if-eq v1, v8, :cond_10
|
|
|
|
|
2020-02-12 20:59:48 +00:00
|
|
|
const v1, 0x7f1202eb
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
goto :goto_7
|
|
|
|
|
|
|
|
:cond_10
|
2020-02-12 20:59:48 +00:00
|
|
|
const v1, 0x7f121025
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
goto :goto_7
|
|
|
|
|
|
|
|
:cond_11
|
2020-02-12 20:59:48 +00:00
|
|
|
const v1, 0x7f120ea0
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
:goto_7
|
|
|
|
invoke-virtual {v5, v1}, Landroid/widget/Button;->setText(I)V
|
|
|
|
|
|
|
|
iget-object v1, v0, Lcom/discord/views/ActiveSubscriptionView;->h:Landroid/widget/Button;
|
|
|
|
|
|
|
|
new-instance v5, Lcom/discord/views/ActiveSubscriptionView$a;
|
|
|
|
|
|
|
|
invoke-direct {v5, v4, v3}, Lcom/discord/views/ActiveSubscriptionView$a;-><init>(ILjava/lang/Object;)V
|
|
|
|
|
|
|
|
invoke-virtual {v1, v5}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
|
|
|
|
iget-object v1, v0, Lcom/discord/views/ActiveSubscriptionView;->h:Landroid/widget/Button;
|
|
|
|
|
|
|
|
if-eqz v3, :cond_12
|
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
goto :goto_8
|
|
|
|
|
|
|
|
:cond_12
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
:goto_8
|
|
|
|
invoke-virtual {v1, v3}, Landroid/widget/Button;->setEnabled(Z)V
|
|
|
|
|
|
|
|
iget-object v1, v0, Lcom/discord/views/ActiveSubscriptionView;->i:Landroid/view/View;
|
|
|
|
|
|
|
|
new-instance v3, Lcom/discord/views/ActiveSubscriptionView$a;
|
|
|
|
|
|
|
|
move-object/from16 v5, p7
|
|
|
|
|
|
|
|
invoke-direct {v3, v8, v5}, Lcom/discord/views/ActiveSubscriptionView$a;-><init>(ILjava/lang/Object;)V
|
|
|
|
|
|
|
|
invoke-virtual {v1, v3}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
|
|
|
|
iget-object v1, v0, Lcom/discord/views/ActiveSubscriptionView;->j:Landroid/widget/ProgressBar;
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
invoke-static {v1, v2, v4, v7, v3}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy$default(Landroid/view/View;ZIILjava/lang/Object;)V
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
return-void
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
:cond_13
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const-string v1, "priceText"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {v1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
throw v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
:cond_14
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const-string v1, "status"
|
|
|
|
|
|
|
|
invoke-static {v1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v3
|
|
|
|
|
|
|
|
:cond_15
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const-string v1, "activeSubscriptionType"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {v1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
throw v3
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|