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

125 lines
3.3 KiB
Smali
Raw Normal View History

2020-03-10 23:21:53 +00:00
.class public final Le/a/j/h0;
.super Lw/u/b/k;
.source "OverlayVoiceSelectorBubbleDialog.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function4;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lw/u/b/k;",
"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:Le/a/j/i0;
# direct methods
.method public constructor <init>(Le/a/j/i0;Lcom/discord/widgets/user/search/WidgetGlobalSearchModel;)V
.locals 0
iput-object p1, p0, Le/a/j/h0;->this$0:Le/a/j/i0;
iput-object p2, p0, Le/a/j/h0;->$searchModel$inlined:Lcom/discord/widgets/user/search/WidgetGlobalSearchModel;
const/4 p1, 0x4
invoke-direct {p0, p1}, Lw/u/b/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public final a(Landroid/view/View;Lcom/discord/widgets/user/search/WidgetGlobalSearchModel$ItemDataPayload;)V
.locals 3
const/4 v0, 0x0
if-eqz p1, :cond_2
if-eqz p2, :cond_1
instance-of v0, p2, Lcom/discord/widgets/user/search/WidgetGlobalSearchModel$ItemChannel;
if-eqz v0, :cond_0
sget-object v0, Lcom/discord/app/DiscordConnectService;->d:Lcom/discord/app/DiscordConnectService$a;
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object p1
const-string v1, "view.context"
invoke-static {p1, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p2, Lcom/discord/widgets/user/search/WidgetGlobalSearchModel$ItemChannel;
invoke-virtual {p2}, Lcom/discord/widgets/user/search/WidgetGlobalSearchModel$ItemChannel;->getChannel()Lcom/discord/models/domain/ModelChannel;
move-result-object p2
invoke-virtual {p2}, Lcom/discord/models/domain/ModelChannel;->getId()J
move-result-wide v1
invoke-virtual {v0, p1, v1, v2}, Lcom/discord/app/DiscordConnectService$a;->a(Landroid/content/Context;J)V
iget-object p1, p0, Le/a/j/h0;->this$0:Le/a/j/i0;
invoke-virtual {p1}, Le/a/j/n;->d()V
:cond_0
return-void
:cond_1
const-string p1, "data"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_2
const-string p1, "view"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.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}, Le/a/j/h0;->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