h.smali
.class Lcom/keniu/security/update/c/h;
.super Ljava/lang/Object;
.source "ItemCloudMessage2ReqVer.java"
# interfaces
.implements Lcom/keniu/security/update/a/a$a;
# instance fields
.field final synthetic a:Ljava/lang/String;
.field final synthetic b:Lcom/keniu/security/update/c/g;
# direct methods
.method constructor <init>(Lcom/keniu/security/update/c/g;Ljava/lang/String;)V
.registers 3
.prologue
.line 96
iput-object p1, p0, Lcom/keniu/security/update/c/h;->b:Lcom/keniu/security/update/c/g;
iput-object p2, p0, Lcom/keniu/security/update/c/h;->a:Ljava/lang/String;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(IIILjava/lang/Object;)V
.registers 10
.prologue
const/16 v1, 0x3e8
const/4 v0, 0x3
.line 101
const/4 v2, 0x0
.line 103
if-ne p1, v0, :cond_71
if-ne p2, v1, :cond_71
.line 104
:try_start_8
new-instance v1, Ljava/io/BufferedReader;
new-instance v0, Ljava/io/FileReader;
new-instance v3, Ljava/io/File;
iget-object v4, p0, Lcom/keniu/security/update/c/h;->a:Ljava/lang/String;
invoke-direct {v3, v4}, Ljava/io/File;-><init>(Ljava/lang/String;)V
invoke-direct {v0, v3}, Ljava/io/FileReader;-><init>(Ljava/io/File;)V
invoke-direct {v1, v0}, Ljava/io/BufferedReader;-><init>(Ljava/io/Reader;)V
:try_end_19
.catch Lorg/json/JSONException; {:try_start_8 .. :try_end_19} :catch_7b
.catch Ljava/lang/Exception; {:try_start_8 .. :try_end_19} :catch_83
.catchall {:try_start_8 .. :try_end_19} :catchall_97
.line 105
:try_start_19
new-instance v0, Ljava/lang/StringBuffer;
invoke-direct {v0}, Ljava/lang/StringBuffer;-><init>()V
.line 107
:goto_1e
invoke-virtual {v1}, Ljava/io/BufferedReader;->readLine()Ljava/lang/String;
move-result-object v2
if-eqz v2, :cond_3e
.line 108
invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
:try_end_27
.catch Lorg/json/JSONException; {:try_start_19 .. :try_end_27} :catch_28
.catch Ljava/lang/Exception; {:try_start_19 .. :try_end_27} :catch_a6
.catchall {:try_start_19 .. :try_end_27} :catchall_a4
goto :goto_1e
.line 124
:catch_28
move-exception v0
.line 125
:goto_29
:try_start_29
iget-object v2, p0, Lcom/keniu/security/update/c/h;->b:Lcom/keniu/security/update/c/g;
invoke-static {v2}, Lcom/keniu/security/update/c/g;->b(Lcom/keniu/security/update/c/g;)V
.line 126
invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V
.line 127
iget-object v0, p0, Lcom/keniu/security/update/c/h;->b:Lcom/keniu/security/update/c/g;
const/16 v2, 0x3f8
invoke-static {v0, v2}, Lcom/keniu/security/update/c/g;->a(Lcom/keniu/security/update/c/g;I)V
:try_end_38
.catchall {:try_start_29 .. :try_end_38} :catchall_a4
.line 132
if-eqz v1, :cond_3d
.line 134
:try_start_3a
invoke-virtual {v1}, Ljava/io/BufferedReader;->close()V
:try_end_3d
.catch Ljava/io/IOException; {:try_start_3a .. :try_end_3d} :catch_7e
.line 140
:cond_3d
:goto_3d
return-void
.line 110
:cond_3e
:try_start_3e
invoke-virtual {v0}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;
move-result-object v0
.line 111
invoke-static {}, Lcom/keniu/security/update/a/f;->a()Lcom/keniu/security/update/a/f;
move-result-object v2
invoke-virtual {v2, v0}, Lcom/keniu/security/update/a/f;->a(Ljava/lang/String;)V
.line 112
new-instance v2, Lorg/json/JSONObject;
invoke-direct {v2, v0}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V
.line 113
if-eqz v2, :cond_65
.line 115
iget-object v0, p0, Lcom/keniu/security/update/c/h;->b:Lcom/keniu/security/update/c/g;
iget-object v2, p0, Lcom/keniu/security/update/c/h;->b:Lcom/keniu/security/update/c/g;
invoke-static {v2}, Lcom/keniu/security/update/c/g;->a(Lcom/keniu/security/update/c/g;)Ljava/lang/String;
move-result-object v2
invoke-virtual {v0, v2}, Lcom/keniu/security/update/c/g;->a(Ljava/lang/String;)V
.line 117
iget-object v0, p0, Lcom/keniu/security/update/c/h;->b:Lcom/keniu/security/update/c/g;
invoke-static {v0, p2}, Lcom/keniu/security/update/c/g;->a(Lcom/keniu/security/update/c/g;I)V
.line 118
iget-object v0, p0, Lcom/keniu/security/update/c/h;->b:Lcom/keniu/security/update/c/g;
invoke-virtual {v0}, Lcom/keniu/security/update/c/g;->d()V
:try_end_65
.catch Lorg/json/JSONException; {:try_start_3e .. :try_end_65} :catch_28
.catch Ljava/lang/Exception; {:try_start_3e .. :try_end_65} :catch_a6
.catchall {:try_start_3e .. :try_end_65} :catchall_a4
:cond_65
move-object v2, v1
.line 132
:cond_66
:goto_66
if-eqz v2, :cond_3d
.line 134
:try_start_68
invoke-virtual {v2}, Ljava/io/BufferedReader;->close()V
:try_end_6b
.catch Ljava/io/IOException; {:try_start_68 .. :try_end_6b} :catch_6c
goto :goto_3d
.line 135
:catch_6c
move-exception v0
.line 136
invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V
goto :goto_3d
.line 120
:cond_71
if-ne p1, v0, :cond_66
if-eq p2, v1, :cond_66
.line 122
:try_start_75
iget-object v0, p0, Lcom/keniu/security/update/c/h;->b:Lcom/keniu/security/update/c/g;
invoke-static {v0, p2}, Lcom/keniu/security/update/c/g;->a(Lcom/keniu/security/update/c/g;I)V
:try_end_7a
.catch Lorg/json/JSONException; {:try_start_75 .. :try_end_7a} :catch_7b
.catch Ljava/lang/Exception; {:try_start_75 .. :try_end_7a} :catch_83
.catchall {:try_start_75 .. :try_end_7a} :catchall_97
goto :goto_66
.line 124
:catch_7b
move-exception v0
move-object v1, v2
goto :goto_29
.line 135
:catch_7e
move-exception v0
.line 136
invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V
goto :goto_3d
.line 128
:catch_83
move-exception v0
move-object v1, v2
.line 130
:goto_85
:try_start_85
iget-object v0, p0, Lcom/keniu/security/update/c/h;->b:Lcom/keniu/security/update/c/g;
const/16 v2, 0x3e9
invoke-static {v0, v2}, Lcom/keniu/security/update/c/g;->a(Lcom/keniu/security/update/c/g;I)V
:try_end_8c
.catchall {:try_start_85 .. :try_end_8c} :catchall_a4
.line 132
if-eqz v1, :cond_3d
.line 134
:try_start_8e
invoke-virtual {v1}, Ljava/io/BufferedReader;->close()V
:try_end_91
.catch Ljava/io/IOException; {:try_start_8e .. :try_end_91} :catch_92
goto :goto_3d
.line 135
:catch_92
move-exception v0
.line 136
invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V
goto :goto_3d
.line 132
:catchall_97
move-exception v0
move-object v1, v2
:goto_99
if-eqz v1, :cond_9e
.line 134
:try_start_9b
invoke-virtual {v1}, Ljava/io/BufferedReader;->close()V
:try_end_9e
.catch Ljava/io/IOException; {:try_start_9b .. :try_end_9e} :catch_9f
.line 137
:cond_9e
:goto_9e
throw v0
.line 135
:catch_9f
move-exception v1
.line 136
invoke-virtual {v1}, Ljava/io/IOException;->printStackTrace()V
goto :goto_9e
.line 132
:catchall_a4
move-exception v0
goto :goto_99
.line 128
:catch_a6
move-exception v0
goto :goto_85
.end method