apkfuckery/com.discord/smali/f/a/n/d0.smali

117 lines
3 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Lf/a/n/d0;
2020-07-22 00:04:40 +00:00
.super Li0/n/c/i;
2020-07-08 16:44:49 +00:00
.source "OverlayVoiceSelectorBubbleDialog.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function4;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
2020-07-22 00:04:40 +00:00
"Li0/n/c/i;",
2020-07-08 16:44:49 +00:00
"Lkotlin/jvm/functions/Function4<",
"Landroid/view/View;",
"Ljava/lang/Integer;",
"Lcom/discord/widgets/user/search/WidgetGlobalSearchModel$ItemDataPayload;",
"Ljava/lang/Boolean;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field public final synthetic $searchModel$inlined:Lcom/discord/widgets/user/search/WidgetGlobalSearchModel;
.field public final synthetic this$0:Lf/a/n/e0;
# direct methods
.method public constructor <init>(Lf/a/n/e0;Lcom/discord/widgets/user/search/WidgetGlobalSearchModel;)V
.locals 0
iput-object p1, p0, Lf/a/n/d0;->this$0:Lf/a/n/e0;
iput-object p2, p0, Lf/a/n/d0;->$searchModel$inlined:Lcom/discord/widgets/user/search/WidgetGlobalSearchModel;
const/4 p1, 0x4
2020-07-22 00:04:40 +00:00
invoke-direct {p0, p1}, Li0/n/c/i;-><init>(I)V
2020-07-08 16:44:49 +00:00
return-void
.end method
# virtual methods
.method public invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Landroid/view/View;
check-cast p2, Ljava/lang/Number;
invoke-virtual {p2}, Ljava/lang/Number;->intValue()I
check-cast p3, Lcom/discord/widgets/user/search/WidgetGlobalSearchModel$ItemDataPayload;
check-cast p4, Ljava/lang/Boolean;
invoke-virtual {p4}, Ljava/lang/Boolean;->booleanValue()Z
const/4 p2, 0x0
if-eqz p1, :cond_2
if-eqz p3, :cond_1
instance-of p2, p3, Lcom/discord/widgets/user/search/WidgetGlobalSearchModel$ItemChannel;
if-eqz p2, :cond_0
sget-object p2, Lcom/discord/app/DiscordConnectService;->d:Lcom/discord/app/DiscordConnectService$a;
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object p1
2020-07-22 00:04:40 +00:00
const-string p4, "view.context"
2020-07-08 16:44:49 +00:00
2020-07-22 00:04:40 +00:00
invoke-static {p1, p4}, Li0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
check-cast p3, Lcom/discord/widgets/user/search/WidgetGlobalSearchModel$ItemChannel;
invoke-virtual {p3}, Lcom/discord/widgets/user/search/WidgetGlobalSearchModel$ItemChannel;->getChannel()Lcom/discord/models/domain/ModelChannel;
move-result-object p3
invoke-virtual {p3}, Lcom/discord/models/domain/ModelChannel;->getId()J
move-result-wide p3
invoke-virtual {p2, p1, p3, p4}, Lcom/discord/app/DiscordConnectService$a;->b(Landroid/content/Context;J)V
iget-object p1, p0, Lf/a/n/d0;->this$0:Lf/a/n/e0;
invoke-virtual {p1}, Lf/a/n/i;->j()V
:cond_0
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
:cond_1
const-string p1, "data"
2020-07-22 00:04:40 +00:00
invoke-static {p1}, Li0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
throw p2
:cond_2
2020-07-22 00:04:40 +00:00
const-string p1, "view"
2020-07-08 16:44:49 +00:00
2020-07-22 00:04:40 +00:00
invoke-static {p1}, Li0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
throw p2
.end method