apkfuckery/com.discord/smali/f/a/n/b0$a.smali
2020-10-05 23:18:16 +00:00

124 lines
2.5 KiB
Smali

.class public final Lf/a/n/b0$a;
.super Ljava/lang/Object;
.source "OverlayVoiceBubble.kt"
# interfaces
.implements Ll0/k/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lf/a/n/b0;->onAttachedToWindow()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Ll0/k/b<",
"Ljava/lang/Long;",
"Lrx/Observable<",
"+",
"Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;",
">;>;"
}
.end annotation
# static fields
.field public static final d:Lf/a/n/b0$a;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lf/a/n/b0$a;
invoke-direct {v0}, Lf/a/n/b0$a;-><init>()V
sput-object v0, Lf/a/n/b0$a;->d:Lf/a/n/b0$a;
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 5
check-cast p1, Ljava/lang/Long;
if-nez p1, :cond_0
goto :goto_0
:cond_0
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
move-result-wide v0
const-wide/16 v2, 0x0
cmp-long v4, v0, v2
if-nez v4, :cond_1
const/4 p1, 0x0
new-instance v0, Ll0/l/e/j;
invoke-direct {v0, p1}, Ll0/l/e/j;-><init>(Ljava/lang/Object;)V
goto :goto_1
:cond_1
:goto_0
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getVoiceParticipants()Lcom/discord/stores/StoreVoiceParticipants;
move-result-object v0
const-string v1, "channelId"
invoke-static {p1, v1}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
move-result-wide v1
invoke-virtual {v0, v1, v2}, Lcom/discord/stores/StoreVoiceParticipants;->get(J)Lrx/Observable;
move-result-object p1
sget-object v0, Lf/a/n/a0;->d:Lf/a/n/a0;
invoke-virtual {p1, v0}, Lrx/Observable;->D(Ll0/k/b;)Lrx/Observable;
move-result-object p1
invoke-virtual {p1}, Lrx/Observable;->q()Lrx/Observable;
move-result-object v0
:goto_1
return-object v0
.end method