272 lines
8.8 KiB
Smali
272 lines
8.8 KiB
Smali
.class public final Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModelFactory$observeStoreState$3$2;
|
|
.super Lt/u/b/k;
|
|
.source "WidgetUserSheetViewModelFactory.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function13;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModelFactory$observeStoreState$3;->call(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModelFactory$BootstrapData;)Lrx/Observable;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lt/u/b/k;",
|
|
"Lkotlin/jvm/functions/Function13<",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/Long;",
|
|
"Lcom/discord/models/domain/ModelGuildMember$Computed;",
|
|
">;",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/Long;",
|
|
"Lcom/discord/models/domain/ModelGuildRole;",
|
|
">;",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/Long;",
|
|
"+",
|
|
"Lcom/discord/models/domain/ModelVoice$State;",
|
|
">;",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/Long;",
|
|
"+",
|
|
"Lcom/discord/models/domain/ModelVoice$State;",
|
|
">;",
|
|
"Ljava/lang/Boolean;",
|
|
"Ljava/lang/Float;",
|
|
"Lcom/discord/widgets/user/presence/ModelRichPresence;",
|
|
"Lcom/discord/models/domain/ModelGuild;",
|
|
"Ljava/lang/Integer;",
|
|
"Lcom/discord/utilities/streams/StreamContext;",
|
|
"Lcom/discord/models/domain/ModelUserProfile;",
|
|
"Ljava/lang/Integer;",
|
|
"Ljava/lang/String;",
|
|
"Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
.field public final synthetic $me:Lcom/discord/models/domain/ModelUser;
|
|
|
|
.field public final synthetic $user:Lcom/discord/models/domain/ModelUser;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelChannel;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModelFactory$observeStoreState$3$2;->$user:Lcom/discord/models/domain/ModelUser;
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModelFactory$observeStoreState$3$2;->$me:Lcom/discord/models/domain/ModelUser;
|
|
|
|
iput-object p3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModelFactory$observeStoreState$3$2;->$channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
const/16 p1, 0xd
|
|
|
|
invoke-direct {p0, p1}, Lt/u/b/k;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final invoke(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;ZFLcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/models/domain/ModelGuild;Ljava/lang/Integer;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;Ljava/lang/Integer;Ljava/lang/String;)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;
|
|
.locals 19
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/Long;",
|
|
"Lcom/discord/models/domain/ModelGuildMember$Computed;",
|
|
">;",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/Long;",
|
|
"Lcom/discord/models/domain/ModelGuildRole;",
|
|
">;",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/Long;",
|
|
"+",
|
|
"Lcom/discord/models/domain/ModelVoice$State;",
|
|
">;",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/Long;",
|
|
"+",
|
|
"Lcom/discord/models/domain/ModelVoice$State;",
|
|
">;ZF",
|
|
"Lcom/discord/widgets/user/presence/ModelRichPresence;",
|
|
"Lcom/discord/models/domain/ModelGuild;",
|
|
"Ljava/lang/Integer;",
|
|
"Lcom/discord/utilities/streams/StreamContext;",
|
|
"Lcom/discord/models/domain/ModelUserProfile;",
|
|
"Ljava/lang/Integer;",
|
|
"Ljava/lang/String;",
|
|
")",
|
|
"Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;"
|
|
}
|
|
.end annotation
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz p3, :cond_2
|
|
|
|
if-eqz p4, :cond_1
|
|
|
|
if-eqz p11, :cond_0
|
|
|
|
new-instance v1, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;
|
|
|
|
move-object v2, v1
|
|
|
|
iget-object v3, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModelFactory$observeStoreState$3$2;->$user:Lcom/discord/models/domain/ModelUser;
|
|
|
|
iget-object v4, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModelFactory$observeStoreState$3$2;->$me:Lcom/discord/models/domain/ModelUser;
|
|
|
|
iget-object v5, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModelFactory$observeStoreState$3$2;->$channel:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
const-string v6, "computedMembers"
|
|
|
|
move-object/from16 v7, p1
|
|
|
|
invoke-static {v7, v6}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v6, "guildRoles"
|
|
|
|
move-object/from16 v8, p2
|
|
|
|
invoke-static {v8, v6}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
move-object/from16 v6, p1
|
|
|
|
move-object/from16 v7, p2
|
|
|
|
move-object/from16 v8, p3
|
|
|
|
move-object/from16 v9, p4
|
|
|
|
move/from16 v10, p5
|
|
|
|
move/from16 v11, p6
|
|
|
|
move-object/from16 v12, p7
|
|
|
|
move-object/from16 v13, p8
|
|
|
|
move-object/from16 v14, p9
|
|
|
|
move-object/from16 v15, p10
|
|
|
|
move-object/from16 v16, p11
|
|
|
|
move-object/from16 v17, p12
|
|
|
|
move-object/from16 v18, p13
|
|
|
|
invoke-direct/range {v2 .. v18}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;-><init>(Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelUser;Lcom/discord/models/domain/ModelChannel;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;ZFLcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/models/domain/ModelGuild;Ljava/lang/Integer;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;Ljava/lang/Integer;Ljava/lang/String;)V
|
|
|
|
return-object v1
|
|
|
|
:cond_0
|
|
const-string v2, "userProfile"
|
|
|
|
invoke-static {v2}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v1
|
|
|
|
:cond_1
|
|
const-string v2, "currentChannelVoiceStates"
|
|
|
|
invoke-static {v2}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v1
|
|
|
|
:cond_2
|
|
const-string v2, "mySelectedVoiceChannelVoiceStates"
|
|
|
|
invoke-static {v2}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public bridge synthetic invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 14
|
|
|
|
move-object v1, p1
|
|
|
|
check-cast v1, Ljava/util/Map;
|
|
|
|
move-object/from16 v2, p2
|
|
|
|
check-cast v2, Ljava/util/Map;
|
|
|
|
move-object/from16 v3, p3
|
|
|
|
check-cast v3, Ljava/util/Map;
|
|
|
|
move-object/from16 v4, p4
|
|
|
|
check-cast v4, Ljava/util/Map;
|
|
|
|
move-object/from16 v0, p5
|
|
|
|
check-cast v0, Ljava/lang/Boolean;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result v5
|
|
|
|
move-object/from16 v0, p6
|
|
|
|
check-cast v0, Ljava/lang/Number;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Number;->floatValue()F
|
|
|
|
move-result v6
|
|
|
|
move-object/from16 v7, p7
|
|
|
|
check-cast v7, Lcom/discord/widgets/user/presence/ModelRichPresence;
|
|
|
|
move-object/from16 v8, p8
|
|
|
|
check-cast v8, Lcom/discord/models/domain/ModelGuild;
|
|
|
|
move-object/from16 v9, p9
|
|
|
|
check-cast v9, Ljava/lang/Integer;
|
|
|
|
move-object/from16 v10, p10
|
|
|
|
check-cast v10, Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
move-object/from16 v11, p11
|
|
|
|
check-cast v11, Lcom/discord/models/domain/ModelUserProfile;
|
|
|
|
move-object/from16 v12, p12
|
|
|
|
check-cast v12, Ljava/lang/Integer;
|
|
|
|
move-object/from16 v13, p13
|
|
|
|
check-cast v13, Ljava/lang/String;
|
|
|
|
move-object v0, p0
|
|
|
|
invoke-virtual/range {v0 .. v13}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModelFactory$observeStoreState$3$2;->invoke(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;ZFLcom/discord/widgets/user/presence/ModelRichPresence;Lcom/discord/models/domain/ModelGuild;Ljava/lang/Integer;Lcom/discord/utilities/streams/StreamContext;Lcom/discord/models/domain/ModelUserProfile;Ljava/lang/Integer;Ljava/lang/String;)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$StoreState;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|