apkfuckery/com.discord/smali/f/a/k/b0.smali

125 lines
3.3 KiB
Smali
Raw Normal View History

2020-04-17 17:35:24 +00:00
.class public final Lf/a/k/b0;
2020-04-23 18:39:17 +00:00
.super Ly/u/b/k;
2020-03-19 04:19:10 +00:00
.source "OverlayVoiceSelectorBubbleDialog.kt"
2019-12-06 03:29:40 +00:00
# interfaces
2020-04-23 18:39:17 +00:00
.implements Lkotlin/jvm/functions/Function4;
2019-12-06 03:29:40 +00:00
2020-01-28 00:59:01 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
2020-04-23 18:39:17 +00:00
"Ly/u/b/k;",
"Lkotlin/jvm/functions/Function4<",
"Landroid/view/View;",
"Ljava/lang/Integer;",
2020-03-19 04:19:10 +00:00
"Lcom/discord/widgets/user/search/WidgetGlobalSearchModel$ItemDataPayload;",
2020-04-23 18:39:17 +00:00
"Ljava/lang/Boolean;",
"Lkotlin/Unit;",
2020-01-28 00:59:01 +00:00
">;"
}
.end annotation
2019-12-06 03:29:40 +00:00
2020-03-19 04:19:10 +00:00
# instance fields
2020-04-23 18:39:17 +00:00
.field public final synthetic $searchModel$inlined:Lcom/discord/widgets/user/search/WidgetGlobalSearchModel;
2020-03-19 04:19:10 +00:00
2020-04-23 18:39:17 +00:00
.field public final synthetic this$0:Lf/a/k/c0;
2019-12-06 03:29:40 +00:00
# direct methods
2020-04-23 18:39:17 +00:00
.method public constructor <init>(Lf/a/k/c0;Lcom/discord/widgets/user/search/WidgetGlobalSearchModel;)V
2020-03-19 04:19:10 +00:00
.locals 0
2020-04-23 18:39:17 +00:00
iput-object p1, p0, Lf/a/k/b0;->this$0:Lf/a/k/c0;
2020-01-22 01:17:22 +00:00
2020-04-23 18:39:17 +00:00
iput-object p2, p0, Lf/a/k/b0;->$searchModel$inlined:Lcom/discord/widgets/user/search/WidgetGlobalSearchModel;
2020-01-22 01:17:22 +00:00
2020-04-23 18:39:17 +00:00
const/4 p1, 0x4
invoke-direct {p0, p1}, Ly/u/b/k;-><init>(I)V
2019-12-06 03:29:40 +00:00
return-void
.end method
2020-03-19 04:19:10 +00:00
# virtual methods
2020-04-23 18:39:17 +00:00
.method public final a(Landroid/view/View;Lcom/discord/widgets/user/search/WidgetGlobalSearchModel$ItemDataPayload;)V
.locals 3
2020-01-22 01:17:22 +00:00
2020-03-19 04:19:10 +00:00
const/4 v0, 0x0
2020-01-22 01:17:22 +00:00
2020-03-19 04:19:10 +00:00
if-eqz p1, :cond_2
2020-01-22 01:17:22 +00:00
2020-03-19 04:19:10 +00:00
if-eqz p2, :cond_1
2020-01-22 01:17:22 +00:00
2020-04-23 18:39:17 +00:00
instance-of v0, p2, Lcom/discord/widgets/user/search/WidgetGlobalSearchModel$ItemChannel;
2019-12-06 03:29:40 +00:00
2020-04-23 18:39:17 +00:00
if-eqz v0, :cond_0
2020-04-10 14:32:51 +00:00
2020-04-23 18:39:17 +00:00
sget-object v0, Lcom/discord/app/DiscordConnectService;->d:Lcom/discord/app/DiscordConnectService$a;
2020-03-14 02:12:46 +00:00
2020-04-23 18:39:17 +00:00
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
2019-12-06 03:29:40 +00:00
2020-04-23 18:39:17 +00:00
move-result-object p1
2020-03-19 04:19:10 +00:00
2020-04-23 18:39:17 +00:00
const-string v1, "view.context"
2020-04-23 17:38:59 +00:00
2020-04-23 18:39:17 +00:00
invoke-static {p1, v1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
2020-04-23 18:39:17 +00:00
check-cast p2, Lcom/discord/widgets/user/search/WidgetGlobalSearchModel$ItemChannel;
2019-12-06 03:29:40 +00:00
2020-04-23 18:39:17 +00:00
invoke-virtual {p2}, Lcom/discord/widgets/user/search/WidgetGlobalSearchModel$ItemChannel;->getChannel()Lcom/discord/models/domain/ModelChannel;
2020-04-10 14:32:51 +00:00
2020-04-23 18:39:17 +00:00
move-result-object p2
2020-04-10 14:32:51 +00:00
2020-04-23 18:39:17 +00:00
invoke-virtual {p2}, Lcom/discord/models/domain/ModelChannel;->getId()J
2020-04-10 14:32:51 +00:00
2020-04-23 18:39:17 +00:00
move-result-wide v1
2020-04-23 17:38:59 +00:00
2020-04-23 18:39:17 +00:00
invoke-virtual {v0, p1, v1, v2}, Lcom/discord/app/DiscordConnectService$a;->a(Landroid/content/Context;J)V
2020-04-23 17:38:59 +00:00
2020-04-23 18:39:17 +00:00
iget-object p1, p0, Lf/a/k/b0;->this$0:Lf/a/k/c0;
2020-04-23 17:38:59 +00:00
2020-04-23 18:39:17 +00:00
invoke-virtual {p1}, Lf/a/k/h;->d()V
2019-12-06 03:29:40 +00:00
2020-03-19 04:19:10 +00:00
:cond_0
return-void
2019-12-06 03:29:40 +00:00
2020-03-19 04:19:10 +00:00
:cond_1
2020-04-23 18:39:17 +00:00
const-string p1, "data"
2020-01-22 01:17:22 +00:00
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
2020-03-19 04:19:10 +00:00
throw v0
2019-12-06 03:29:40 +00:00
2020-03-19 04:19:10 +00:00
:cond_2
2020-04-23 18:39:17 +00:00
const-string p1, "view"
2020-03-14 02:12:46 +00:00
2020-04-17 19:35:49 +00:00
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
2020-03-19 04:19:10 +00:00
throw v0
2020-01-22 01:17:22 +00:00
.end method
2020-04-23 18:39:17 +00:00
.method public bridge synthetic 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
invoke-virtual {p0, p1, p3}, Lf/a/k/b0;->a(Landroid/view/View;Lcom/discord/widgets/user/search/WidgetGlobalSearchModel$ItemDataPayload;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method