apkfuckery/com.discord/smali/f/a/m/v$a.smali
2020-11-12 23:15:09 +00:00

124 lines
2.5 KiB
Smali

.class public final Lf/a/m/v$a;
.super Ljava/lang/Object;
.source "OverlayVoiceBubble.kt"
# interfaces
.implements Li0/k/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lf/a/m/v;->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;",
"Li0/k/b<",
"Ljava/lang/Long;",
"Lrx/Observable<",
"+",
"Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;",
">;>;"
}
.end annotation
# static fields
.field public static final d:Lf/a/m/v$a;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lf/a/m/v$a;
invoke-direct {v0}, Lf/a/m/v$a;-><init>()V
sput-object v0, Lf/a/m/v$a;->d:Lf/a/m/v$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, Li0/l/e/j;
invoke-direct {v0, p1}, Li0/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}, Lz/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/m/u;->d:Lf/a/m/u;
invoke-virtual {p1, v0}, Lrx/Observable;->D(Li0/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