apkfuckery/com.discord/smali/e/a/j/s.smali

112 lines
2.5 KiB
Smali
Raw Normal View History

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