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

92 lines
2.2 KiB
Smali
Raw Normal View History

2020-04-27 20:53:11 +00:00
.class public final Le/a/k/s;
2020-04-25 00:39:25 +00:00
.super Ljava/lang/Object;
2020-03-19 04:19:10 +00:00
.source "OverlayMenuView.kt"
2019-07-31 00:08:31 +00:00
# interfaces
2020-04-25 00:39:25 +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-04-25 00:39:25 +00:00
"<T1:",
"Ljava/lang/Object;",
"T2:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"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-03-19 04:19:10 +00:00
# instance fields
2020-04-25 00:39:25 +00:00
.field public final synthetic d:Lcom/discord/models/domain/ModelChannel;
2019-07-31 00:08:31 +00:00
# direct methods
2020-04-25 00:39:25 +00:00
.method public constructor <init>(Lcom/discord/models/domain/ModelChannel;)V
2020-03-19 04:19:10 +00:00
.locals 0
2019-07-31 00:08:31 +00:00
2020-04-27 20:53:11 +00:00
iput-object p1, p0, Le/a/k/s;->d:Lcom/discord/models/domain/ModelChannel;
2020-01-28 00:59:01 +00:00
2020-04-25 00:39:25 +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-04-25 00:39:25 +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-04-25 00:39:25 +00:00
check-cast p1, Lcom/discord/rtcconnection/RtcConnection$Quality;
2020-03-10 23:21:53 +00:00
2020-04-25 00:39:25 +00:00
check-cast p2, Lcom/discord/models/domain/ModelGuild;
2020-03-14 04:13:36 +00:00
2020-04-25 00:39:25 +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-04-25 00:39:25 +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-25 00:39:25 +00:00
move-result p1
2020-01-22 01:17:22 +00:00
2020-04-25 00:39:25 +00:00
if-eqz p2, :cond_0
2019-07-31 00:08:31 +00:00
2020-04-25 00:39:25 +00:00
invoke-virtual {p2}, Lcom/discord/models/domain/ModelGuild;->getName()Ljava/lang/String;
2019-07-31 00:08:31 +00:00
2020-04-25 00:39:25 +00:00
move-result-object p2
2019-07-31 00:08:31 +00:00
2020-04-25 00:39:25 +00:00
goto :goto_0
2019-08-30 20:04:20 +00:00
2020-04-25 00:39:25 +00:00
:cond_0
const/4 p2, 0x0
2019-08-30 20:04:20 +00:00
2020-04-25 00:39:25 +00:00
:goto_0
if-eqz p2, :cond_1
2019-08-30 20:04:20 +00:00
2020-04-25 00:39:25 +00:00
goto :goto_1
2020-04-21 22:38:31 +00:00
2020-04-25 00:39:25 +00:00
:cond_1
const-string p2, ""
2020-04-21 22:38:31 +00:00
2020-04-25 00:39:25 +00:00
:goto_1
2020-04-27 20:53:11 +00:00
iget-object v0, p0, Le/a/k/s;->d:Lcom/discord/models/domain/ModelChannel;
2020-04-21 22:38:31 +00:00
2020-04-25 00:39:25 +00:00
invoke-virtual {v0}, Lcom/discord/models/domain/ModelChannel;->getName()Ljava/lang/String;
2020-04-23 18:39:17 +00:00
2020-04-25 00:39:25 +00:00
move-result-object v0
2020-04-23 18:39:17 +00:00
2020-04-25 00:39:25 +00:00
const-string v1, "channel.name"
2020-04-23 18:39:17 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {v0, v1}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-04-25 00:39:25 +00:00
new-instance v1, Lcom/discord/views/OverlayMenuView$b;
invoke-direct {v1, p1, p2, v0}, Lcom/discord/views/OverlayMenuView$b;-><init>(ILjava/lang/String;Ljava/lang/String;)V
return-object v1
2019-07-31 00:08:31 +00:00
.end method