.class public final Lcom/floydwiz/gamingcenter/activities/MainActivity;
.super Lf/e;
.source ""


# static fields
.field public static final synthetic N:I


# instance fields
.field public G:Lk4/c;

.field public H:Ls4/o;

.field public I:Ls4/h;

.field public J:Ljava/lang/String;

.field public K:Landroidx/appcompat/app/b;

.field public L:Ljava/lang/String;

.field public final M:Landroidx/activity/result/c;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroidx/activity/result/c<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>()V
    .registers 6

    invoke-direct {p0}, Lf/e;-><init>()V

    const-string v0, "https://5b0v4gg5o4.execute-api.ap-south-1.amazonaws.col/release/redirect-link?event_name=AFFILIATE_AD_CLICKED&ad_id=102&src=android"

    iput-object v0, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->L:Ljava/lang/String;

    new-instance v0, Ld/b;

    invoke-direct {v0}, Ld/b;-><init>()V

    new-instance v1, Li4/k;

    const/4 v2, 0x0

    invoke-direct {v1, p0, v2}, Li4/k;-><init>(Lcom/floydwiz/gamingcenter/activities/MainActivity;I)V

    .line 1
    iget-object v2, p0, Landroidx/activity/ComponentActivity;->z:Landroidx/activity/result/ActivityResultRegistry;

    const-string v3, "activity_rq#"

    .line 2
    invoke-static {v3}, Landroidx/activity/c;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v4, p0, Landroidx/activity/ComponentActivity;->y:Ljava/util/concurrent/atomic/AtomicInteger;

    invoke-virtual {v4}, Ljava/util/concurrent/atomic/AtomicInteger;->getAndIncrement()I

    move-result v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3, p0, v0, v1}, Landroidx/activity/result/ActivityResultRegistry;->c(Ljava/lang/String;Landroidx/lifecycle/n;Ld/a;Landroidx/activity/result/b;)Landroidx/activity/result/c;

    move-result-object v0

    .line 3
    iput-object v0, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->M:Landroidx/activity/result/c;

    return-void
.end method


