apkfuckery/com.discord/smali/f/a/n/t.smali

112 lines
2.6 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Lf/a/n/t;
2020-05-17 12:40:10 +00:00
.super Ljava/lang/Object;
.source "OverlayMenuView.kt"
# interfaces
2020-07-16 19:51:49 +00:00
.implements Lr0/k/b;
2020-05-17 12:40:10 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
2020-07-16 19:51:49 +00:00
"Lr0/k/b<",
2020-05-17 12:40:10 +00:00
"TT;",
"Lrx/Observable<",
"+TR;>;>;"
}
.end annotation
# static fields
2020-07-08 16:44:49 +00:00
.field public static final d:Lf/a/n/t;
2020-05-17 12:40:10 +00:00
# direct methods
.method public static constructor <clinit>()V
.locals 1
2020-07-08 16:44:49 +00:00
new-instance v0, Lf/a/n/t;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct {v0}, Lf/a/n/t;-><init>()V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
sput-object v0, Lf/a/n/t;->d:Lf/a/n/t;
2020-05-17 12:40:10 +00:00
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public call(Ljava/lang/Object;)Ljava/lang/Object;
.locals 4
check-cast p1, Lcom/discord/models/domain/ModelChannel;
if-nez p1, :cond_0
const/4 p1, 0x0
2020-07-16 19:51:49 +00:00
new-instance v0, Lr0/l/e/j;
2020-05-17 12:40:10 +00:00
2020-07-16 19:51:49 +00:00
invoke-direct {v0, p1}, Lr0/l/e/j;-><init>(Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
goto :goto_0
:cond_0
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getRtcConnection()Lcom/discord/stores/StoreRtcConnection;
move-result-object v0
invoke-virtual {v0}, Lcom/discord/stores/StoreRtcConnection;->getQuality()Lrx/Observable;
move-result-object v0
sget-object v1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
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"
2020-07-20 19:00:44 +00:00
invoke-static {v2, v3}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
invoke-virtual {v2}, Ljava/lang/Long;->longValue()J
move-result-wide v2
invoke-virtual {v1, v2, v3}, Lcom/discord/stores/StoreGuilds;->observeGuild(J)Lrx/Observable;
move-result-object v1
2020-07-08 16:44:49 +00:00
new-instance v2, Lf/a/n/s;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct {v2, p1}, Lf/a/n/s;-><init>(Lcom/discord/models/domain/ModelChannel;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-static {v0, v1, v2}, Lrx/Observable;->j(Lrx/Observable;Lrx/Observable;Lrx/functions/Func2;)Lrx/Observable;
2020-05-17 12:40:10 +00:00
move-result-object v0
:goto_0
return-object v0
.end method