apkfuckery/com.discord/smali/f/a/k/o$d.smali

114 lines
3.1 KiB
Smali
Raw Normal View History

2020-04-17 17:35:24 +00:00
.class public final Lf/a/k/o$d;
2020-04-17 19:35:49 +00:00
.super Ly/u/b/k;
2020-01-22 01:17:22 +00:00
.source "OverlayMenuView.kt"
2019-12-06 03:29:40 +00:00
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2020-04-17 17:35:24 +00:00
value = Lf/a/k/o;->onClick(Landroid/view/View;)V
2019-12-06 03:29:40 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
2020-04-17 19:35:49 +00:00
"Ly/u/b/k;",
2019-12-06 03:29:40 +00:00
"Lkotlin/jvm/functions/Function1<",
2020-01-22 01:17:22 +00:00
"Lcom/discord/models/domain/ModelInvite;",
2019-12-06 03:29:40 +00:00
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
2020-04-17 17:35:24 +00:00
.field public final synthetic this$0:Lf/a/k/o;
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/o;)V
2019-12-06 03:29:40 +00:00
.locals 0
2020-04-17 17:35:24 +00:00
iput-object p1, p0, Lf/a/k/o$d;->this$0:Lf/a/k/o;
2019-12-06 03:29:40 +00:00
const/4 p1, 0x1
2020-04-17 19:35:49 +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
# virtual methods
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
2020-01-22 01:17:22 +00:00
check-cast p1, Lcom/discord/models/domain/ModelInvite;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-virtual {p0, p1}, Lf/a/k/o$d;->invoke(Lcom/discord/models/domain/ModelInvite;)V
2019-12-06 03:29:40 +00:00
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
2020-01-22 01:17:22 +00:00
.method public final invoke(Lcom/discord/models/domain/ModelInvite;)V
.locals 3
const-string v0, "Mobile Voice Overlay"
invoke-static {p1, v0}, Lcom/discord/utilities/analytics/AnalyticsTracker;->inviteCopied(Lcom/discord/models/domain/ModelInvite;Ljava/lang/String;)V
2020-04-17 17:35:24 +00:00
iget-object v0, p0, Lf/a/k/o$d;->this$0:Lf/a/k/o;
2020-01-22 01:17:22 +00:00
2020-04-17 17:35:24 +00:00
iget-object v0, v0, Lf/a/k/o;->d:Lcom/discord/views/OverlayMenuView;
2020-01-22 01:17:22 +00:00
invoke-virtual {v0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
2019-12-06 03:29:40 +00:00
move-result-object v0
2020-01-22 01:17:22 +00:00
const-string v1, "context"
2020-04-17 19:35:49 +00:00
invoke-static {v0, v1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-01-22 01:17:22 +00:00
2020-04-17 17:35:24 +00:00
iget-object v1, p0, Lf/a/k/o$d;->this$0:Lf/a/k/o;
2020-01-22 01:17:22 +00:00
2020-04-17 17:35:24 +00:00
iget-object v1, v1, Lf/a/k/o;->d:Lcom/discord/views/OverlayMenuView;
2019-12-06 03:29:40 +00:00
2020-01-22 01:17:22 +00:00
invoke-virtual {v1}, Landroid/widget/LinearLayout;->getResources()Landroid/content/res/Resources;
move-result-object v1
const-string v2, "https://discord.gg"
invoke-virtual {p1, v1, v2}, Lcom/discord/models/domain/ModelInvite;->toLink(Landroid/content/res/Resources;Ljava/lang/String;)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object p1
2020-01-22 01:17:22 +00:00
const-string v1, "invite.toLink(resources, BuildConfig.HOST_INVITE)"
2019-12-06 03:29:40 +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
2019-12-06 03:29:40 +00:00
2020-04-18 17:44:22 +00:00
const v1, 0x7f120bfe
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
invoke-static {v0, p1, v1}, Lf/a/b/j;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V
2020-01-22 01:17:22 +00:00
2020-04-17 17:35:24 +00:00
iget-object p1, p0, Lf/a/k/o$d;->this$0:Lf/a/k/o;
2020-01-22 01:17:22 +00:00
2020-04-17 17:35:24 +00:00
iget-object p1, p1, Lf/a/k/o;->d:Lcom/discord/views/OverlayMenuView;
2020-01-22 01:17:22 +00:00
invoke-virtual {p1}, Lcom/discord/views/OverlayMenuView;->getOnDismissRequested$app_productionDiscordExternalRelease()Lkotlin/jvm/functions/Function0;
move-result-object p1
2019-12-06 03:29:40 +00:00
2020-01-22 01:17:22 +00:00
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
return-void
.end method