.class public final Li4/f;
.super Ld4/c;
.source ""


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ld4/c<",
        "Landroid/graphics/Bitmap;",
        ">;"
    }
.end annotation


# instance fields
.field public final synthetic u:Lcom/floydwiz/gamingcenter/activities/GameActivity;


# direct methods
.method public constructor <init>(Lcom/floydwiz/gamingcenter/activities/GameActivity;)V
    .registers 2

    iput-object p1, p0, Li4/f;->u:Lcom/floydwiz/gamingcenter/activities/GameActivity;

    invoke-direct {p0}, Ld4/c;-><init>()V

    return-void
.end method


# virtual methods
.method public d(Ljava/lang/Object;Le4/d;)V
    .registers 9

    check-cast p1, Landroid/graphics/Bitmap;

    const-string p2, "resource"

    .line 1
    invoke-static {p1, p2}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    const-string p2, "debugBitmap: onResourceReady: "

    invoke-static {p2, p1}, Lx/e;->k(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p2

    sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;

    invoke-virtual {v0, p2}, Ljava/io/PrintStream;->println(Ljava/lang/Object;)V

    iget-object p2, p0, Li4/f;->u:Lcom/floydwiz/gamingcenter/activities/GameActivity;

    invoke-static {p2}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object p2

    const v0, 0x7f0d0030

    const/4 v1, 0x0

    const/4 v2, 0x0

    invoke-static {p2, v0, v2, v1}, Landroidx/databinding/g;->c(Landroid/view/LayoutInflater;ILandroid/view/ViewGroup;Z)Landroidx/databinding/ViewDataBinding;

    move-result-object p2

    check-cast p2, Lk4/e;

    if-nez p2, :cond_26

    goto :goto_2f

    :cond_26
    iget-object v0, p0, Li4/f;->u:Lcom/floydwiz/gamingcenter/activities/GameActivity;

    .line 2
    iget-object v0, v0, Lcom/floydwiz/gamingcenter/activities/GameActivity;->H:Ls4/g;

    if-eqz v0, :cond_ba

    .line 3
    invoke-virtual {p2, v0}, Lk4/e;->t0(Ls4/g;)V

    :goto_2f
    if-nez p2, :cond_32

    goto :goto_37

    :cond_32
    iget-object v0, p0, Li4/f;->u:Lcom/floydwiz/gamingcenter/activities/GameActivity;

    invoke-virtual {p2, v0}, Landroidx/databinding/ViewDataBinding;->p0(Landroidx/lifecycle/n;)V

    :goto_37
    iget-object v0, p0, Li4/f;->u:Lcom/floydwiz/gamingcenter/activities/GameActivity;

    new-instance v3, Landroidx/appcompat/app/b$a;

    invoke-direct {v3, v0, v1}, Landroidx/appcompat/app/b$a;-><init>(Landroid/content/Context;I)V

    invoke-virtual {v3}, Landroidx/appcompat/app/b$a;->a()Landroidx/appcompat/app/b;

    move-result-object v3

    .line 4
    iput-object v3, v0, Lcom/floydwiz/gamingcenter/activities/GameActivity;->J:Landroidx/appcompat/app/b;

    .line 5
    iget-object v0, p0, Li4/f;->u:Lcom/floydwiz/gamingcenter/activities/GameActivity;

    .line 6
    iget-object v0, v0, Lcom/floydwiz/gamingcenter/activities/GameActivity;->J:Landroidx/appcompat/app/b;

    if-nez v0, :cond_4b

    goto :goto_60

    .line 7
    :cond_4b
    invoke-virtual {v0}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;

    move-result-object v0

    if-nez v0, :cond_52

    goto :goto_60

    :cond_52
    iget-object v3, p0, Li4/f;->u:Lcom/floydwiz/gamingcenter/activities/GameActivity;

    const v4, 0x7f080086

    sget-object v5, Lc0/a;->a:Ljava/lang/Object;

    .line 8
    invoke-static {v3, v4}, Lc0/a$b;->b(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;

    move-result-object v3

    .line 9
    invoke-virtual {v0, v3}, Landroid/view/Window;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    :goto_60
    if-nez p2, :cond_63

    goto :goto_6b

    :cond_63
    iget-object v0, p2, Lk4/e;->K:Landroid/widget/ImageView;

    if-nez v0, :cond_68

    goto :goto_6b

    :cond_68
    invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    :goto_6b
    iget-object p1, p0, Li4/f;->u:Lcom/floydwiz/gamingcenter/activities/GameActivity;

    .line 10
    iget-object p1, p1, Lcom/floydwiz/gamingcenter/activities/GameActivity;->J:Landroidx/appcompat/app/b;

    if-nez p1, :cond_72

    goto :goto_80

    :cond_72
    if-nez p2, :cond_75

    goto :goto_77

    .line 11
    :cond_75
    iget-object v2, p2, Landroidx/databinding/ViewDataBinding;->v:Landroid/view/View;

    .line 12
    :goto_77
    invoke-virtual {p1, v2}, Landroidx/appcompat/app/b;->d(Landroid/view/View;)V

    invoke-virtual {p1, v1}, Landroid/app/Dialog;->setCancelable(Z)V

    invoke-virtual {p1}, Landroid/app/Dialog;->show()V

    :goto_80
    if-nez p2, :cond_83

    goto :goto_93

    :cond_83
    iget-object p1, p2, Lk4/e;->L:Lcom/google/android/material/button/MaterialButton;

    if-nez p1, :cond_88

    goto :goto_93

    :cond_88
    iget-object v0, p0, Li4/f;->u:Lcom/floydwiz/gamingcenter/activities/GameActivity;

    new-instance v1, Li4/a;

    const/4 v2, 0x2

    invoke-direct {v1, v0, v2}, Li4/a;-><init>(Lcom/floydwiz/gamingcenter/activities/GameActivity;I)V

    invoke-virtual {p1, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :goto_93
    if-nez p2, :cond_96

    goto :goto_a6

    :cond_96
    iget-object p1, p2, Lk4/e;->M:Lcom/google/android/material/button/MaterialButton;

    if-nez p1, :cond_9b

    goto :goto_a6

    :cond_9b
    iget-object v0, p0, Li4/f;->u:Lcom/floydwiz/gamingcenter/activities/GameActivity;

    new-instance v1, Li4/a;

    const/4 v2, 0x3

    invoke-direct {v1, v0, v2}, Li4/a;-><init>(Lcom/floydwiz/gamingcenter/activities/GameActivity;I)V

    invoke-virtual {p1, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :goto_a6
    if-nez p2, :cond_a9

    goto :goto_b9

    :cond_a9
    iget-object p1, p2, Lk4/e;->K:Landroid/widget/ImageView;

    if-nez p1, :cond_ae

    goto :goto_b9

    :cond_ae
    iget-object p2, p0, Li4/f;->u:Lcom/floydwiz/gamingcenter/activities/GameActivity;

    new-instance v0, Li4/a;

    const/4 v1, 0x4

    invoke-direct {v0, p2, v1}, Li4/a;-><init>(Lcom/floydwiz/gamingcenter/activities/GameActivity;I)V

    invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :goto_b9
    return-void

    :cond_ba
    const-string p1, "viewModel"

    invoke-static {p1}, Lx/e;->m(Ljava/lang/String;)V

    throw v2
.end method

.method public h(Landroid/graphics/drawable/Drawable;)V
    .registers 3

    const-string v0, "debugBitmap: onLoadCleared: "

    invoke-static {v0, p1}, Lx/e;->k(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    const/4 v0, 0x0

    new-array v0, v0, [Ljava/lang/Object;

    invoke-static {p1, v0}, Lbb/a;->b(Ljava/lang/String;[Ljava/lang/Object;)V

    return-void
.end method
