Ga.smali

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

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


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;->a(Ljava/lang/String;II)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:Ljava/lang/String;

.field final synthetic b:I

.field final synthetic c:I

.field final synthetic d:Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;


# direct methods
.method constructor <init>(Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;Ljava/lang/String;II)V
    .registers 5

    .line 1
    iput-object p1, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;->d:Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;

    iput-object p2, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;->a:Ljava/lang/String;

    iput p3, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;->b:I

    iput p4, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;->c:I

    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-nez p1, :cond_1b

    .line 1
    iget-object p1, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;->d:Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;

    invoke-static {p1}, Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;->e(Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;)Lcom/sandboxol/gamedetail/view/fragment/detail/ra;

    move-result-object p1

    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;->a:Ljava/lang/String;

    iget v1, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;->b:I

    iget v2, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;->c:I

    invoke-static {v1, v2}, Lcom/sandboxol/center/router/moduleInfo/game/EngineEnv;->getEngineVersion(II)J

    move-result-wide v1

    new-instance v3, Lcom/sandboxol/gamedetail/view/fragment/detail/va;

    invoke-direct {v3, p0}, Lcom/sandboxol/gamedetail/view/fragment/detail/va;-><init>(Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;)V

    invoke-virtual {p1, v0, v1, v2, v3}, Lcom/sandboxol/gamedetail/view/fragment/detail/ra;->a(Ljava/lang/String;JLcom/sandboxol/common/base/web/OnResponseListener;)V

    goto :goto_20

    .line 2
    :cond_1b
    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;->d:Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;

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

    :goto_20
    return-void
.end method

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

    .line 1
    iget-object p1, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;->d:Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;

    invoke-static {p1}, Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;->a(Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;)Lcom/sandboxol/gamedetail/view/fragment/detail/Pa$a;

    move-result-object p1

    if-eqz p1, :cond_12

    .line 2
    iget-object p1, p0, Lcom/sandboxol/gamedetail/view/fragment/detail/Ga;->d:Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;

    invoke-static {p1}, Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;->a(Lcom/sandboxol/gamedetail/view/fragment/detail/Pa;)Lcom/sandboxol/gamedetail/view/fragment/detail/Pa$a;

    move-result-object p1

    const/4 p2, 0x0

    invoke-interface {p1, p2}, Lcom/sandboxol/gamedetail/view/fragment/detail/Pa$a;->a(Z)V

    :cond_12
    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/Ga;->a(Lcom/sandboxol/greendao/entity/Game;)V

    return-void
.end method