apkfuckery/com.discord/smali/com/discord/views/h$b.smali

128 lines
2.7 KiB
Smali

.class final Lcom/discord/views/h$b;
.super Ljava/lang/Object;
.source "OverlayVoiceBubble.kt"
# interfaces
.implements Lrx/functions/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/views/h;->onAttachedToWindow()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/b<",
"TT;",
"Lrx/Observable<",
"+TR;>;>;"
}
.end annotation
# static fields
.field public static final DS:Lcom/discord/views/h$b;
# direct methods
.method static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/discord/views/h$b;
invoke-direct {v0}, Lcom/discord/views/h$b;-><init>()V
sput-object v0, Lcom/discord/views/h$b;->DS:Lcom/discord/views/h$b;
return-void
.end method
.method constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final synthetic 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
invoke-static {p1}, Lrx/Observable;->bq(Ljava/lang/Object;)Lrx/Observable;
move-result-object p1
return-object p1
: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}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(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, Lcom/discord/views/h$b$1;->DT:Lcom/discord/views/h$b$1;
check-cast v0, Lrx/functions/b;
invoke-virtual {p1, v0}, Lrx/Observable;->e(Lrx/functions/b;)Lrx/Observable;
move-result-object p1
invoke-static {}, Lrx/internal/a/ae;->Jl()Lrx/internal/a/ae;
move-result-object v0
invoke-virtual {p1, v0}, Lrx/Observable;->a(Lrx/Observable$b;)Lrx/Observable;
move-result-object p1
return-object p1
.end method