Q.smali

.class Lcom/sandboxol/gamedetail/view/fragment/detail/Q;
.super Ljava/lang/Object;
.source "GameDetailDataLogic.java"

# interfaces
.implements Lcom/sandboxol/greendao/a/c;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/sandboxol/gamedetail/view/fragment/detail/U;->a(Lcom/sandboxol/gamedetail/view/fragment/detail/GameDetailFragment;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lcom/sandboxol/greendao/a/c<",
        "Lcom/sandboxol/greendao/entity/Game;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/sandboxol/gamedetail/view/fragment/detail/GameDetailFragment;

.field final synthetic b:Lcom/sandboxol/gamedetail/view/fragment/detail/U;


# direct methods
.method constructor <init>(Lcom/sandboxol/gamedetail/view/fragment/detail/U;Lcom/sandboxol/gamedetail/view/fragment/detail/GameDetailFragment;)V
    .registers 3

    .line 1
    iput-object p1, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Q;->b:Lcom/sandboxol/gamedetail/view/fragment/detail/U;

    iput-object p2, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Q;->a:Lcom/sandboxol/gamedetail/view/fragment/detail/GameDetailFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Lcom/sandboxol/greendao/entity/Game;)V
    .registers 6

    if-eqz p1, :cond_2b

    .line 1
    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Q;->a:Lcom/sandboxol/gamedetail/view/fragment/detail/GameDetailFragment;

    invoke-virtual {v0}, Lcom/sandboxol/gamedetail/view/fragment/detail/GameDetailFragment;->h()Lcom/sandboxol/gamedetail/view/fragment/detail/ua;

    move-result-object v0

    invoke-virtual {v0}, Lcom/sandboxol/gamedetail/view/fragment/detail/ua;->j()Lcom/sandboxol/greendao/entity/Game;

    move-result-object v0

    invoke-static {v0}, Lcom/sandboxol/center/utils/GameConversionUtil;->isNonOnlineBetaGame(Lcom/sandboxol/greendao/entity/Game;)Z

    move-result v0

    if-eqz v0, :cond_13

    goto :goto_2b

    .line 2
    :cond_13
    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Q;->b:Lcom/sandboxol/gamedetail/view/fragment/detail/U;

    invoke-static {v0, p1}, Lcom/sandboxol/gamedetail/view/fragment/detail/U;->a(Lcom/sandboxol/gamedetail/view/fragment/detail/U;Lcom/sandboxol/greendao/entity/Game;)V

    .line 3
    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Q;->b:Lcom/sandboxol/gamedetail/view/fragment/detail/U;

    const/4 v1, 0x2

    invoke-static {v0}, Lcom/sandboxol/gamedetail/view/fragment/detail/U;->a(Lcom/sandboxol/gamedetail/view/fragment/detail/U;)Lcom/sandboxol/gamedetail/view/fragment/detail/Qa;

    move-result-object v2

    iget-object v3, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Q;->a:Lcom/sandboxol/gamedetail/view/fragment/detail/GameDetailFragment;

    invoke-virtual {v3}, Lcom/sandboxol/gamedetail/view/fragment/detail/GameDetailFragment;->h()Lcom/sandboxol/gamedetail/view/fragment/detail/ua;

    move-result-object v3

    iget-object v3, v3, Lcom/sandboxol/gamedetail/view/fragment/detail/ua;->B:Landroidx/databinding/ObservableField;

    invoke-static {v0, p1, v1, v2, v3}, Lcom/sandboxol/gamedetail/view/fragment/detail/U;->a(Lcom/sandboxol/gamedetail/view/fragment/detail/U;Lcom/sandboxol/greendao/entity/Game;ILcom/sandboxol/gamedetail/view/fragment/detail/Qa;Landroidx/databinding/ObservableField;)V

    goto :goto_49

    .line 4
    :cond_2b
    :goto_2b
    iget-object p1, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Q;->b:Lcom/sandboxol/gamedetail/view/fragment/detail/U;

    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Q;->a:Lcom/sandboxol/gamedetail/view/fragment/detail/GameDetailFragment;

    invoke-virtual {v0}, Lcom/sandboxol/gamedetail/view/fragment/detail/GameDetailFragment;->h()Lcom/sandboxol/gamedetail/view/fragment/detail/ua;

    move-result-object v0

    invoke-virtual {v0}, Lcom/sandboxol/gamedetail/view/fragment/detail/ua;->j()Lcom/sandboxol/greendao/entity/Game;

    move-result-object v0

    const/4 v1, 0x1

    iget-object v2, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Q;->b:Lcom/sandboxol/gamedetail/view/fragment/detail/U;

    invoke-static {v2}, Lcom/sandboxol/gamedetail/view/fragment/detail/U;->a(Lcom/sandboxol/gamedetail/view/fragment/detail/U;)Lcom/sandboxol/gamedetail/view/fragment/detail/Qa;

    move-result-object v2

    iget-object v3, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Q;->a:Lcom/sandboxol/gamedetail/view/fragment/detail/GameDetailFragment;

    invoke-virtual {v3}, Lcom/sandboxol/gamedetail/view/fragment/detail/GameDetailFragment;->h()Lcom/sandboxol/gamedetail/view/fragment/detail/ua;

    move-result-object v3

    iget-object v3, v3, Lcom/sandboxol/gamedetail/view/fragment/detail/ua;->B:Landroidx/databinding/ObservableField;

    invoke-static {p1, v0, v1, v2, v3}, Lcom/sandboxol/gamedetail/view/fragment/detail/U;->a(Lcom/sandboxol/gamedetail/view/fragment/detail/U;Lcom/sandboxol/greendao/entity/Game;ILcom/sandboxol/gamedetail/view/fragment/detail/Qa;Landroidx/databinding/ObservableField;)V

    :goto_49
    return-void
.end method

.method public onError(ILjava/lang/String;)V
    .registers 3

    return-void
.end method

.method public bridge synthetic onSuccess(Ljava/lang/Object;)V
    .registers 2

    .line 1
    check-cast p1, Lcom/sandboxol/greendao/entity/Game;

    invoke-virtual {p0, p1}, Lcom/sandboxol/gamedetail/view/fragment/detail/Q;->a(Lcom/sandboxol/greendao/entity/Game;)V

    return-void
.end method