Skip to content

Instantly share code, notes, and snippets.

@nemanjan00

nemanjan00/A03.smali

Created Feb 21, 2020
Embed
What would you like to do?
.class public final LX/A03;
.super Ljava/lang/Object;
.source ""
# direct methods
.method public static parseFromJson(LX/0j7;)LX/A1N;
.locals 4
.line 0
new-instance v2, LX/A1N;
.line 1
.line 2
invoke-direct {v2}, LX/A1N;-><init>()V
.line 3
.line 4
.line 5
invoke-virtual {p0}, LX/0j7;->getCurrentToken()LX/0jW;
.line 6
.line 7
.line 8
move-result-object v1
.line 9
sget-object v0, LX/0jW;->START_OBJECT:LX/0jW;
.line 10
.line 11
if-eq v1, v0, :cond_0
.line 12
.line 13
invoke-virtual {p0}, LX/0j7;->skipChildren()LX/0j7;
.line 14
.line 15
.line 16
const/4 v0, 0x0
.line 17
return-object v0
.line 18
:cond_0
:goto_0
invoke-virtual {p0}, LX/0j7;->nextToken()LX/0jW;
.line 19
.line 20
.line 21
move-result-object v1
.line 22
sget-object v0, LX/0jW;->END_OBJECT:LX/0jW;
.line 23
.line 24
if-eq v1, v0, :cond_11
.line 25
.line 26
invoke-virtual {p0}, LX/0j7;->getCurrentName()Ljava/lang/String;
.line 27
.line 28
.line 29
move-result-object v1
.line 30
invoke-virtual {p0}, LX/0j7;->nextToken()LX/0jW;
.line 31
.line 32
.line 33
const-string v0, "formatted_time_remaining"
.line 34
.line 35
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
.line 36
.line 37
.line 38
move-result v0
.line 39
const/4 v3, 0x0
.line 40
if-eqz v0, :cond_3
.line 41
.line 42
invoke-virtual {p0}, LX/0j7;->getCurrentToken()LX/0jW;
.line 43
.line 44
.line 45
move-result-object v1
.line 46
sget-object v0, LX/0jW;->VALUE_NULL:LX/0jW;
.line 47
.line 48
if-eq v1, v0, :cond_1
.line 49
.line 50
invoke-virtual {p0}, LX/0j7;->getText()Ljava/lang/String;
.line 51
.line 52
.line 53
move-result-object v3
.line 54
:cond_1
iput-object v3, v2, LX/A1N;->A06:Ljava/lang/String;
.line 55
.line 56
:cond_2
:goto_1
invoke-virtual {p0}, LX/0j7;->skipChildren()LX/0j7;
.line 57
.line 58
.line 59
goto :goto_0
.line 60
:cond_3
const-string v0, "boosting_status"
.line 61
.line 62
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
.line 63
.line 64
.line 65
move-result v0
.line 66
if-eqz v0, :cond_4
.line 67
.line 68
invoke-virtual {p0}, LX/0j7;->getValueAsString()Ljava/lang/String;
.line 69
.line 70
.line 71
move-result-object v0
.line 72
invoke-static {v0}, LX/7uG;->A00(Ljava/lang/String;)Ljava/lang/Integer;
.line 73
.line 74
.line 75
move-result-object v0
.line 76
iput-object v0, v2, LX/A1N;->A02:Ljava/lang/Integer;
.line 77
.line 78
goto :goto_1
.line 79
:cond_4
const-string v0, "appeal_status"
.line 80
.line 81
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
.line 82
.line 83
.line 84
move-result v0
.line 85
if-eqz v0, :cond_5
.line 86
.line 87
invoke-virtual {p0}, LX/0j7;->getValueAsString()Ljava/lang/String;
.line 88
.line 89
.line 90
move-result-object v0
.line 91
invoke-static {v0}, LX/3zr;->A00(Ljava/lang/String;)Ljava/lang/Integer;
.line 92
.line 93
.line 94
move-result-object v0
.line 95
iput-object v0, v2, LX/A1N;->A01:Ljava/lang/Integer;
.line 96
.line 97
goto :goto_1
.line 98
:cond_5
const/16 v0, 0xcc
.line 99
.line 100
invoke-static {v0}, LX/05g;->$const$string(I)Ljava/lang/String;
.line 101
.line 102
.line 103
move-result-object v0
.line 104
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
.line 105
.line 106
.line 107
move-result v0
.line 108
if-eqz v0, :cond_7
.line 109
.line 110
invoke-virtual {p0}, LX/0j7;->getCurrentToken()LX/0jW;
.line 111
.line 112
.line 113
move-result-object v1
.line 114
sget-object v0, LX/0jW;->VALUE_NULL:LX/0jW;
.line 115
.line 116
if-eq v1, v0, :cond_6
.line 117
.line 118
invoke-virtual {p0}, LX/0j7;->getText()Ljava/lang/String;
.line 119
.line 120
.line 121
move-result-object v3
.line 122
:cond_6
iput-object v3, v2, LX/A1N;->A08:Ljava/lang/String;
.line 123
.line 124
goto :goto_1
.line 125
:cond_7
const-string v0, "formatted_total_budget"
.line 126
.line 127
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
.line 128
.line 129
.line 130
move-result v0
.line 131
if-eqz v0, :cond_9
.line 132
.line 133
invoke-virtual {p0}, LX/0j7;->getCurrentToken()LX/0jW;
.line 134
.line 135
.line 136
move-result-object v1
.line 137
sget-object v0, LX/0jW;->VALUE_NULL:LX/0jW;
.line 138
.line 139
if-eq v1, v0, :cond_8
.line 140
.line 141
invoke-virtual {p0}, LX/0j7;->getText()Ljava/lang/String;
.line 142
.line 143
.line 144
move-result-object v3
.line 145
:cond_8
iput-object v3, v2, LX/A1N;->A07:Ljava/lang/String;
.line 146
.line 147
goto :goto_1
.line 148
:cond_9
const-string v0, "formatted_spent_budget"
.line 149
.line 150
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
.line 151
.line 152
.line 153
move-result v0
.line 154
if-eqz v0, :cond_b
.line 155
.line 156
invoke-virtual {p0}, LX/0j7;->getCurrentToken()LX/0jW;
.line 157
.line 158
.line 159
move-result-object v1
.line 160
sget-object v0, LX/0jW;->VALUE_NULL:LX/0jW;
.line 161
.line 162
if-eq v1, v0, :cond_a
.line 163
.line 164
invoke-virtual {p0}, LX/0j7;->getText()Ljava/lang/String;
.line 165
.line 166
.line 167
move-result-object v3
.line 168
:cond_a
iput-object v3, v2, LX/A1N;->A05:Ljava/lang/String;
.line 169
.line 170
goto :goto_1
.line 171
:cond_b
const-string v0, "boosted_id"
.line 172
.line 173
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
.line 174
.line 175
.line 176
move-result v0
.line 177
if-nez v0, :cond_10
.line 178
.line 179
const-string v0, "ads_media_igid"
.line 180
.line 181
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
.line 182
.line 183
.line 184
move-result v0
.line 185
if-nez v0, :cond_10
.line 186
.line 187
const-string v0, "organic_media_igid"
.line 188
.line 189
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
.line 190
.line 191
.line 192
move-result v0
.line 193
if-nez v0, :cond_10
.line 194
.line 195
const-string v0, "audience_name"
.line 196
.line 197
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
.line 198
.line 199
.line 200
move-result v0
.line 201
if-eqz v0, :cond_d
.line 202
.line 203
invoke-virtual {p0}, LX/0j7;->getCurrentToken()LX/0jW;
.line 204
.line 205
.line 206
move-result-object v1
.line 207
sget-object v0, LX/0jW;->VALUE_NULL:LX/0jW;
.line 208
.line 209
if-eq v1, v0, :cond_c
.line 210
.line 211
invoke-virtual {p0}, LX/0j7;->getText()Ljava/lang/String;
.line 212
.line 213
.line 214
move-result-object v3
.line 215
:cond_c
iput-object v3, v2, LX/A1N;->A03:Ljava/lang/String;
.line 216
.line 217
goto/16 :goto_1
.line 218
.line 219
:cond_d
const-string v0, "cta_type"
.line 220
.line 221
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
.line 222
.line 223
.line 224
move-result v0
.line 225
if-eqz v0, :cond_f
.line 226
.line 227
invoke-virtual {p0}, LX/0j7;->getCurrentToken()LX/0jW;
.line 228
.line 229
.line 230
move-result-object v1
.line 231
sget-object v0, LX/0jW;->VALUE_NULL:LX/0jW;
.line 232
.line 233
if-eq v1, v0, :cond_e
.line 234
.line 235
invoke-virtual {p0}, LX/0j7;->getText()Ljava/lang/String;
.line 236
.line 237
.line 238
move-result-object v3
.line 239
:cond_e
iput-object v3, v2, LX/A1N;->A04:Ljava/lang/String;
.line 240
.line 241
goto/16 :goto_1
.line 242
.line 243
:cond_f
const-string v0, "metric"
.line 244
.line 245
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
.line 246
.line 247
.line 248
move-result v0
.line 249
if-eqz v0, :cond_2
.line 250
.line 251
invoke-static {p0}, LX/6lW;->parseFromJson(LX/0j7;)LX/6lX;
.line 252
.line 253
.line 254
move-result-object v0
.line 255
iput-object v0, v2, LX/A1N;->A00:LX/6lX;
.line 256
.line 257
goto/16 :goto_1
.line 258
.line 259
:cond_10
invoke-virtual {p0}, LX/0j7;->getCurrentToken()LX/0jW;
.line 260
.line 261
.line 262
move-result-object v1
.line 263
sget-object v0, LX/0jW;->VALUE_NULL:LX/0jW;
.line 264
.line 265
if-eq v1, v0, :cond_2
.line 266
.line 267
invoke-virtual {p0}, LX/0j7;->getText()Ljava/lang/String;
.line 268
.line 269
.line 270
goto/16 :goto_1
.line 271
.line 272
:cond_11
return-object v2
.end method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.