apkfuckery/com.discord/smali/e/a/j/s.smali
2020-03-19 05:19:10 +01:00

111 lines
2.5 KiB
Smali

.class public final Le/a/j/s;
.super Ljava/lang/Object;
.source "OverlayMenuView.kt"
# interfaces
.implements Le0/l/i;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Le0/l/i<",
"TT;",
"Lrx/Observable<",
"+TR;>;>;"
}
.end annotation
# static fields
.field public static final d:Le/a/j/s;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Le/a/j/s;
invoke-direct {v0}, Le/a/j/s;-><init>()V
sput-object v0, Le/a/j/s;->d:Le/a/j/s;
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
new-instance v0, Le0/m/e/j;
invoke-direct {v0, p1}, Le0/m/e/j;-><init>(Ljava/lang/Object;)V
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"
invoke-static {v2, v3}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v2}, Ljava/lang/Long;->longValue()J
move-result-wide v2
invoke-virtual {v1, v2, v3}, Lcom/discord/stores/StoreGuilds;->observe(J)Lrx/Observable;
move-result-object v1
new-instance v2, Le/a/j/r;
invoke-direct {v2, p1}, Le/a/j/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
.end method