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