apkfuckery/com.discord/smali/g.smali

101 lines
2.2 KiB
Smali
Raw Normal View History

2020-11-12 02:11:44 +00:00
.class public final Lg;
.super Ljava/lang/Object;
.source "java-style lambda group"
# interfaces
.implements Landroid/view/View$OnClickListener;
# instance fields
.field public final synthetic d:I
.field public final synthetic e:Ljava/lang/Object;
.field public final synthetic f:Ljava/lang/Object;
# direct methods
.method public constructor <init>(ILjava/lang/Object;Ljava/lang/Object;)V
.locals 0
iput p1, p0, Lg;->d:I
iput-object p2, p0, Lg;->e:Ljava/lang/Object;
iput-object p3, p0, Lg;->f:Ljava/lang/Object;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
2020-11-16 01:00:50 +00:00
.locals 2
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
iget p1, p0, Lg;->d:I
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
const/4 v0, 0x0
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
if-eqz p1, :cond_2
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
const/4 v1, 0x1
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
if-ne p1, v1, :cond_1
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
iget-object p1, p0, Lg;->e:Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
check-cast p1, Lcom/discord/views/OverlayMenuView;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
iget-object v1, p0, Lg;->f:Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
check-cast v1, Lcom/discord/views/OverlayMenuView$a;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
iget-object v1, v1, Lcom/discord/views/OverlayMenuView$a;->a:Lcom/discord/models/domain/ModelChannel;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
if-eqz v1, :cond_0
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
invoke-virtual {v1}, Lcom/discord/models/domain/ModelChannel;->getId()J
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
move-result-wide v0
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
move-result-object v0
2020-11-12 02:11:44 +00:00
:cond_0
2020-11-16 01:00:50 +00:00
invoke-static {p1, v0}, Lcom/discord/views/OverlayMenuView;->c(Lcom/discord/views/OverlayMenuView;Ljava/lang/Long;)V
2020-11-12 02:11:44 +00:00
return-void
:cond_1
2020-11-16 01:00:50 +00:00
throw v0
2020-11-12 02:11:44 +00:00
:cond_2
2020-11-16 01:00:50 +00:00
iget-object p1, p0, Lg;->e:Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
check-cast p1, Lcom/discord/views/OverlayMenuView;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
iget-object v1, p0, Lg;->f:Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
check-cast v1, Lcom/discord/views/OverlayMenuView$a;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
iget-object v1, v1, Lcom/discord/views/OverlayMenuView$a;->a:Lcom/discord/models/domain/ModelChannel;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
if-eqz v1, :cond_3
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
invoke-virtual {v1}, Lcom/discord/models/domain/ModelChannel;->getId()J
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
move-result-wide v0
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
move-result-object v0
2020-11-12 02:11:44 +00:00
:cond_3
2020-11-16 01:00:50 +00:00
invoke-static {p1, v0}, Lcom/discord/views/OverlayMenuView;->b(Lcom/discord/views/OverlayMenuView;Ljava/lang/Long;)V
2020-11-12 02:11:44 +00:00
return-void
.end method