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

112 lines
2.6 KiB
Smali
Raw Normal View History

2020-04-08 16:24:01 +00:00
.class public final Le/a/k/t;
2020-04-10 14:32:51 +00:00
.super Ljava/lang/Object;
2019-07-31 00:08:31 +00:00
.source "OverlayMenuView.kt"
# interfaces
2020-04-10 14:32:51 +00:00
.implements Lg0/l/i;
2020-03-19 04:19:10 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
2020-04-10 14:32:51 +00:00
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lg0/l/i<",
"TT;",
"Lrx/Observable<",
"+TR;>;>;"
2020-03-19 04:19:10 +00:00
}
.end annotation
2019-07-31 00:08:31 +00:00
2020-04-10 14:32:51 +00:00
# static fields
.field public static final d:Le/a/k/t;
2019-07-31 00:08:31 +00:00
# direct methods
2020-04-10 14:32:51 +00:00
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Le/a/k/t;
2019-07-31 00:08:31 +00:00
2020-04-10 14:32:51 +00:00
invoke-direct {v0}, Le/a/k/t;-><init>()V
2020-03-19 04:19:10 +00:00
2020-04-10 14:32:51 +00:00
sput-object v0, Le/a/k/t;->d:Le/a/k/t;
return-void
.end method
.method public constructor <init>()V
.locals 0
2019-07-31 00:08:31 +00:00
2020-04-10 14:32:51 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-07-31 00:08:31 +00:00
return-void
.end method
# virtual methods
2020-04-10 14:32:51 +00:00
.method public call(Ljava/lang/Object;)Ljava/lang/Object;
2020-03-19 04:19:10 +00:00
.locals 4
2020-01-28 00:59:01 +00:00
2020-04-10 14:32:51 +00:00
check-cast p1, Lcom/discord/models/domain/ModelChannel;
2020-01-28 00:59:01 +00:00
2020-04-10 14:32:51 +00:00
if-nez p1, :cond_0
2020-01-28 00:59:01 +00:00
2020-04-10 14:32:51 +00:00
const/4 p1, 0x0
2020-01-28 00:59:01 +00:00
2020-04-10 14:32:51 +00:00
new-instance v0, Lg0/m/e/j;
2020-01-28 00:59:01 +00:00
2020-04-10 14:32:51 +00:00
invoke-direct {v0, p1}, Lg0/m/e/j;-><init>(Ljava/lang/Object;)V
2020-01-28 00:59:01 +00:00
2020-03-19 04:19:10 +00:00
goto :goto_0
2020-01-28 00:59:01 +00:00
2020-03-19 04:19:10 +00:00
:cond_0
2020-04-10 14:32:51 +00:00
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
2019-12-06 03:29:40 +00:00
2020-04-10 14:32:51 +00:00
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getRtcConnection()Lcom/discord/stores/StoreRtcConnection;
2019-07-31 00:08:31 +00:00
2020-03-19 04:19:10 +00:00
move-result-object v0
2019-07-31 00:08:31 +00:00
2020-04-10 14:32:51 +00:00
invoke-virtual {v0}, Lcom/discord/stores/StoreRtcConnection;->getQuality()Lrx/Observable;
2019-07-31 00:08:31 +00:00
2020-04-10 14:32:51 +00:00
move-result-object v0
2020-01-28 00:59:01 +00:00
2020-04-10 14:32:51 +00:00
sget-object v1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
2020-01-28 00:59:01 +00:00
2020-04-10 14:32:51 +00:00
invoke-virtual {v1}, Lcom/discord/stores/StoreStream$Companion;->getGuilds()Lcom/discord/stores/StoreGuilds;
2020-01-28 00:59:01 +00:00
2020-04-10 14:32:51 +00:00
move-result-object v1
2020-01-28 00:59:01 +00:00
2020-04-10 14:32:51 +00:00
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getGuildId()Ljava/lang/Long;
2019-07-31 00:08:31 +00:00
2020-04-10 14:32:51 +00:00
move-result-object v2
2020-01-28 00:59:01 +00:00
2020-04-10 14:32:51 +00:00
const-string v3, "channel.guildId"
2020-03-10 23:21:53 +00:00
2020-04-10 14:32:51 +00:00
invoke-static {v2, v3}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-01-28 00:59:01 +00:00
2020-04-10 14:32:51 +00:00
invoke-virtual {v2}, Ljava/lang/Long;->longValue()J
2020-01-28 00:59:01 +00:00
2020-04-10 14:32:51 +00:00
move-result-wide v2
2020-03-14 04:13:36 +00:00
2020-04-10 14:32:51 +00:00
invoke-virtual {v1, v2, v3}, Lcom/discord/stores/StoreGuilds;->observeGuild(J)Lrx/Observable;
2020-01-28 00:59:01 +00:00
2020-04-10 14:32:51 +00:00
move-result-object v1
2020-01-28 00:59:01 +00:00
2020-04-10 14:32:51 +00:00
new-instance v2, Le/a/k/s;
2020-03-10 23:21:53 +00:00
2020-04-10 14:32:51 +00:00
invoke-direct {v2, p1}, Le/a/k/s;-><init>(Lcom/discord/models/domain/ModelChannel;)V
2020-03-10 23:21:53 +00:00
2020-04-10 14:32:51 +00:00
invoke-static {v0, v1, v2}, Lrx/Observable;->a(Lrx/Observable;Lrx/Observable;Lrx/functions/Func2;)Lrx/Observable;
2020-03-14 04:13:36 +00:00
2020-04-10 14:32:51 +00:00
move-result-object v0
2020-03-14 04:13:36 +00:00
2020-04-10 14:32:51 +00:00
:goto_0
return-object v0
2020-01-28 00:59:01 +00:00
.end method