apkfuckery/com.discord/smali_classes2/com/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5.smali

225 lines
8.2 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;
2019-10-01 14:15:45 +00:00
.super Ljava/lang/Object;
.source "WidgetUserSheet.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2019-10-17 03:51:45 +00:00
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->configureProfileActionButtons(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;)V
2019-10-01 14:15:45 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x19
2019-10-01 14:15:45 +00:00
name = null
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final synthetic $userRelationshipType:I
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
.field public final synthetic $viewState:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
.field public final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
2019-10-01 14:15:45 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;ILcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;)V
2019-10-01 14:15:45 +00:00
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
iput p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->$userRelationshipType:I
2019-10-17 03:51:45 +00:00
iput-object p3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->$viewState:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;
2019-10-01 14:15:45 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
2020-01-02 21:43:52 +00:00
.locals 21
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
move-object/from16 v0, p0
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
iget v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->$userRelationshipType:I
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
const/4 v2, 0x3
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
const-string v3, "requireContext()"
2019-10-07 23:23:22 +00:00
2019-12-06 03:29:40 +00:00
const-string v4, "requireFragmentManager()"
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
if-eq v1, v2, :cond_1
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
const/4 v2, 0x4
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
if-eq v1, v2, :cond_0
goto/16 :goto_0
2019-10-01 14:15:45 +00:00
:cond_0
2019-12-06 03:29:40 +00:00
iget-object v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->$viewState:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;
invoke-virtual {v1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->getUser()Lcom/discord/models/domain/ModelUser;
move-result-object v1
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
iget-object v2, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v2}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v2
2019-10-01 14:15:45 +00:00
2020-05-11 19:22:21 +00:00
invoke-static {v2, v3}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
iget-object v3, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {v3}, Landroidx/fragment/app/Fragment;->requireFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object v3
2019-10-01 14:15:45 +00:00
2020-05-11 19:22:21 +00:00
invoke-static {v3, v4}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
new-instance v4, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$1;
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
iget-object v5, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-static {v5}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->access$getViewModel$p(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
move-result-object v5
invoke-direct {v4, v5}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$1;-><init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;)V
2020-05-11 19:22:21 +00:00
invoke-static {v1, v2, v3, v4}, Lf/a/a/m;->a(Lcom/discord/models/domain/ModelUser;Landroid/content/Context;Landroidx/fragment/app/FragmentManager;Lkotlin/jvm/functions/Function1;)V
2019-12-06 03:29:40 +00:00
goto/16 :goto_0
:cond_1
iget-object v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {v1}, Landroidx/fragment/app/Fragment;->requireFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object v6
2020-05-11 19:22:21 +00:00
invoke-static {v6, v4}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
iget-object v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
invoke-virtual {v1}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
2019-10-01 14:15:45 +00:00
move-result-object v1
2020-05-11 19:22:21 +00:00
invoke-static {v1, v3}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-10-07 23:23:22 +00:00
2019-12-06 03:29:40 +00:00
new-instance v2, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$2;
2019-10-01 14:15:45 +00:00
2020-03-27 22:23:51 +00:00
invoke-direct {v2, v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$2;-><init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;)V
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
new-instance v3, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$3;
2019-10-01 14:15:45 +00:00
2020-03-27 22:23:51 +00:00
invoke-direct {v3, v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$3;-><init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;)V
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
sget-object v5, Lcom/discord/widgets/notice/WidgetNoticeDialog;->Companion:Lcom/discord/widgets/notice/WidgetNoticeDialog$Companion;
2019-10-01 14:15:45 +00:00
2020-05-11 23:21:58 +00:00
const v4, 0x7f120bac
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v1, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v7
2020-05-11 23:21:58 +00:00
const v4, 0x7f121569
2019-12-06 03:29:40 +00:00
invoke-virtual {v1, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v8
const-string v4, "context.getString(R.stri\u2026iend_request_dialog_body)"
2020-05-11 19:22:21 +00:00
invoke-static {v8, v4}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
2020-05-11 19:22:21 +00:00
const v4, 0x7f120732
2019-12-06 03:29:40 +00:00
invoke-virtual {v1, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v9
2020-05-11 19:22:21 +00:00
const v4, 0x7f120736
2019-12-06 03:29:40 +00:00
invoke-virtual {v1, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v10
const/4 v1, 0x2
new-array v1, v1, [Lkotlin/Pair;
const/4 v4, 0x0
2020-05-11 19:22:21 +00:00
const v11, 0x7f0a05a9
2019-12-06 03:29:40 +00:00
invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v11
2020-05-11 19:22:21 +00:00
new-instance v12, Lf/a/a/k;
2019-12-06 03:29:40 +00:00
2020-05-11 19:22:21 +00:00
invoke-direct {v12, v2}, Lf/a/a/k;-><init>(Lkotlin/jvm/functions/Function0;)V
2019-12-06 03:29:40 +00:00
new-instance v2, Lkotlin/Pair;
invoke-direct {v2, v11, v12}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
aput-object v2, v1, v4
const/4 v2, 0x1
2020-05-11 19:22:21 +00:00
const v4, 0x7f0a05a4
2019-12-06 03:29:40 +00:00
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v4
2019-10-01 14:15:45 +00:00
2020-05-11 19:22:21 +00:00
new-instance v11, Lf/a/a/l;
2019-10-01 14:15:45 +00:00
2020-05-11 19:22:21 +00:00
invoke-direct {v11, v3}, Lf/a/a/l;-><init>(Lkotlin/jvm/functions/Function0;)V
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
new-instance v3, Lkotlin/Pair;
2019-10-07 23:23:22 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {v3, v4, v11}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
aput-object v3, v1, v2
2019-10-01 14:15:45 +00:00
2020-05-11 19:22:21 +00:00
invoke-static {v1}, Ly/q/m;->mapOf([Lkotlin/Pair;)Ljava/util/Map;
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v11
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
const/4 v12, 0x0
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
const/4 v13, 0x0
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
const/4 v14, 0x0
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
const/4 v15, 0x0
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
const/16 v16, 0x0
2019-10-01 14:15:45 +00:00
2019-12-06 03:29:40 +00:00
const/16 v17, 0x0
2019-10-01 14:15:45 +00:00
2020-01-02 21:43:52 +00:00
const/16 v18, 0x0
const/16 v19, 0x1fc0
2019-10-01 14:15:45 +00:00
2020-01-02 21:43:52 +00:00
const/16 v20, 0x0
2019-10-01 14:15:45 +00:00
2020-01-02 21:43:52 +00:00
invoke-static/range {v5 .. v20}, Lcom/discord/widgets/notice/WidgetNoticeDialog$Companion;->show$default(Lcom/discord/widgets/notice/WidgetNoticeDialog$Companion;Landroidx/fragment/app/FragmentManager;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lcom/discord/stores/StoreNotices$Dialog$Type;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/String;IILjava/lang/Object;)V
2019-10-01 14:15:45 +00:00
:goto_0
return-void
.end method