apkfuckery/com.discord/smali/f/a/k/s.smali

92 lines
2.2 KiB
Smali
Raw Normal View History

2020-04-17 17:35:24 +00:00
.class public final Lf/a/k/s;
2020-01-28 00:59:01 +00:00
.super Ljava/lang/Object;
2020-03-19 04:19:10 +00:00
.source "OverlayMenuView.kt"
2019-12-06 03:29:40 +00:00
# interfaces
2020-04-10 14:32:51 +00:00
.implements Lrx/functions/Func2;
2019-12-06 03:29:40 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
2020-04-10 14:32:51 +00:00
"<T1:",
"Ljava/lang/Object;",
"T2:",
2020-01-28 00:59:01 +00:00
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
2020-04-10 14:32:51 +00:00
"Lrx/functions/Func2<",
"TT1;TT2;TR;>;"
2019-12-06 03:29:40 +00:00
}
.end annotation
2020-04-10 14:32:51 +00:00
# instance fields
.field public final synthetic d:Lcom/discord/models/domain/ModelChannel;
2019-12-06 03:29:40 +00:00
# direct methods
2020-04-10 14:32:51 +00:00
.method public constructor <init>(Lcom/discord/models/domain/ModelChannel;)V
2020-01-28 00:59:01 +00:00
.locals 0
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
iput-object p1, p0, Lf/a/k/s;->d:Lcom/discord/models/domain/ModelChannel;
2020-04-10 14:32:51 +00:00
2020-01-28 00:59:01 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-12-06 03:29:40 +00:00
return-void
.end method
# virtual methods
2020-04-10 14:32:51 +00:00
.method public call(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
2019-12-06 03:29:40 +00:00
2020-04-10 14:32:51 +00:00
check-cast p1, Lcom/discord/rtcconnection/RtcConnection$Quality;
2019-12-06 03:29:40 +00:00
2020-04-10 14:32:51 +00:00
check-cast p2, Lcom/discord/models/domain/ModelGuild;
2019-12-06 03:29:40 +00:00
2020-04-10 14:32:51 +00:00
sget-object v0, Lcom/discord/utilities/voice/VoiceViewUtils;->INSTANCE:Lcom/discord/utilities/voice/VoiceViewUtils;
2019-12-06 03:29:40 +00:00
2020-04-10 14:32:51 +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-04-10 14:32:51 +00:00
move-result p1
2020-01-22 01:17:22 +00:00
2020-04-10 14:32:51 +00:00
if-eqz p2, :cond_0
2020-03-19 04:19:10 +00:00
2020-04-10 14:32:51 +00:00
invoke-virtual {p2}, Lcom/discord/models/domain/ModelGuild;->getName()Ljava/lang/String;
2020-01-22 01:17:22 +00:00
2020-04-10 14:32:51 +00:00
move-result-object p2
2020-03-14 02:12:46 +00:00
2020-04-10 14:32:51 +00:00
goto :goto_0
2020-01-22 01:17:22 +00:00
2020-04-10 14:32:51 +00:00
:cond_0
const/4 p2, 0x0
2020-01-22 01:17:22 +00:00
2020-04-10 14:32:51 +00:00
:goto_0
if-eqz p2, :cond_1
2020-01-22 01:17:22 +00:00
2020-04-10 14:32:51 +00:00
goto :goto_1
2020-01-22 01:17:22 +00:00
2020-04-10 14:32:51 +00:00
:cond_1
const-string p2, ""
2019-12-06 03:29:40 +00:00
2020-04-10 14:32:51 +00:00
:goto_1
2020-04-17 17:35:24 +00:00
iget-object v0, p0, Lf/a/k/s;->d:Lcom/discord/models/domain/ModelChannel;
2020-01-22 01:17:22 +00:00
2020-04-10 14:32:51 +00:00
invoke-virtual {v0}, Lcom/discord/models/domain/ModelChannel;->getName()Ljava/lang/String;
2020-03-14 02:12:46 +00:00
2020-04-10 14:32:51 +00:00
move-result-object v0
2020-03-19 04:19:10 +00:00
2020-04-10 14:32:51 +00:00
const-string v1, "channel.name"
2020-03-19 04:19:10 +00:00
2020-04-17 19:35:49 +00:00
invoke-static {v0, v1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-03-19 04:19:10 +00:00
2020-04-10 14:32:51 +00:00
new-instance v1, Lcom/discord/views/OverlayMenuView$b;
2020-03-19 04:19:10 +00:00
2020-04-10 14:32:51 +00:00
invoke-direct {v1, p1, p2, v0}, Lcom/discord/views/OverlayMenuView$b;-><init>(ILjava/lang/String;Ljava/lang/String;)V
2020-03-19 04:19:10 +00:00
2020-04-10 14:32:51 +00:00
return-object v1
2020-01-22 01:17:22 +00:00
.end method