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

126 lines
2.8 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public final Le/a/j/s;
2019-12-21 01:41:59 +00:00
.super Lt/u/b/k;
2019-12-06 03:29:40 +00:00
.source "OverlayMenuView.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
2019-12-21 01:41:59 +00:00
"Lt/u/b/k;",
2019-12-06 03:29:40 +00:00
"Lkotlin/jvm/functions/Function1<",
2020-01-22 01:17:22 +00:00
"Lcom/discord/views/OverlayMenuView$b;",
2019-12-06 03:29:40 +00:00
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field public final synthetic this$0:Lcom/discord/views/OverlayMenuView;
# direct methods
.method public constructor <init>(Lcom/discord/views/OverlayMenuView;)V
.locals 0
iput-object p1, p0, Le/a/j/s;->this$0:Lcom/discord/views/OverlayMenuView;
const/4 p1, 0x1
2019-12-21 01:41:59 +00:00
invoke-direct {p0, p1}, Lt/u/b/k;-><init>(I)V
2019-12-06 03:29:40 +00:00
return-void
.end method
# virtual methods
2020-01-22 01:17:22 +00:00
.method public final a(Lcom/discord/views/OverlayMenuView$b;)V
.locals 4
2019-12-06 03:29:40 +00:00
2020-01-22 01:17:22 +00:00
iget-object v0, p0, Le/a/j/s;->this$0:Lcom/discord/views/OverlayMenuView;
2019-12-06 03:29:40 +00:00
2020-01-22 01:17:22 +00:00
invoke-static {v0}, Lcom/discord/views/OverlayMenuView;->e(Lcom/discord/views/OverlayMenuView;)Landroid/widget/ImageView;
2019-12-06 03:29:40 +00:00
2020-01-22 01:17:22 +00:00
move-result-object v0
2019-12-06 03:29:40 +00:00
2020-01-22 01:17:22 +00:00
if-eqz p1, :cond_0
2019-12-06 03:29:40 +00:00
2020-01-22 01:17:22 +00:00
iget v1, p1, Lcom/discord/views/OverlayMenuView$b;->a:I
goto :goto_0
:cond_0
const v1, 0x7f08040b
:goto_0
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V
2019-12-06 03:29:40 +00:00
iget-object v0, p0, Le/a/j/s;->this$0:Lcom/discord/views/OverlayMenuView;
2020-01-22 01:17:22 +00:00
invoke-static {v0}, Lcom/discord/views/OverlayMenuView;->b(Lcom/discord/views/OverlayMenuView;)Landroid/widget/TextView;
2019-12-06 03:29:40 +00:00
move-result-object v0
2020-01-22 01:17:22 +00:00
const/4 v1, 0x0
2019-12-06 03:29:40 +00:00
2020-01-22 01:17:22 +00:00
if-eqz p1, :cond_1
2019-12-06 03:29:40 +00:00
2020-01-22 01:17:22 +00:00
iget-object v2, p1, Lcom/discord/views/OverlayMenuView$b;->b:Ljava/lang/String;
2019-12-06 03:29:40 +00:00
2020-01-22 01:17:22 +00:00
goto :goto_1
2019-12-06 03:29:40 +00:00
2020-01-22 01:17:22 +00:00
:cond_1
move-object v2, v1
:goto_1
const-string v3, ""
2019-12-06 03:29:40 +00:00
2020-01-22 01:17:22 +00:00
if-eqz v2, :cond_2
2019-12-06 03:29:40 +00:00
2020-01-22 01:17:22 +00:00
goto :goto_2
:cond_2
move-object v2, v3
:goto_2
invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
iget-object v0, p0, Le/a/j/s;->this$0:Lcom/discord/views/OverlayMenuView;
2019-12-06 03:29:40 +00:00
2020-01-22 01:17:22 +00:00
invoke-static {v0}, Lcom/discord/views/OverlayMenuView;->a(Lcom/discord/views/OverlayMenuView;)Landroid/widget/TextView;
move-result-object v0
if-eqz p1, :cond_3
iget-object v1, p1, Lcom/discord/views/OverlayMenuView$b;->c:Ljava/lang/String;
:cond_3
if-eqz v1, :cond_4
goto :goto_3
:cond_4
move-object v1, v3
:goto_3
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
2019-12-06 03:29:40 +00:00
return-void
.end method
2020-01-22 01:17:22 +00:00
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Lcom/discord/views/OverlayMenuView$b;
invoke-virtual {p0, p1}, Le/a/j/s;->a(Lcom/discord/views/OverlayMenuView$b;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method