apkfuckery/com.discord/smali/com/discord/widgets/user/search/WidgetGlobalSearch$configur...

162 lines
4.7 KiB
Smali

.class public final Lcom/discord/widgets/user/search/WidgetGlobalSearch$configureUI$1;
.super Lw/u/b/k;
.source "WidgetGlobalSearch.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function3;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/user/search/WidgetGlobalSearch;->configureUI(Lcom/discord/widgets/user/search/WidgetGlobalSearchModel;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lw/u/b/k;",
"Lkotlin/jvm/functions/Function3<",
"Ljava/lang/Integer;",
"Ljava/lang/Integer;",
"Lcom/discord/widgets/user/search/WidgetGlobalSearchGuildsModel$Item;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field public final synthetic this$0:Lcom/discord/widgets/user/search/WidgetGlobalSearch;
# direct methods
.method public constructor <init>(Lcom/discord/widgets/user/search/WidgetGlobalSearch;)V
.locals 0
iput-object p1, p0, Lcom/discord/widgets/user/search/WidgetGlobalSearch$configureUI$1;->this$0:Lcom/discord/widgets/user/search/WidgetGlobalSearch;
const/4 p1, 0x3
invoke-direct {p0, p1}, Lw/u/b/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Number;
invoke-virtual {p1}, Ljava/lang/Number;->intValue()I
move-result p1
check-cast p2, Ljava/lang/Number;
invoke-virtual {p2}, Ljava/lang/Number;->intValue()I
move-result p2
check-cast p3, Lcom/discord/widgets/user/search/WidgetGlobalSearchGuildsModel$Item;
invoke-virtual {p0, p1, p2, p3}, Lcom/discord/widgets/user/search/WidgetGlobalSearch$configureUI$1;->invoke(IILcom/discord/widgets/user/search/WidgetGlobalSearchGuildsModel$Item;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(IILcom/discord/widgets/user/search/WidgetGlobalSearchGuildsModel$Item;)V
.locals 10
if-eqz p3, :cond_3
const/4 p2, 0x2
const-string v0, "requireFragmentManager()"
if-eq p1, p2, :cond_2
const/4 p2, 0x3
if-eq p1, p2, :cond_0
goto :goto_1
:cond_0
sget-object v1, Lcom/discord/widgets/guilds/profile/WidgetGuildProfileSheetV2;->Companion:Lcom/discord/widgets/guilds/profile/WidgetGuildProfileSheetV2$Companion;
iget-object p1, p0, Lcom/discord/widgets/user/search/WidgetGlobalSearch$configureUI$1;->this$0:Lcom/discord/widgets/user/search/WidgetGlobalSearch;
invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->requireFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object v2
invoke-static {v2, v0}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v3, 0x0
invoke-virtual {p3}, Lcom/discord/widgets/user/search/WidgetGlobalSearchGuildsModel$Item;->getGuild()Lcom/discord/models/domain/ModelGuild;
move-result-object p1
if-eqz p1, :cond_1
invoke-virtual {p1}, Lcom/discord/models/domain/ModelGuild;->getId()J
move-result-wide p1
goto :goto_0
:cond_1
const-wide/16 p1, 0x0
:goto_0
move-wide v4, p1
const-wide/16 v6, 0x0
const/16 v8, 0x8
const/4 v9, 0x0
invoke-static/range {v1 .. v9}, Lcom/discord/widgets/guilds/profile/WidgetGuildProfileSheetV2$Companion;->show$default(Lcom/discord/widgets/guilds/profile/WidgetGuildProfileSheetV2$Companion;Landroidx/fragment/app/FragmentManager;ZJJILjava/lang/Object;)V
goto :goto_1
:cond_2
sget-object p1, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->Companion:Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Companion;
iget-object p2, p0, Lcom/discord/widgets/user/search/WidgetGlobalSearch$configureUI$1;->this$0:Lcom/discord/widgets/user/search/WidgetGlobalSearch;
invoke-virtual {p2}, Landroidx/fragment/app/Fragment;->requireFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object p2
invoke-static {p2, v0}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p3}, Lcom/discord/widgets/user/search/WidgetGlobalSearchGuildsModel$Item;->getId()J
move-result-wide v0
invoke-virtual {p1, p2, v0, v1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Companion;->show(Landroidx/fragment/app/FragmentManager;J)V
:goto_1
return-void
:cond_3
const-string p1, "data"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method