apkfuckery/com.discord/smali/f/a/n/r.smali

75 lines
1.6 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Lf/a/n/r;
2020-07-25 00:57:58 +00:00
.super Lj0/n/c/i;
2020-05-17 12:40:10 +00:00
.source "OverlayMenuView.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
2020-07-25 00:57:58 +00:00
"Lj0/n/c/i;",
2020-05-17 12:40:10 +00:00
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Boolean;",
"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
2020-07-08 16:44:49 +00:00
iput-object p1, p0, Lf/a/n/r;->this$0:Lcom/discord/views/OverlayMenuView;
2020-05-17 12:40:10 +00:00
const/4 p1, 0x1
2020-07-25 00:57:58 +00:00
invoke-direct {p0, p1}, Lj0/n/c/i;-><init>(I)V
2020-05-17 12:40:10 +00:00
return-void
.end method
# virtual methods
2020-07-08 16:44:49 +00:00
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
2020-05-17 12:40:10 +00:00
check-cast p1, Ljava/lang/Boolean;
2020-07-08 16:44:49 +00:00
iget-object v0, p0, Lf/a/n/r;->this$0:Lcom/discord/views/OverlayMenuView;
2020-05-17 12:40:10 +00:00
invoke-static {v0}, Lcom/discord/views/OverlayMenuView;->c(Lcom/discord/views/OverlayMenuView;)Landroid/view/View;
move-result-object v0
const-string v1, "canSendInvites"
2020-07-25 00:57:58 +00:00
invoke-static {p1, v1}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
move-result p1
if-eqz p1, :cond_0
const/4 p1, 0x0
goto :goto_0
:cond_0
const/16 p1, 0x8
:goto_0
invoke-virtual {v0, p1}, Landroid/view/View;->setVisibility(I)V
2020-07-08 16:44:49 +00:00
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
2020-05-17 12:40:10 +00:00
.end method