apkfuckery/com.discord/smali/e/a/j/r.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/r;
2019-10-31 00:47:18 +00:00
.super Ljava/lang/Object;
2019-07-31 00:08:31 +00:00
.source "OverlayMenuView.kt"
# interfaces
2020-01-28 00:59:01 +00:00
.implements Lrx/functions/Func2;
2019-07-31 00:08:31 +00:00
# annotations
2019-08-30 20:04:20 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-01-28 00:59:01 +00:00
"<T1:",
"Ljava/lang/Object;",
"T2:",
2019-10-31 00:47:18 +00:00
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
2020-01-28 00:59:01 +00:00
"Lrx/functions/Func2<",
"TT1;TT2;TR;>;"
2019-08-30 20:04:20 +00:00
}
.end annotation
2019-07-31 00:08:31 +00:00
2020-01-28 00:59:01 +00:00
# instance fields
.field public final synthetic d:Lcom/discord/models/domain/ModelChannel;
2019-07-31 00:08:31 +00:00
# direct methods
2020-01-28 00:59:01 +00:00
.method public constructor <init>(Lcom/discord/models/domain/ModelChannel;)V
2019-10-31 00:47:18 +00:00
.locals 0
2019-07-31 00:08:31 +00:00
2020-01-28 00:59:01 +00:00
iput-object p1, p0, Le/a/j/r;->d:Lcom/discord/models/domain/ModelChannel;
2019-10-31 00:47:18 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-07-31 00:08:31 +00:00
2019-10-31 00:47:18 +00:00
return-void
.end method
2019-07-31 00:08:31 +00:00
2019-10-31 00:47:18 +00:00
# virtual methods
2020-01-28 00:59:01 +00:00
.method public call(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
2020-01-22 01:17:22 +00:00
2020-01-28 00:59:01 +00:00
check-cast p1, Lcom/discord/rtcconnection/RtcConnection$Quality;
2020-01-22 01:17:22 +00:00
2020-01-28 00:59:01 +00:00
check-cast p2, Lcom/discord/models/domain/ModelGuild;
2020-01-22 01:17:22 +00:00
2020-01-28 00:59:01 +00:00
sget-object v0, Lcom/discord/utilities/voice/VoiceViewUtils;->INSTANCE:Lcom/discord/utilities/voice/VoiceViewUtils;
2020-01-22 01:17:22 +00:00
2020-01-28 00:59:01 +00:00
invoke-virtual {v0, p1}, Lcom/discord/utilities/voice/VoiceViewUtils;->getQualityIndicator(Lcom/discord/rtcconnection/RtcConnection$Quality;)I
2020-01-22 01:17:22 +00:00
2020-01-28 00:59:01 +00:00
move-result p1
2020-01-22 01:17:22 +00:00
2020-01-28 00:59:01 +00:00
if-eqz p2, :cond_0
2020-01-22 01:17:22 +00:00
2020-01-28 00:59:01 +00:00
invoke-virtual {p2}, Lcom/discord/models/domain/ModelGuild;->getName()Ljava/lang/String;
2020-01-22 01:17:22 +00:00
2020-01-28 00:59:01 +00:00
move-result-object p2
2020-01-22 01:17:22 +00:00
2020-01-28 00:59:01 +00:00
goto :goto_0
2020-01-22 01:17:22 +00:00
2020-01-28 00:59:01 +00:00
:cond_0
const/4 p2, 0x0
2020-01-22 01:17:22 +00:00
2020-01-28 00:59:01 +00:00
:goto_0
if-eqz p2, :cond_1
2020-01-22 01:17:22 +00:00
2020-01-28 00:59:01 +00:00
goto :goto_1
2020-01-22 01:17:22 +00:00
2020-01-28 00:59:01 +00:00
:cond_1
const-string p2, ""
2020-01-22 01:17:22 +00:00
2020-01-28 00:59:01 +00:00
:goto_1
iget-object v0, p0, Le/a/j/r;->d:Lcom/discord/models/domain/ModelChannel;
2019-07-31 00:08:31 +00:00
2020-01-28 00:59:01 +00:00
invoke-virtual {v0}, Lcom/discord/models/domain/ModelChannel;->getName()Ljava/lang/String;
2019-07-31 00:08:31 +00:00
2020-01-28 00:59:01 +00:00
move-result-object v0
2019-07-31 00:08:31 +00:00
2020-01-28 00:59:01 +00:00
const-string v1, "channel.name"
2019-07-31 00:08:31 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {v0, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-08-30 20:04:20 +00:00
2020-01-28 00:59:01 +00:00
new-instance v1, Lcom/discord/views/OverlayMenuView$b;
2019-08-30 20:04:20 +00:00
2020-01-28 00:59:01 +00:00
invoke-direct {v1, p1, p2, v0}, Lcom/discord/views/OverlayMenuView$b;-><init>(ILjava/lang/String;Ljava/lang/String;)V
2019-08-30 20:04:20 +00:00
2020-01-28 00:59:01 +00:00
return-object v1
2019-07-31 00:08:31 +00:00
.end method