apkfuckery/com.discord/smali/e/a/j/t.smali

92 lines
2.2 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public final Le/a/j/t;
2019-07-31 00:08:31 +00:00
.super Ljava/lang/Object;
.source "OverlayMenuView.kt"
# interfaces
.implements Lrx/functions/Func2;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T1:",
"Ljava/lang/Object;",
"T2:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Func2<",
"TT1;TT2;TR;>;"
}
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final synthetic d:Lcom/discord/models/domain/ModelChannel;
2019-07-31 00:08:31 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Lcom/discord/models/domain/ModelChannel;)V
2019-07-31 00:08:31 +00:00
.locals 0
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Le/a/j/t;->d:Lcom/discord/models/domain/ModelChannel;
2019-07-31 00:08:31 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public call(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
2019-10-09 23:16:36 +00:00
.locals 2
2019-07-31 00:08:31 +00:00
check-cast p1, Lcom/discord/rtcconnection/RtcConnection$Quality;
check-cast p2, Lcom/discord/models/domain/ModelGuild;
2019-10-09 23:16:36 +00:00
sget-object v0, Lcom/discord/utilities/voice/VoiceViewUtils;->INSTANCE:Lcom/discord/utilities/voice/VoiceViewUtils;
2019-07-31 00:08:31 +00:00
2019-10-09 23:16:36 +00:00
invoke-virtual {v0, p1}, Lcom/discord/utilities/voice/VoiceViewUtils;->getQualityIndicator(Lcom/discord/rtcconnection/RtcConnection$Quality;)I
2019-07-31 00:08:31 +00:00
move-result p1
2019-10-09 23:16:36 +00:00
if-eqz p2, :cond_0
2019-07-31 00:08:31 +00:00
invoke-virtual {p2}, Lcom/discord/models/domain/ModelGuild;->getName()Ljava/lang/String;
move-result-object p2
2019-10-09 23:16:36 +00:00
goto :goto_0
:cond_0
const/4 p2, 0x0
:goto_0
2019-12-06 03:29:40 +00:00
if-eqz p2, :cond_1
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_1
2019-07-31 00:08:31 +00:00
2019-10-09 23:16:36 +00:00
:cond_1
2019-12-06 03:29:40 +00:00
const-string p2, ""
:goto_1
iget-object v0, p0, Le/a/j/t;->d:Lcom/discord/models/domain/ModelChannel;
2019-07-31 00:08:31 +00:00
2019-10-09 23:16:36 +00:00
invoke-virtual {v0}, Lcom/discord/models/domain/ModelChannel;->getName()Ljava/lang/String;
2019-07-31 00:08:31 +00:00
2019-10-09 23:16:36 +00:00
move-result-object v0
2019-07-31 00:08:31 +00:00
2019-10-09 23:16:36 +00:00
const-string v1, "channel.name"
2019-07-31 00:08:31 +00:00
2019-12-21 01:41:59 +00:00
invoke-static {v0, v1}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-31 00:08:31 +00:00
2019-10-31 00:47:18 +00:00
new-instance v1, Lcom/discord/views/OverlayMenuView$b;
2019-07-31 00:08:31 +00:00
2019-10-31 00:47:18 +00:00
invoke-direct {v1, p1, p2, v0}, Lcom/discord/views/OverlayMenuView$b;-><init>(ILjava/lang/String;Ljava/lang/String;)V
2019-07-31 00:08:31 +00:00
2019-10-09 23:16:36 +00:00
return-object v1
2019-07-31 00:08:31 +00:00
.end method