apkfuckery/com.discord/smali/f/a/b/d.smali

50 lines
1.2 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Lf/a/b/d;
.super Ljava/lang/Object;
.source "AppActivity.kt"
# interfaces
.implements Landroidx/appcompat/widget/Toolbar$OnMenuItemClickListener;
2020-05-17 12:40:10 +00:00
# instance fields
2020-07-08 16:44:49 +00:00
.field public final synthetic a:Landroidx/appcompat/widget/Toolbar;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
.field public final synthetic b:Lrx/functions/Action2;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
# direct methods
.method public constructor <init>(Landroidx/appcompat/widget/Toolbar;ILrx/functions/Action2;Lrx/functions/Action1;)V
.locals 0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iput-object p1, p0, Lf/a/b/d;->a:Landroidx/appcompat/widget/Toolbar;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iput-object p3, p0, Lf/a/b/d;->b:Lrx/functions/Action2;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()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 final onMenuItemClick(Landroid/view/MenuItem;)Z
2020-05-17 12:40:10 +00:00
.locals 2
2020-07-08 16:44:49 +00:00
iget-object v0, p0, Lf/a/b/d;->b:Lrx/functions/Action2;
2020-05-17 12:40:10 +00:00
if-eqz v0, :cond_0
2020-07-08 16:44:49 +00:00
iget-object v1, p0, Lf/a/b/d;->a:Landroidx/appcompat/widget/Toolbar;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {v1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
2020-05-17 12:40:10 +00:00
move-result-object v1
2020-07-08 16:44:49 +00:00
invoke-interface {v0, p1, v1}, Lrx/functions/Action2;->call(Ljava/lang/Object;Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:cond_0
const/4 p1, 0x1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
return p1
2020-05-17 12:40:10 +00:00
.end method