h$b$b.smali

.class Lw9/h$b$b;
.super Lw9/f$d;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lw9/h$b;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "b"
.end annotation


# instance fields
.field final synthetic a:Lw9/h$b;


# direct methods
.method private constructor <init>(Lw9/h$b;)V
    .registers 2

    iput-object p1, p0, Lw9/h$b$b;->a:Lw9/h$b;

    invoke-direct {p0}, Lw9/f$d;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lw9/h$b;Lw9/h$a;)V
    .registers 3

    invoke-direct {p0, p1}, Lw9/h$b$b;-><init>(Lw9/h$b;)V

    return-void
.end method


# virtual methods
.method public b(Lw9/g;)V
    .registers 4

    :try_start_0
    iget-object p1, p1, Lw9/g;->b:Lorg/json/JSONObject;

    const-string v0, "response"

    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object p1

    const-string v0, "upload_url"

    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    iget-object v0, p0, Lw9/h$b$b;->a:Lw9/h$b;

    iget-object v0, v0, Lw9/h$b;->f:Lw9/h;

    invoke-virtual {v0, p1}, Lw9/h;->h0(Ljava/lang/String;)Lx9/e;

    move-result-object p1

    new-instance v0, Lw9/h$b$b$a;

    invoke-direct {v0, p0}, Lw9/h$b$b$a;-><init>(Lw9/h$b$b;)V

    invoke-virtual {p1, v0}, Lx9/c;->o(Lx9/a$c;)V

    iget-object v0, p0, Lw9/h$b$b;->a:Lw9/h$b;

    iput-object p1, v0, Lw9/h$b;->e:Lx9/a;

    invoke-static {p1}, Lx9/b;->c(Lx9/a;)V
    :try_end_25
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_25} :catch_26

    goto :goto_41

    :catch_26
    move-exception p1

    new-instance v0, Lw9/c;

    const/16 v1, -0x68

    invoke-direct {v0, v1}, Lw9/c;-><init>(I)V

    iput-object p1, v0, Lw9/c;->c:Ljava/lang/Exception;

    invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;

    move-result-object p1

    iput-object p1, v0, Lw9/c;->g:Ljava/lang/String;

    iget-object p1, p0, Lw9/h$b$b;->a:Lw9/h$b;

    iget-object p1, p1, Lw9/h$b;->f:Lw9/h;

    iget-object p1, p1, Lw9/f;->o:Lw9/f$d;

    if-eqz p1, :cond_41

    invoke-virtual {p1, v0}, Lw9/f$d;->c(Lw9/c;)V

    :cond_41
    :goto_41
    return-void
.end method

.method public c(Lw9/c;)V
    .registers 3

    iget-object v0, p0, Lw9/h$b$b;->a:Lw9/h$b;

    iget-object v0, v0, Lw9/h$b;->f:Lw9/h;

    iget-object v0, v0, Lw9/f;->o:Lw9/f$d;

    if-eqz v0, :cond_b

    invoke-virtual {v0, p1}, Lw9/f$d;->c(Lw9/c;)V

    :cond_b
    return-void
.end method