apkfuckery/com.discord/smali/f/a/a/h$a.smali
2020-04-18 19:44:22 +02:00

129 lines
3 KiB
Smali

.class public final Lf/a/a/h$a;
.super Ljava/lang/Object;
.source "java-style lambda group"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lf/a/a/h;->onViewBound(Landroid/view/View;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
# 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, Lf/a/a/h$a;->d:I
iput-object p2, p0, Lf/a/a/h$a;->e:Ljava/lang/Object;
iput-object p3, p0, Lf/a/a/h$a;->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
.locals 6
iget p1, p0, Lf/a/a/h$a;->d:I
const-string v0, "requireContext()"
if-eqz p1, :cond_1
const/4 v1, 0x1
if-ne p1, v1, :cond_0
iget-object p1, p0, Lf/a/a/h$a;->e:Ljava/lang/Object;
check-cast p1, Lf/a/a/h;
invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
move-result-object p1
invoke-static {p1, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lf/a/a/h$a;->f:Ljava/lang/Object;
check-cast v0, Ljava/lang/String;
const-string v1, "username"
invoke-static {v0, v1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const v1, 0x7f12048e
invoke-static {p1, v0, v1}, Lf/a/b/j;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V
iget-object p1, p0, Lf/a/a/h$a;->e:Ljava/lang/Object;
check-cast p1, Lf/a/a/h;
invoke-virtual {p1}, Lcom/discord/app/AppDialog;->dismiss()V
return-void
:cond_0
const/4 p1, 0x0
throw p1
:cond_1
sget-object p1, Lcom/discord/utilities/uri/UriHandler;->INSTANCE:Lcom/discord/utilities/uri/UriHandler;
iget-object v1, p0, Lf/a/a/h$a;->e:Ljava/lang/Object;
check-cast v1, Lf/a/a/h;
invoke-virtual {v1}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
move-result-object v1
invoke-static {v1, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lf/a/a/h$a;->f:Ljava/lang/Object;
move-object v2, v0
check-cast v2, Ljava/lang/String;
const/4 v3, 0x0
const/4 v4, 0x4
const/4 v5, 0x0
move-object v0, p1
invoke-static/range {v0 .. v5}, Lcom/discord/utilities/uri/UriHandler;->handle$default(Lcom/discord/utilities/uri/UriHandler;Landroid/content/Context;Ljava/lang/String;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V
iget-object p1, p0, Lf/a/a/h$a;->e:Ljava/lang/Object;
check-cast p1, Lf/a/a/h;
invoke-virtual {p1}, Lcom/discord/app/AppDialog;->dismiss()V
return-void
.end method