apkfuckery/com.discord/smali/f/a/k/s.smali

112 lines
2.6 KiB
Smali
Raw Normal View History

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