apkfuckery/com.discord/smali/e/a/j/b0.smali

125 lines
3.3 KiB
Smali
Raw Normal View History

2020-03-19 04:19:10 +00:00
.class public final Le/a/j/b0;
2020-03-27 22:23:51 +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-03-19 04:19:10 +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-03-27 22:23:51 +00:00
"Ly/u/b/k;",
2020-03-19 04:19:10 +00:00
"Lkotlin/jvm/functions/Function4<",
"Landroid/view/View;",
"Ljava/lang/Integer;",
"Lcom/discord/widgets/user/search/WidgetGlobalSearchModel$ItemDataPayload;",
2020-01-28 00:59:01 +00:00
"Ljava/lang/Boolean;",
2020-03-19 04:19:10 +00:00
"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
.field public final synthetic $searchModel$inlined:Lcom/discord/widgets/user/search/WidgetGlobalSearchModel;
.field public final synthetic this$0:Le/a/j/c0;
2019-12-06 03:29:40 +00:00
# direct methods
2020-03-19 04:19:10 +00:00
.method public constructor <init>(Le/a/j/c0;Lcom/discord/widgets/user/search/WidgetGlobalSearchModel;)V
.locals 0
iput-object p1, p0, Le/a/j/b0;->this$0:Le/a/j/c0;
2020-01-22 01:17:22 +00:00
2020-03-19 04:19:10 +00:00
iput-object p2, p0, Le/a/j/b0;->$searchModel$inlined:Lcom/discord/widgets/user/search/WidgetGlobalSearchModel;
2020-01-22 01:17:22 +00:00
2020-03-19 04:19:10 +00:00
const/4 p1, 0x4
2020-01-22 01:17:22 +00:00
2020-03-27 22:23:51 +00:00
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
.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-03-19 04:19:10 +00:00
instance-of v0, p2, Lcom/discord/widgets/user/search/WidgetGlobalSearchModel$ItemChannel;
2020-01-22 01:17:22 +00:00
2020-03-19 04:19:10 +00:00
if-eqz v0, :cond_0
2019-12-06 03:29:40 +00:00
2020-03-19 04:19:10 +00:00
sget-object v0, Lcom/discord/app/DiscordConnectService;->d:Lcom/discord/app/DiscordConnectService$a;
2019-12-06 03:29:40 +00:00
2020-03-19 04:19:10 +00:00
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
2019-12-06 03:29:40 +00:00
2020-03-19 04:19:10 +00:00
move-result-object p1
2019-12-06 03:29:40 +00:00
2020-03-19 04:19:10 +00:00
const-string v1, "view.context"
2019-12-06 03:29:40 +00:00
2020-03-27 22:23:51 +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-03-19 04:19:10 +00:00
check-cast p2, Lcom/discord/widgets/user/search/WidgetGlobalSearchModel$ItemChannel;
2019-12-06 03:29:40 +00:00
2020-03-19 04:19:10 +00:00
invoke-virtual {p2}, Lcom/discord/widgets/user/search/WidgetGlobalSearchModel$ItemChannel;->getChannel()Lcom/discord/models/domain/ModelChannel;
2019-12-06 03:29:40 +00:00
2020-03-19 04:19:10 +00:00
move-result-object p2
2020-03-14 02:12:46 +00:00
2020-03-19 04:19:10 +00:00
invoke-virtual {p2}, Lcom/discord/models/domain/ModelChannel;->getId()J
2019-12-06 03:29:40 +00:00
2020-03-19 04:19:10 +00:00
move-result-wide v1
invoke-virtual {v0, p1, v1, v2}, Lcom/discord/app/DiscordConnectService$a;->a(Landroid/content/Context;J)V
2019-12-06 03:29:40 +00:00
2020-03-19 04:19:10 +00:00
iget-object p1, p0, Le/a/j/b0;->this$0:Le/a/j/c0;
2019-12-06 03:29:40 +00:00
2020-03-19 04:19:10 +00:00
invoke-virtual {p1}, Le/a/j/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
const-string p1, "data"
2020-01-22 01:17:22 +00:00
2020-03-27 22:23:51 +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
const-string p1, "view"
2020-03-14 02:12:46 +00:00
2020-03-27 22:23:51 +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
2019-12-06 03:29:40 +00:00
2020-03-19 04:19:10 +00:00
.method public bridge synthetic invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
2020-01-28 00:59:01 +00:00
.locals 0
2019-12-06 03:29:40 +00:00
2020-03-19 04:19:10 +00:00
check-cast p1, Landroid/view/View;
2020-01-22 01:17:22 +00:00
2020-03-19 04:19:10 +00:00
check-cast p2, Ljava/lang/Number;
2019-12-06 03:29:40 +00:00
2020-03-19 04:19:10 +00:00
invoke-virtual {p2}, Ljava/lang/Number;->intValue()I
2019-12-06 03:29:40 +00:00
2020-03-19 04:19:10 +00:00
check-cast p3, Lcom/discord/widgets/user/search/WidgetGlobalSearchModel$ItemDataPayload;
2019-12-06 03:29:40 +00:00
2020-03-19 04:19:10 +00:00
check-cast p4, Ljava/lang/Boolean;
2020-03-14 02:12:46 +00:00
2020-03-19 04:19:10 +00:00
invoke-virtual {p4}, Ljava/lang/Boolean;->booleanValue()Z
invoke-virtual {p0, p1, p3}, Le/a/j/b0;->a(Landroid/view/View;Lcom/discord/widgets/user/search/WidgetGlobalSearchModel$ItemDataPayload;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
2019-12-06 03:29:40 +00:00
2020-01-28 00:59:01 +00:00
return-object p1
2019-12-06 03:29:40 +00:00
.end method