apkfuckery/com.discord/smali/e/a/k/n.smali

107 lines
3.1 KiB
Smali
Raw Normal View History

2020-04-27 20:53:11 +00:00
.class public final Le/a/k/n;
2020-04-25 00:39:25 +00:00
.super Ljava/lang/Object;
2020-04-27 21:50:40 +00:00
.source "OverlayMenuView.kt"
2019-12-06 03:29:40 +00:00
# interfaces
2020-04-27 21:50:40 +00:00
.implements Landroid/view/View$OnClickListener;
2019-12-06 03:29:40 +00:00
2020-04-27 21:50:40 +00:00
# instance fields
.field public final synthetic d:Lcom/discord/views/OverlayMenuView;
2019-12-06 03:29:40 +00:00
2020-01-28 00:59:01 +00:00
# direct methods
2020-04-27 21:50:40 +00:00
.method public constructor <init>(Lcom/discord/views/OverlayMenuView;)V
2020-04-25 00:39:25 +00:00
.locals 0
2020-04-24 23:41:34 +00:00
2020-04-27 21:50:40 +00:00
iput-object p1, p0, Le/a/k/n;->d:Lcom/discord/views/OverlayMenuView;
2020-04-25 00:39:25 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-12-06 03:29:40 +00:00
2020-01-28 00:59:01 +00:00
return-void
.end method
2019-12-06 03:29:40 +00:00
2020-01-28 00:59:01 +00:00
# virtual methods
2020-04-27 21:50:40 +00:00
.method public final onClick(Landroid/view/View;)V
.locals 12
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
2020-03-19 04:19:10 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getVoiceChannelSelected()Lcom/discord/stores/StoreVoiceChannelSelected;
move-result-object p1
2020-03-19 04:19:10 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {p1}, Lcom/discord/stores/StoreVoiceChannelSelected;->getId()Lrx/Observable;
2020-03-19 04:19:10 +00:00
2020-04-23 18:39:17 +00:00
move-result-object p1
2020-03-19 04:19:10 +00:00
2020-04-27 21:50:40 +00:00
sget-object v0, Le/a/k/n$a;->d:Le/a/k/n$a;
invoke-virtual {p1, v0}, Lrx/Observable;->c(Lf0/l/i;)Lrx/Observable;
move-result-object v1
const-string p1, "StoreStream\n .g\u2026 .filter { it > 0 }"
2020-03-19 04:19:10 +00:00
2020-04-27 21:50:40 +00:00
invoke-static {v1, p1}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-04-10 14:32:51 +00:00
2020-04-27 21:50:40 +00:00
const-wide/16 v2, 0x3e8
const/4 v4, 0x0
const/4 v5, 0x2
const/4 v6, 0x0
invoke-static/range {v1 .. v6}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->takeSingleUntilTimeout$default(Lrx/Observable;JZILjava/lang/Object;)Lrx/Observable;
2020-04-10 14:32:51 +00:00
2020-04-25 00:39:25 +00:00
move-result-object p1
2020-04-10 14:32:51 +00:00
2020-04-27 21:50:40 +00:00
sget-object v0, Le/a/k/n$b;->d:Le/a/k/n$b;
2020-04-21 22:38:31 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {p1, v0}, Lrx/Observable;->k(Lf0/l/i;)Lrx/Observable;
2020-04-10 14:32:51 +00:00
2020-04-27 21:50:40 +00:00
move-result-object p1
2020-04-23 17:38:59 +00:00
2020-04-27 21:50:40 +00:00
const-string v0, "StoreStream\n .g\u2026te(channelId)\n }"
2020-04-23 17:38:59 +00:00
2020-04-27 21:50:40 +00:00
invoke-static {p1, v0}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Le/a/k/n;->d:Lcom/discord/views/OverlayMenuView;
const/4 v1, 0x0
const/4 v2, 0x2
2020-04-23 17:38:59 +00:00
2020-04-27 21:50:40 +00:00
invoke-static {p1, v0, v1, v2, v1}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui$default(Lrx/Observable;Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;ILjava/lang/Object;)Lrx/Observable;
2020-04-23 18:39:17 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-23 17:38:59 +00:00
2020-04-27 21:50:40 +00:00
iget-object p1, p0, Le/a/k/n;->d:Lcom/discord/views/OverlayMenuView;
2020-04-24 23:41:34 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
2020-04-24 23:41:34 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v4
2020-04-24 23:41:34 +00:00
2020-04-27 21:50:40 +00:00
new-instance v7, Le/a/k/n$c;
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {v7, p0}, Le/a/k/n$c;-><init>(Le/a/k/n;)V
2020-04-24 23:41:34 +00:00
2020-04-27 21:50:40 +00:00
new-instance v9, Le/a/k/n$d;
invoke-direct {v9, p0}, Le/a/k/n$d;-><init>(Le/a/k/n;)V
const/4 v5, 0x0
const/4 v8, 0x0
const/16 v10, 0x16
const/4 v11, 0x0
invoke-static/range {v3 .. v11}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
return-void
2019-12-06 03:29:40 +00:00
.end method