# virtual methods
.method public onCreate(Landroid/os/Bundle;)V
    .registers 12

    invoke-super {p0, p1}, Landroidx/fragment/app/r;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/facebook/ads/AudienceNetworkAds;->initialize(Landroid/content/Context;)V

    const p1, 0x7f0d001d

    invoke-static {p0, p1}, Landroidx/databinding/g;->e(Landroid/app/Activity;I)Landroidx/databinding/ViewDataBinding;

    move-result-object p1

    const-string v0, "setContentView(this, R.layout.activity_main)"

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

    check-cast p1, Lk4/c;

    iput-object p1, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->G:Lk4/c;

    new-instance p1, Landroidx/lifecycle/d0;

    invoke-direct {p1, p0}, Landroidx/lifecycle/d0;-><init>(Landroidx/lifecycle/f0;)V

    const-class v0, Ls4/o;

    invoke-virtual {p1, v0}, Landroidx/lifecycle/d0;->a(Ljava/lang/Class;)Landroidx/lifecycle/c0;

    move-result-object p1

    check-cast p1, Ls4/o;

    iput-object p1, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->H:Ls4/o;

    new-instance p1, Landroidx/lifecycle/d0;

    invoke-direct {p1, p0}, Landroidx/lifecycle/d0;-><init>(Landroidx/lifecycle/f0;)V

    const-class v0, Ls4/h;

    invoke-virtual {p1, v0}, Landroidx/lifecycle/d0;->a(Ljava/lang/Class;)Landroidx/lifecycle/c0;

    move-result-object p1

    check-cast p1, Ls4/h;

    iput-object p1, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->I:Ls4/h;

    iget-object p1, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->G:Lk4/c;

    const-string v0, "binding"

    const/4 v1, 0x0

    if-eqz p1, :cond_209

    iget-object p1, p1, Lk4/c;->T:Lk4/a0;

    iget-object v2, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->H:Ls4/o;

    const-string v3, "viewModel"

    if-eqz v2, :cond_205

    invoke-virtual {p1, v2}, Lk4/a0;->t0(Ls4/o;)V

    iget-object p1, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->G:Lk4/c;

    if-eqz p1, :cond_201

    iget-object v2, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->H:Ls4/o;

    if-eqz v2, :cond_1fd

    invoke-virtual {p1, v2}, Lk4/c;->t0(Ls4/o;)V

    iget-object p1, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->G:Lk4/c;

    if-eqz p1, :cond_1f9

    iget-object p1, p1, Lk4/c;->W:Lk4/c0;

    iget-object v2, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->I:Ls4/h;

    if-eqz v2, :cond_1f3

    invoke-virtual {p1, v2}, Lk4/c0;->t0(Ls4/h;)V

    iget-object p1, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->G:Lk4/c;

    if-eqz p1, :cond_1ef

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

    iget-object p1, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->G:Lk4/c;

    if-eqz p1, :cond_1eb

    iget-object p1, p1, Lk4/c;->W:Lk4/c0;

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

    .line 1
    iget-object p1, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->H:Ls4/o;

    if-eqz p1, :cond_1e7

    const-string v2, "context"

    .line 2
    invoke-static {p0, v2}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    iget-object v2, p1, Ls4/o;->k:Landroidx/lifecycle/t;

    const-string v4, ""

    const-string v5, "default"

    .line 3
    invoke-static {v4, v5}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    const-string v6, "game_centre"

    const/4 v7, 0x0

    invoke-virtual {p0, v6, v7}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v8

    const-string v9, "USER_NAME"

    invoke-interface {v8, v9, v4}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    if-nez v8, :cond_90

    move-object v8, v4

    .line 4
    :cond_90
    invoke-virtual {v2, v8}, Landroidx/lifecycle/t;->k(Ljava/lang/Object;)V

    .line 5
    invoke-static {v4, v5}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {p0, v6, v7}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v2

    const-string v8, "USER_IMAGE"

    invoke-interface {v2, v8, v4}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    if-nez v2, :cond_a3

    move-object v2, v4

    .line 6
    :cond_a3
    iget-object p1, p1, Ls4/o;->m:Landroidx/lifecycle/t;

    invoke-static {v2}, Lp9/h;->s(Ljava/lang/CharSequence;)Z

    move-result v9

    if-eqz v9, :cond_ad

    move-object v2, v1

    goto :goto_b1

    :cond_ad
    invoke-static {v2}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    :goto_b1
    invoke-virtual {p1, v2}, Landroidx/lifecycle/t;->k(Ljava/lang/Object;)V

    .line 7
    invoke-static {v4, v5}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {p0, v6, v7}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object p1

    invoke-interface {p1, v8, v4}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    if-nez p1, :cond_c2

    goto :goto_c3

    :cond_c2
    move-object v4, p1

    .line 8
    :goto_c3
    iget-object p1, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->H:Ls4/o;

    if-eqz p1, :cond_1e3

    invoke-static {v4}, Lp9/h;->s(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_cf

    move-object v2, v1

    goto :goto_d3

    :cond_cf
    invoke-static {v4}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    .line 9
    :goto_d3
    iget-object p1, p1, Ls4/o;->n:Landroidx/lifecycle/t;

    invoke-virtual {p1, v2}, Landroidx/lifecycle/t;->k(Ljava/lang/Object;)V

    .line 10
    iget-object p1, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->G:Lk4/c;

    if-eqz p1, :cond_1df

    iget-object p1, p1, Lk4/c;->T:Lk4/a0;

    iget-object p1, p1, Lk4/a0;->K:Lcom/google/android/material/button/MaterialButton;

    new-instance v2, Li4/h;

    const/4 v4, 0x3

    invoke-direct {v2, p0, v4}, Li4/h;-><init>(Lcom/floydwiz/gamingcenter/activities/MainActivity;I)V

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

    .line 11
    iget-object p1, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->H:Ls4/o;

    if-eqz p1, :cond_1db

    .line 12
    iget-object p1, p1, Ls4/o;->h:Landroidx/lifecycle/t;

    .line 13
    new-instance v2, Li4/k;

    invoke-direct {v2, p0, v4}, Li4/k;-><init>(Lcom/floydwiz/gamingcenter/activities/MainActivity;I)V

    invoke-virtual {p1, p0, v2}, Landroidx/lifecycle/LiveData;->e(Landroidx/lifecycle/n;Landroidx/lifecycle/u;)V

    .line 14
    iget-object p1, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->G:Lk4/c;

    if-eqz p1, :cond_1d7

    iget-object p1, p1, Lk4/c;->W:Lk4/c0;

    iget-object p1, p1, Lk4/c0;->Q:Landroid/widget/ImageView;

    new-instance v2, Li4/h;

    invoke-direct {v2, p0, v7}, Li4/h;-><init>(Lcom/floydwiz/gamingcenter/activities/MainActivity;I)V

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

    iget-object p1, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->G:Lk4/c;

    if-eqz p1, :cond_1d3

    iget-object p1, p1, Lk4/c;->U:Landroid/widget/ImageView;

    new-instance v2, Li4/h;

    const/4 v4, 0x1

    invoke-direct {v2, p0, v4}, Li4/h;-><init>(Lcom/floydwiz/gamingcenter/activities/MainActivity;I)V

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

    iget-object p1, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->G:Lk4/c;

    if-eqz p1, :cond_1cf

    iget-object p1, p1, Lk4/c;->P:Landroid/widget/ImageView;

    new-instance v0, Li4/h;

    const/4 v2, 0x2

    invoke-direct {v0, p0, v2}, Li4/h;-><init>(Lcom/floydwiz/gamingcenter/activities/MainActivity;I)V

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

    .line 15
    iget-object p1, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->H:Ls4/o;

    if-eqz p1, :cond_1cb

    .line 16
    iget-object p1, p1, Ls4/o;->c:Landroidx/lifecycle/t;

    .line 17
    new-instance v0, Li4/k;

    invoke-direct {v0, p0, v2}, Li4/k;-><init>(Lcom/floydwiz/gamingcenter/activities/MainActivity;I)V

    invoke-virtual {p1, p0, v0}, Landroidx/lifecycle/LiveData;->e(Landroidx/lifecycle/n;Landroidx/lifecycle/u;)V

    .line 18
    iget-object p1, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->H:Ls4/o;

    if-eqz p1, :cond_1c7

    .line 19
    new-instance v0, Landroidx/lifecycle/t;

    invoke-direct {v0}, Landroidx/lifecycle/t;-><init>()V

    sget-object v2, Lp4/b;->a:Lp4/b;

    invoke-virtual {v2}, Lp4/b;->a()Lp4/a;

    move-result-object v2

    new-instance v5, Lcom/floydwiz/gamingcenter/models/network/GameCentreDataRequest;

    invoke-direct {v5}, Lcom/floydwiz/gamingcenter/models/network/GameCentreDataRequest;-><init>()V

    invoke-interface {v2, v5}, Lp4/a;->c(Lcom/floydwiz/gamingcenter/models/network/GameCentreDataRequest;)Lya/b;

    move-result-object v2

    new-instance v5, Ls4/j;

    invoke-direct {v5, v0, p1}, Ls4/j;-><init>(Landroidx/lifecycle/t;Ls4/o;)V

    invoke-interface {v2, v5}, Lya/b;->o(Lya/d;)V

    .line 20
    new-instance p1, Li4/k;

    invoke-direct {p1, p0, v4}, Li4/k;-><init>(Lcom/floydwiz/gamingcenter/activities/MainActivity;I)V

    invoke-virtual {v0, p0, p1}, Landroidx/lifecycle/LiveData;->e(Landroidx/lifecycle/n;Landroidx/lifecycle/u;)V

    .line 21
    sget-object p1, Lcom/floydwiz/gamingcenter/utils/network/AnalyticsHelper;->INSTANCE:Lcom/floydwiz/gamingcenter/utils/network/AnalyticsHelper;

    sget-object v0, Lcom/floydwiz/gamingcenter/utils/network/AnalyticsHelper$a;->r:Lcom/floydwiz/gamingcenter/utils/network/AnalyticsHelper$a;

    new-instance v2, Lorg/json/JSONObject;

    invoke-direct {v2}, Lorg/json/JSONObject;-><init>()V

    const-string v5, "ACTIVITY_NAME"

    const-string v6, "MainActivity"

    invoke-virtual {v2, v5, v6}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v2

    invoke-virtual {p1, v0, v2}, Lcom/floydwiz/gamingcenter/utils/network/AnalyticsHelper;->postEvent(Lcom/floydwiz/gamingcenter/utils/network/AnalyticsHelper$a;Lorg/json/JSONObject;)V

    iget-object p1, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->H:Ls4/o;

    if-eqz p1, :cond_1c3

    .line 22
    iget-boolean v0, p1, Ls4/o;->s:Z

    if-nez v0, :cond_1c2

    if-eqz p1, :cond_1be

    .line 23
    iput-boolean v4, p1, Ls4/o;->s:Z

    .line 24
    invoke-static {p0}, Lcom/bumptech/glide/b;->b(Landroid/content/Context;)Lcom/bumptech/glide/b;

    move-result-object p1

    .line 25
    iget-object p1, p1, Lcom/bumptech/glide/b;->w:Lz3/m;

    .line 26
    invoke-virtual {p1, p0}, Lz3/m;->c(Landroidx/fragment/app/r;)Lcom/bumptech/glide/i;

    move-result-object p1

    .line 27
    invoke-virtual {p1}, Lcom/bumptech/glide/i;->i()Lcom/bumptech/glide/h;

    move-result-object p1

    iget-object v0, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->H:Ls4/o;

    if-eqz v0, :cond_1ba

    .line 28
    iget-object v0, v0, Ls4/o;->x:Ljava/lang/String;

    .line 29
    invoke-virtual {p1, v0}, Lcom/bumptech/glide/h;->D(Ljava/lang/Object;)Lcom/bumptech/glide/h;

    move-result-object p1

    .line 30
    sget-object v0, Lm3/k;->a:Lm3/k;

    invoke-virtual {p1, v0}, Lc4/a;->d(Lm3/k;)Lc4/a;

    move-result-object p1

    check-cast p1, Lcom/bumptech/glide/h;

    invoke-virtual {p1, v4}, Lc4/a;->q(Z)Lc4/a;

    move-result-object p1

    check-cast p1, Lcom/bumptech/glide/h;

    sget-object v0, Lcom/bumptech/glide/f;->r:Lcom/bumptech/glide/f;

    invoke-virtual {p1, v0}, Lc4/a;->l(Lcom/bumptech/glide/f;)Lc4/a;

    move-result-object p1

    check-cast p1, Lcom/bumptech/glide/h;

    invoke-virtual {p1}, Lc4/a;->f()Lc4/a;

    move-result-object p1

    check-cast p1, Lcom/bumptech/glide/h;

    new-instance v0, Li4/l;

    invoke-direct {v0, p0}, Li4/l;-><init>(Lcom/floydwiz/gamingcenter/activities/MainActivity;)V

    .line 31
    sget-object v2, Lg4/e;->a:Ljava/util/concurrent/Executor;

    .line 32
    invoke-virtual {p1, v0, v1, p1, v2}, Lcom/bumptech/glide/h;->B(Ld4/g;Lc4/e;Lc4/a;Ljava/util/concurrent/Executor;)Ld4/g;

    goto :goto_1c2

    .line 33
    :cond_1ba
    invoke-static {v3}, Lx/e;->m(Ljava/lang/String;)V

    throw v1

    .line 34
    :cond_1be
    invoke-static {v3}, Lx/e;->m(Ljava/lang/String;)V

    throw v1

    :cond_1c2
    :goto_1c2
    return-void

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

    throw v1

    .line 35
    :cond_1c7
    invoke-static {v3}, Lx/e;->m(Ljava/lang/String;)V

    throw v1

    .line 36
    :cond_1cb
    invoke-static {v3}, Lx/e;->m(Ljava/lang/String;)V

    throw v1

    .line 37
    :cond_1cf
    invoke-static {v0}, Lx/e;->m(Ljava/lang/String;)V

    throw v1

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

    throw v1

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

    throw v1

    .line 38
    :cond_1db
    invoke-static {v3}, Lx/e;->m(Ljava/lang/String;)V

    throw v1

    .line 39
    :cond_1df
    invoke-static {v0}, Lx/e;->m(Ljava/lang/String;)V

    throw v1

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

    throw v1

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

    throw v1

    .line 40
    :cond_1eb
    invoke-static {v0}, Lx/e;->m(Ljava/lang/String;)V

    throw v1

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

    throw v1

    :cond_1f3
    const-string p1, "headerViewModel"

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

    throw v1

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

    throw v1

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

    throw v1

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

    throw v1

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

    throw v1

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

    throw v1
.end method

.method public onResume()V
    .registers 10

    invoke-super {p0}, Landroidx/fragment/app/r;->onResume()V

    iget-object v0, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->H:Ls4/o;

    const-string v1, "viewModel"

    const/4 v2, 0x0

    if-eqz v0, :cond_47

    invoke-virtual {v0, p0}, Ls4/o;->e(Landroid/content/Context;)V

    iget-object v0, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->H:Ls4/o;

    if-eqz v0, :cond_43

    invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    const-string v1, "context"

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

    new-instance v1, Lo4/a;

    invoke-direct {v1, p0}, Lo4/a;-><init>(Landroid/content/Context;)V

    invoke-static {v0}, Lp/a;->e(Landroidx/lifecycle/c0;)Lq9/w;

    move-result-object v3

    new-instance v6, Ls4/p;

    invoke-direct {v6, v0, v1, p0, v2}, Ls4/p;-><init>(Ls4/o;Lo4/a;Landroid/content/Context;Lb9/d;)V

    const/4 v5, 0x0

    const/4 v7, 0x3

    const/4 v8, 0x0

    const/4 v4, 0x0

    invoke-static/range {v3 .. v8}, Le/j;->d(Lq9/w;Lb9/f;Lq9/x;Lh9/c;ILjava/lang/Object;)Lq9/t0;

    .line 2
    sget-object v0, Lcom/floydwiz/gamingcenter/utils/network/AnalyticsHelper;->INSTANCE:Lcom/floydwiz/gamingcenter/utils/network/AnalyticsHelper;

    sget-object v1, Lcom/floydwiz/gamingcenter/utils/network/AnalyticsHelper$a;->v:Lcom/floydwiz/gamingcenter/utils/network/AnalyticsHelper$a;

    new-instance v2, Lorg/json/JSONObject;

    invoke-direct {v2}, Lorg/json/JSONObject;-><init>()V

    const-string v3, "ACTIVITY_NAME"

    const-string v4, "MainActivity"

    invoke-virtual {v2, v3, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/floydwiz/gamingcenter/utils/network/AnalyticsHelper;->postEvent(Lcom/floydwiz/gamingcenter/utils/network/AnalyticsHelper$a;Lorg/json/JSONObject;)V

    return-void

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

    throw v2

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

    throw v2
.end method

.method public final v()V
    .registers 10

    iget-object v0, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->H:Ls4/o;

    const/4 v1, 0x0

    const-string v2, "viewModel"

    if-eqz v0, :cond_8b

    .line 1
    iget-object v0, v0, Ls4/o;->h:Landroidx/lifecycle/t;

    .line 2
    sget-object v3, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;

    invoke-virtual {v0, v3}, Landroidx/lifecycle/t;->k(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->H:Ls4/o;

    if-eqz v0, :cond_87

    .line 3
    invoke-static {v0}, Lp/a;->e(Landroidx/lifecycle/c0;)Lq9/w;

    move-result-object v3

    new-instance v6, Ls4/n;

    invoke-direct {v6, v0, p0, v1}, Ls4/n;-><init>(Ls4/o;Landroid/content/Context;Lb9/d;)V

    const/4 v4, 0x0

    const/4 v5, 0x0

    const/4 v7, 0x3

    const/4 v8, 0x0

    invoke-static/range {v3 .. v8}, Le/j;->d(Lq9/w;Lb9/f;Lq9/x;Lh9/c;ILjava/lang/Object;)Lq9/t0;

    .line 4
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v3, 0x7f0d0033

    const/4 v4, 0x0

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

    move-result-object v0

    check-cast v0, Lk4/k;

    if-nez v0, :cond_33

    goto :goto_3a

    :cond_33
    iget-object v3, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->H:Ls4/o;

    if-eqz v3, :cond_83

    invoke-virtual {v0, v3}, Lk4/k;->t0(Ls4/o;)V

    :goto_3a
    if-nez v0, :cond_3d

    goto :goto_40

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

    :goto_40
    new-instance v2, Landroidx/appcompat/app/b$a;

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

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

    move-result-object v2

    iput-object v2, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->K:Landroidx/appcompat/app/b;

    invoke-virtual {v2}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;

    move-result-object v2

    if-nez v2, :cond_52

    goto :goto_5e

    :cond_52
    const v3, 0x7f080086

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

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

    move-result-object v3

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

    :goto_5e
    iget-object v2, p0, Lcom/floydwiz/gamingcenter/activities/MainActivity;->K:Landroidx/appcompat/app/b;

    if-nez v2, :cond_63

    goto :goto_71

    :cond_63
    if-nez v0, :cond_66

    goto :goto_68

    .line 7
    :cond_66
    iget-object v1, v0, Landroidx/databinding/ViewDataBinding;->v:Landroid/view/View;

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

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

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

    :goto_71
    if-nez v0, :cond_74

    goto :goto_82

    :cond_74
    iget-object v0, v0, Lk4/k;->K:Landroid/widget/ImageView;

    if-nez v0, :cond_79

    goto :goto_82

    :cond_79
    new-instance v1, Li4/h;

    const/4 v2, 0x4

    invoke-direct {v1, p0, v2}, Li4/h;-><init>(Lcom/floydwiz/gamingcenter/activities/MainActivity;I)V

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

    :goto_82
    return-void

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

    throw v1

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

    throw v1

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

    throw v1
.end method
