apkfuckery/com.discord/smali/l.smali

95 lines
2.5 KiB
Smali
Raw Normal View History

2020-11-16 01:00:50 +00:00
.class public final Ll;
.super Ljava/lang/Object;
.source "java-style lambda group"
# interfaces
.implements Landroid/view/View$OnClickListener;
# instance fields
.field public final synthetic d:I
.field public final synthetic e:Ljava/lang/Object;
# direct methods
.method public constructor <init>(ILjava/lang/Object;)V
.locals 0
iput p1, p0, Ll;->d:I
iput-object p2, p0, Ll;->e:Ljava/lang/Object;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 2
iget p1, p0, Ll;->d:I
if-eqz p1, :cond_1
const/4 v0, 0x1
if-ne p1, v0, :cond_0
iget-object p1, p0, Ll;->e:Ljava/lang/Object;
check-cast p1, Lcom/discord/views/OverlayMenuView;
invoke-virtual {p1}, Lcom/discord/views/OverlayMenuView;->getOnDismissRequested$app_productionDiscordExternalRelease()Lkotlin/jvm/functions/Function0;
move-result-object p1
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getVoiceChannelSelected()Lcom/discord/stores/StoreVoiceChannelSelected;
move-result-object p1
invoke-virtual {p1}, Lcom/discord/stores/StoreVoiceChannelSelected;->clear()V
return-void
:cond_0
const/4 p1, 0x0
throw p1
:cond_1
sget-object p1, Lcom/discord/utilities/voice/DiscordOverlayService;->Companion:Lcom/discord/utilities/voice/DiscordOverlayService$Companion;
iget-object v0, p0, Ll;->e:Ljava/lang/Object;
check-cast v0, Lcom/discord/views/OverlayMenuView;
invoke-virtual {v0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
move-result-object v0
const-string v1, "context"
invoke-static {v0, v1}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1, v0}, Lcom/discord/utilities/voice/DiscordOverlayService$Companion;->launchForVoiceChannelSelect(Landroid/content/Context;)V
iget-object p1, p0, Ll;->e:Ljava/lang/Object;
check-cast p1, Lcom/discord/views/OverlayMenuView;
invoke-virtual {p1}, Lcom/discord/views/OverlayMenuView;->getOnDismissRequested$app_productionDiscordExternalRelease()Lkotlin/jvm/functions/Function0;
move-result-object p1
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
return-void
.end method