apkfuckery/com.discord/smali/com/discord/widgets/channels/WidgetGroupInviteFriends$Co...

131 lines
3.2 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public final Lcom/discord/widgets/channels/WidgetGroupInviteFriends$Companion;
.super Ljava/lang/Object;
.source "WidgetGroupInviteFriends.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/discord/widgets/channels/WidgetGroupInviteFriends;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>()V
2019-07-24 11:27:29 +00:00
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
invoke-direct {p0}, Lcom/discord/widgets/channels/WidgetGroupInviteFriends$Companion;-><init>()V
return-void
.end method
# virtual methods
2020-01-31 00:34:35 +00:00
.method public final launch(Landroid/content/Context;JLjava/lang/String;)V
.locals 8
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-07-24 11:27:29 +00:00
2020-01-31 00:34:35 +00:00
if-eqz p1, :cond_1
2019-07-24 11:27:29 +00:00
2020-01-31 00:34:35 +00:00
if-eqz p4, :cond_0
2019-07-24 11:27:29 +00:00
2020-03-04 23:10:59 +00:00
const-string v0, "DM Group Add"
2019-12-06 03:29:40 +00:00
2020-03-04 23:10:59 +00:00
invoke-static {v0, p4}, Lcom/discord/utilities/analytics/AnalyticsTracker;->openModal(Ljava/lang/String;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
2020-01-31 00:34:35 +00:00
sget-object p4, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
2019-12-06 03:29:40 +00:00
2020-01-31 00:34:35 +00:00
invoke-virtual {p4}, Lcom/discord/stores/StoreStream$Companion;->getChannelsSelected()Lcom/discord/stores/StoreChannelsSelected;
2019-12-06 03:29:40 +00:00
2020-01-31 00:34:35 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2020-01-31 00:34:35 +00:00
const-wide/16 v1, 0x0
2019-07-24 11:27:29 +00:00
2020-01-31 00:34:35 +00:00
const/4 v5, 0x0
2019-07-24 11:27:29 +00:00
2020-01-31 00:34:35 +00:00
const/4 v6, 0x4
2019-07-24 11:27:29 +00:00
2020-01-31 00:34:35 +00:00
const/4 v7, 0x0
2019-07-24 11:27:29 +00:00
2020-01-31 00:34:35 +00:00
move-wide v3, p2
2019-07-24 11:27:29 +00:00
2020-01-31 00:34:35 +00:00
invoke-static/range {v0 .. v7}, Lcom/discord/stores/StoreChannelsSelected;->set$default(Lcom/discord/stores/StoreChannelsSelected;JJIILjava/lang/Object;)V
2019-07-24 11:27:29 +00:00
2020-01-31 00:34:35 +00:00
new-instance p4, Landroid/content/Intent;
2019-07-24 11:27:29 +00:00
2020-01-31 00:34:35 +00:00
invoke-direct {p4}, Landroid/content/Intent;-><init>()V
2019-07-24 11:27:29 +00:00
2020-01-31 00:34:35 +00:00
const-string v0, "INTENT_EXTRA_CHANNEL_ID"
2019-07-24 11:27:29 +00:00
2020-01-31 00:34:35 +00:00
invoke-virtual {p4, v0, p2, p3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;J)Landroid/content/Intent;
2019-07-24 11:27:29 +00:00
2020-01-31 00:34:35 +00:00
const-class p2, Lcom/discord/widgets/channels/WidgetGroupInviteFriends;
2019-07-24 11:27:29 +00:00
2020-03-03 02:12:30 +00:00
invoke-static {p1, p2, p4}, Le/a/b/i;->b(Landroid/content/Context;Ljava/lang/Class;Landroid/content/Intent;)V
2019-07-24 11:27:29 +00:00
2020-01-31 00:34:35 +00:00
return-void
2019-07-24 11:27:29 +00:00
2020-01-31 00:34:35 +00:00
:cond_0
const-string p1, "source"
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2020-01-31 00:34:35 +00:00
throw v0
:cond_1
const-string p1, "context"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2020-01-31 00:34:35 +00:00
throw v0
.end method
.method public final launch(Landroid/content/Context;Ljava/lang/String;)V
2020-03-04 23:10:59 +00:00
.locals 2
2020-01-31 00:34:35 +00:00
const/4 v0, 0x0
if-eqz p1, :cond_1
if-eqz p2, :cond_0
2020-03-04 23:10:59 +00:00
const-string v1, "DM Group Create"
2020-01-31 00:34:35 +00:00
2020-03-04 23:10:59 +00:00
invoke-static {v1, p2}, Lcom/discord/utilities/analytics/AnalyticsTracker;->openModal(Ljava/lang/String;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
const-class p2, Lcom/discord/widgets/channels/WidgetGroupInviteFriends;
2020-01-31 00:34:35 +00:00
const/4 v1, 0x4
2020-03-03 02:12:30 +00:00
invoke-static {p1, p2, v0, v1}, Le/a/b/i;->a(Landroid/content/Context;Ljava/lang/Class;Landroid/content/Intent;I)V
2019-07-24 11:27:29 +00:00
return-void
2019-12-06 03:29:40 +00:00
:cond_0
2020-01-31 00:34:35 +00:00
const-string p1, "source"
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
2020-01-31 00:34:35 +00:00
throw v0
2019-12-18 07:41:41 +00:00
2020-01-31 00:34:35 +00:00
:cond_1
const-string p1, "context"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2020-01-31 00:34:35 +00:00
throw v0
2019-07-24 11:27:29 +00:00
.end method