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-02-27 22:30:35 +00:00
|
|
|
Lcom/discord/views/ActiveSubscriptionView$ActiveSubscriptionType;,
|
|
|
|
Lcom/discord/views/ActiveSubscriptionView$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
# static fields
|
2020-02-27 22:30:35 +00:00
|
|
|
.field public static final k:Lcom/discord/views/ActiveSubscriptionView$b;
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
|
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-02-27 22:30:35 +00:00
|
|
|
new-instance v0, Lcom/discord/views/ActiveSubscriptionView$b;
|
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-02-27 22:30:35 +00:00
|
|
|
invoke-direct {v0, v1}, Lcom/discord/views/ActiveSubscriptionView$b;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-27 22:30:35 +00:00
|
|
|
sput-object v0, Lcom/discord/views/ActiveSubscriptionView;->k:Lcom/discord/views/ActiveSubscriptionView$b;
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
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-04-17 17:35:24 +00:00
|
|
|
const p2, 0x7f0d00d4
|
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-03-27 22:23:51 +00:00
|
|
|
const p1, 0x7f0a0050
|
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)"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1, p2}, Ly/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-03-27 22:23:51 +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\u2026iption_header_background)"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1, p2}, Ly/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-03-27 22:23:51 +00:00
|
|
|
const p1, 0x7f0a004e
|
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)"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1, p2}, Ly/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-03-27 22:23:51 +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
|
|
|
|
|
|
|
|
const-string p2, "findViewById(R.id.active_subscription_header_logo)"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1, p2}, Ly/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-03-27 22:23:51 +00:00
|
|
|
const p1, 0x7f0a0056
|
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)"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1, p2}, Ly/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-03-27 22:23:51 +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
|
|
|
|
|
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
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1, p2}, Ly/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-03-27 22:23:51 +00:00
|
|
|
const p1, 0x7f0a0052
|
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
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1, p2}, Ly/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"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {p1}, Ly/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-02-27 22:30:35 +00:00
|
|
|
.method public static synthetic a(Lcom/discord/views/ActiveSubscriptionView;Lcom/discord/views/ActiveSubscriptionView$ActiveSubscriptionType;Lcom/discord/models/domain/ModelSubscription$Status;ZLjava/lang/CharSequence;ZILkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;I)V
|
2020-01-28 00:59:01 +00:00
|
|
|
.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-02-27 22:30:35 +00:00
|
|
|
invoke-virtual/range {v3 .. v11}, Lcom/discord/views/ActiveSubscriptionView;->a(Lcom/discord/views/ActiveSubscriptionView$ActiveSubscriptionType;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
|
2020-02-27 22:30:35 +00:00
|
|
|
.method public final a(Lcom/discord/views/ActiveSubscriptionView$ActiveSubscriptionType;Lcom/discord/models/domain/ModelSubscription$Status;ZLjava/lang/CharSequence;ZILkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)V
|
2020-03-03 02:12:30 +00:00
|
|
|
.locals 16
|
2020-01-28 00:59:01 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
2020-02-27 22:30:35 +00:00
|
|
|
"Lcom/discord/views/ActiveSubscriptionView$ActiveSubscriptionType;",
|
2020-01-28 00:59:01 +00:00
|
|
|
"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-03-03 02:12:30 +00:00
|
|
|
move-object/from16 v2, p8
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
const/4 v3, 0x0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
if-eqz v1, :cond_17
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
if-eqz p2, :cond_16
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
if-eqz p4, :cond_15
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
iget-object v3, v0, Lcom/discord/views/ActiveSubscriptionView;->e:Landroid/widget/ImageView;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
sget-object v4, Lf/a/k/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-03-03 02:12:30 +00:00
|
|
|
move-result v5
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
aget v4, v4, v5
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
const/4 v5, 0x2
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
const/4 v6, 0x1
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
if-eq v4, v6, :cond_1
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
if-eq v4, v5, :cond_0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-02-27 22:30:35 +00:00
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/discord/views/ActiveSubscriptionView$ActiveSubscriptionType;->getHeaderBackground()I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
move-result v4
|
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
|
2020-02-27 22:30:35 +00:00
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/discord/views/ActiveSubscriptionView$ActiveSubscriptionType;->getHeaderBackgroundError()I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
move-result v4
|
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
|
2020-02-27 22:30:35 +00:00
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/discord/views/ActiveSubscriptionView$ActiveSubscriptionType;->getHeaderBackgroundResub()I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
move-result v4
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
:goto_0
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-virtual {v3, v4}, Landroid/widget/ImageView;->setImageResource(I)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
iget-object v3, v0, Lcom/discord/views/ActiveSubscriptionView;->f:Landroid/widget/ImageView;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
sget-object v4, Lf/a/k/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-03-03 02:12:30 +00:00
|
|
|
move-result v7
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
aget v4, v4, v7
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
if-eq v4, v6, :cond_3
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
if-eq v4, v5, :cond_2
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-02-27 22:30:35 +00:00
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/discord/views/ActiveSubscriptionView$ActiveSubscriptionType;->getHeaderImage()I
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
move-result v4
|
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_2
|
2020-02-27 22:30:35 +00:00
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/discord/views/ActiveSubscriptionView$ActiveSubscriptionType;->getHeaderImageError()I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
move-result v4
|
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
|
2020-02-27 22:30:35 +00:00
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/discord/views/ActiveSubscriptionView$ActiveSubscriptionType;->getHeaderImageResub()I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
move-result v4
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
:goto_1
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-virtual {v3, v4}, Landroid/widget/ImageView;->setImageResource(I)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
iget-object v3, v0, Lcom/discord/views/ActiveSubscriptionView;->g:Landroid/widget/ImageView;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-02-27 22:30:35 +00:00
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/discord/views/ActiveSubscriptionView$ActiveSubscriptionType;->getHeaderLogo()I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
move-result v4
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-virtual {v3, v4}, Landroid/widget/ImageView;->setImageResource(I)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
iget-object v3, v0, Lcom/discord/views/ActiveSubscriptionView;->d:Landroid/widget/TextView;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
sget-object v7, 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-03-03 02:12:30 +00:00
|
|
|
move-result-object v8
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
const-string v4, "context"
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v8, v4}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
sget-object v4, Lf/a/k/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-03-03 02:12:30 +00:00
|
|
|
move-result v9
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
aget v4, v4, v9
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
const/4 v14, 0x3
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
const/4 v15, 0x0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
if-eq v4, v6, :cond_8
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
if-eq v4, v5, :cond_6
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
if-ne v4, v14, :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
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
move-result-object v4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const v9, 0x7f1000d4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
new-array v10, v6, [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-03-03 02:12:30 +00:00
|
|
|
move-result-object v11
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
aput-object v11, v10, v15
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
move/from16 v11, p6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-virtual {v4, v9, v11, v10}, Landroid/content/res/Resources;->getQuantityString(II[Ljava/lang/Object;)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
move-result-object v4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
const-string v9, "resources.getQuantityStr\u2026bscriptionCount\n )"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v4, v9}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
sget-object v9, Lf/a/k/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-03-03 02:12:30 +00:00
|
|
|
move-result v10
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
aget v9, v9, v10
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
if-eq v9, v6, :cond_4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const v9, 0x7f121080
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
new-array v10, v14, [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-03-03 02:12:30 +00:00
|
|
|
move-result-object v11
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
aput-object v11, v10, v15
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
aput-object v4, v10, v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
aput-object p4, v10, v5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-static {v0, v9, v10}, 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-03-03 02:12:30 +00:00
|
|
|
move-result-object v4
|
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-04-17 17:35:24 +00:00
|
|
|
const v9, 0x7f121082 # 1.94153E38f
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
new-array v10, v14, [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-03-03 02:12:30 +00:00
|
|
|
move-result-object v11
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
aput-object v11, v10, v15
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
aput-object v4, v10, v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
aput-object p4, v10, v5
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-static {v0, v9, v10}, Lcom/discord/utilities/view/extensions/ViewExtensions;->getString(Landroid/view/View;I[Ljava/lang/Object;)Ljava/lang/String;
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
move-result-object v4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
:cond_5
|
2020-04-17 19:35:49 +00:00
|
|
|
new-instance v1, Ly/g;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-direct {v1}, Ly/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
|
2020-04-17 17:35:24 +00:00
|
|
|
sget-object v4, Lf/a/k/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-03-03 02:12:30 +00:00
|
|
|
move-result v9
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
aget v4, v4, v9
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
if-eq v4, v6, :cond_7
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const v4, 0x7f1210c4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
new-array v9, v5, [Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
move-result-object v10
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
aput-object v10, v9, v15
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
aput-object p4, v9, v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-static {v0, v4, v9}, 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-03-03 02:12:30 +00:00
|
|
|
move-result-object v4
|
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-04-17 17:35:24 +00:00
|
|
|
const v4, 0x7f1210c5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
new-array v9, v5, [Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
move-result-object v10
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
aput-object v10, v9, v15
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
aput-object p4, v9, v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-static {v0, v4, v9}, 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-03-03 02:12:30 +00:00
|
|
|
move-result-object v4
|
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
|
2020-04-17 17:35:24 +00:00
|
|
|
sget-object v4, Lf/a/k/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-03-03 02:12:30 +00:00
|
|
|
move-result v9
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
aget v4, v4, v9
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
if-eq v4, v6, :cond_9
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const v4, 0x7f1210c2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
new-array v9, v6, [Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
aput-object p4, v9, v15
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-static {v0, v4, v9}, 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-03-03 02:12:30 +00:00
|
|
|
move-result-object v4
|
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-04-17 17:35:24 +00:00
|
|
|
const v4, 0x7f1210c3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
new-array v9, v6, [Ljava/lang/Object;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
aput-object p4, v9, v15
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-static {v0, v4, v9}, Lcom/discord/utilities/view/extensions/ViewExtensions;->getString(Landroid/view/View;I[Ljava/lang/Object;)Ljava/lang/String;
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
move-result-object v4
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
:goto_2
|
2020-03-03 02:12:30 +00:00
|
|
|
move-object v9, v4
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
const/4 v10, 0x0
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
const/4 v11, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
const/16 v12, 0xc
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
const/4 v13, 0x0
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-static/range {v7 .. v13}, 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;
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
move-result-object v4
|
2020-03-01 21:12:02 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
2020-03-01 21:12:02 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
iget-object v3, v0, Lcom/discord/views/ActiveSubscriptionView;->h:Landroid/widget/Button;
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
if-nez p3, :cond_a
|
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
if-nez p5, :cond_a
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
const/4 v4, 0x1
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_a
|
2020-03-03 02:12:30 +00:00
|
|
|
const/4 v4, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_3
|
2020-03-03 02:12:30 +00:00
|
|
|
const/16 v7, 0x8
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
if-eqz v4, :cond_b
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
const/4 v4, 0x0
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_b
|
2020-03-03 02:12:30 +00:00
|
|
|
const/16 v4, 0x8
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
:goto_4
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-virtual {v3, v4}, Landroid/view/View;->setVisibility(I)V
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
iget-object v3, v0, Lcom/discord/views/ActiveSubscriptionView;->i:Landroid/view/View;
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
if-nez p3, :cond_c
|
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
sget-object v4, Lcom/discord/views/ActiveSubscriptionView$ActiveSubscriptionType;->PREMIUM_GUILD:Lcom/discord/views/ActiveSubscriptionView$ActiveSubscriptionType;
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
if-eq v1, v4, :cond_c
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
if-nez p5, :cond_c
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
const/4 v4, 0x1
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_c
|
2020-03-03 02:12:30 +00:00
|
|
|
const/4 v4, 0x0
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
:goto_5
|
2020-03-03 02:12:30 +00:00
|
|
|
if-eqz v4, :cond_d
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
const/4 v4, 0x0
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
goto :goto_6
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
:cond_d
|
2020-03-03 02:12:30 +00:00
|
|
|
const/16 v4, 0x8
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
:goto_6
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-virtual {v3, v4}, Landroid/view/View;->setVisibility(I)V
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
iget-object v3, v0, Lcom/discord/views/ActiveSubscriptionView;->h:Landroid/widget/Button;
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
sget-object v4, Lf/a/k/b;->h:[I
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
invoke-virtual/range {p1 .. p1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
aget v1, v4, v1
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
if-eq v1, v6, :cond_11
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
if-eq v1, v5, :cond_f
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
if-ne v1, v14, :cond_e
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
goto :goto_7
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
:cond_e
|
2020-04-17 19:35:49 +00:00
|
|
|
new-instance v1, Ly/g;
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-direct {v1}, Ly/g;-><init>()V
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_f
|
2020-02-20 19:33:18 +00:00
|
|
|
:goto_7
|
2020-04-17 17:35:24 +00:00
|
|
|
sget-object v1, Lf/a/k/b;->g:[I
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
invoke-virtual/range {p2 .. p2}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
move-result v4
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
aget v1, v1, v4
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
if-eq v1, v6, :cond_10
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-04-17 17:35:24 +00:00
|
|
|
const v1, 0x7f120312
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
goto :goto_8
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
:cond_10
|
2020-04-17 17:35:24 +00:00
|
|
|
const v1, 0x7f1211ca
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
goto :goto_8
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
:cond_11
|
2020-04-17 17:35:24 +00:00
|
|
|
const v1, 0x7f121016
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
:goto_8
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-virtual {v3, v1}, Landroid/widget/Button;->setText(I)V
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
iget-object v1, v0, Lcom/discord/views/ActiveSubscriptionView;->h:Landroid/widget/Button;
|
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
new-instance v3, Lcom/discord/views/ActiveSubscriptionView$a;
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-direct {v3, v15, v2}, Lcom/discord/views/ActiveSubscriptionView$a;-><init>(ILjava/lang/Object;)V
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-virtual {v1, v3}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
iget-object v1, v0, Lcom/discord/views/ActiveSubscriptionView;->h:Landroid/widget/Button;
|
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
if-eqz v2, :cond_12
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
const/4 v2, 0x1
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
goto :goto_9
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
:cond_12
|
2020-03-03 02:12:30 +00:00
|
|
|
const/4 v2, 0x0
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
:goto_9
|
2020-03-03 02:12:30 +00:00
|
|
|
if-eqz v2, :cond_13
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
2020-02-20 19:33:18 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
goto :goto_a
|
2020-02-20 19:33:18 +00:00
|
|
|
|
|
|
|
:cond_13
|
2020-03-03 02:12:30 +00:00
|
|
|
const/16 v2, 0x8
|
|
|
|
|
|
|
|
:goto_a
|
|
|
|
invoke-virtual {v1, v2}, Landroid/view/View;->setVisibility(I)V
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
iget-object v1, v0, Lcom/discord/views/ActiveSubscriptionView;->i:Landroid/view/View;
|
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
new-instance v2, Lcom/discord/views/ActiveSubscriptionView$a;
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
move-object/from16 v3, p7
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-direct {v2, v6, v3}, Lcom/discord/views/ActiveSubscriptionView$a;-><init>(ILjava/lang/Object;)V
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-virtual {v1, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
iget-object v1, v0, Lcom/discord/views/ActiveSubscriptionView;->j:Landroid/widget/ProgressBar;
|
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
if-eqz p5, :cond_14
|
2020-03-01 08:10:35 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
const/4 v7, 0x0
|
2020-01-28 00:59:01 +00:00
|
|
|
|
2020-03-01 21:12:02 +00:00
|
|
|
:cond_14
|
2020-03-03 02:12:30 +00:00
|
|
|
invoke-virtual {v1, v7}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
|
|
|
|
return-void
|
2020-03-01 21:12:02 +00:00
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
:cond_15
|
2020-01-28 00:59:01 +00:00
|
|
|
const-string v1, "priceText"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v1}, Ly/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-03-03 02:12:30 +00:00
|
|
|
:cond_16
|
2020-01-28 00:59:01 +00:00
|
|
|
const-string v1, "status"
|
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-01-28 00:59:01 +00:00
|
|
|
|
|
|
|
throw v3
|
|
|
|
|
2020-03-03 02:12:30 +00:00
|
|
|
:cond_17
|
2020-01-28 00:59:01 +00:00
|
|
|
const-string v1, "activeSubscriptionType"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-static {v1}, Ly/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
|