441 lines
8.2 KiB
Smali
441 lines
8.2 KiB
Smali
.class public Lcom/in2wow/sdk/i/e$a;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/in2wow/sdk/i/e;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "a"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private a:Ljava/lang/String;
|
|
|
|
.field private b:Ljava/util/Set;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Set<",
|
|
"Ljava/lang/Integer;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private c:Ljava/util/Set;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Set<",
|
|
"[",
|
|
"Ljava/lang/Integer;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private d:I
|
|
|
|
.field private e:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/String;Ljava/util/Set;Ljava/util/Set;II)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/Set<",
|
|
"Ljava/lang/Integer;",
|
|
">;",
|
|
"Ljava/util/Set<",
|
|
"[",
|
|
"Ljava/lang/Integer;",
|
|
">;II)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 198
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 125
|
|
iput-object v0, p0, Lcom/in2wow/sdk/i/e$a;->a:Ljava/lang/String;
|
|
|
|
.line 126
|
|
iput-object v0, p0, Lcom/in2wow/sdk/i/e$a;->b:Ljava/util/Set;
|
|
|
|
.line 127
|
|
iput-object v0, p0, Lcom/in2wow/sdk/i/e$a;->c:Ljava/util/Set;
|
|
|
|
const v0, 0x7fffffff
|
|
|
|
.line 128
|
|
iput v0, p0, Lcom/in2wow/sdk/i/e$a;->d:I
|
|
|
|
const/high16 v0, -0x80000000
|
|
|
|
.line 129
|
|
iput v0, p0, Lcom/in2wow/sdk/i/e$a;->e:I
|
|
|
|
.line 201
|
|
iput-object p1, p0, Lcom/in2wow/sdk/i/e$a;->a:Ljava/lang/String;
|
|
|
|
.line 202
|
|
iput-object p2, p0, Lcom/in2wow/sdk/i/e$a;->b:Ljava/util/Set;
|
|
|
|
.line 203
|
|
iput-object p3, p0, Lcom/in2wow/sdk/i/e$a;->c:Ljava/util/Set;
|
|
|
|
.line 204
|
|
iput p4, p0, Lcom/in2wow/sdk/i/e$a;->d:I
|
|
|
|
.line 205
|
|
iput p5, p0, Lcom/in2wow/sdk/i/e$a;->e:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Lorg/json/JSONObject;)Lcom/in2wow/sdk/i/e$a;
|
|
.locals 11
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const v1, 0x7fffffff
|
|
|
|
const/high16 v2, -0x80000000
|
|
|
|
:try_start_0
|
|
const-string v3, "name"
|
|
|
|
.line 147
|
|
invoke-virtual {p0, v3}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
const-string v3, "values"
|
|
|
|
.line 148
|
|
invoke-virtual {p0, v3}, Lorg/json/JSONObject;->optJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;
|
|
|
|
move-result-object p0
|
|
|
|
.line 149
|
|
invoke-virtual {v5}, Ljava/lang/String;->length()I
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_8
|
|
|
|
if-nez p0, :cond_1
|
|
|
|
goto/16 :goto_3
|
|
|
|
.line 153
|
|
:cond_1
|
|
new-instance v6, Ljava/util/HashSet;
|
|
|
|
invoke-direct {v6}, Ljava/util/HashSet;-><init>()V
|
|
|
|
.line 154
|
|
new-instance v7, Ljava/util/HashSet;
|
|
|
|
invoke-direct {v7}, Ljava/util/HashSet;-><init>()V
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const v8, 0x7fffffff
|
|
|
|
const/high16 v9, -0x80000000
|
|
|
|
.line 158
|
|
:goto_0
|
|
invoke-virtual {p0}, Lorg/json/JSONArray;->length()I
|
|
|
|
move-result v2
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
if-lt v1, v2, :cond_2
|
|
|
|
.line 194
|
|
new-instance p0, Lcom/in2wow/sdk/i/e$a;
|
|
|
|
move-object v4, p0
|
|
|
|
invoke-direct/range {v4 .. v9}, Lcom/in2wow/sdk/i/e$a;-><init>(Ljava/lang/String;Ljava/util/Set;Ljava/util/Set;II)V
|
|
|
|
return-object p0
|
|
|
|
.line 159
|
|
:cond_2
|
|
:try_start_1
|
|
invoke-virtual {p0, v1}, Lorg/json/JSONArray;->optJSONArray(I)Lorg/json/JSONArray;
|
|
|
|
move-result-object v2
|
|
|
|
if-nez v2, :cond_4
|
|
|
|
.line 161
|
|
invoke-virtual {p0, v1}, Lorg/json/JSONArray;->optInt(I)I
|
|
|
|
move-result v2
|
|
|
|
.line 162
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-interface {v6, v4}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
|
|
|
if-ge v2, v8, :cond_3
|
|
|
|
move v8, v2
|
|
|
|
:cond_3
|
|
if-le v2, v9, :cond_7
|
|
|
|
:goto_1
|
|
move v9, v2
|
|
|
|
goto :goto_2
|
|
|
|
.line 172
|
|
:cond_4
|
|
invoke-virtual {v2}, Lorg/json/JSONArray;->length()I
|
|
|
|
move-result v4
|
|
|
|
const/4 v10, 0x2
|
|
|
|
if-eq v4, v10, :cond_5
|
|
|
|
goto :goto_2
|
|
|
|
.line 175
|
|
:cond_5
|
|
new-array v4, v10, [Ljava/lang/Integer;
|
|
|
|
.line 176
|
|
invoke-virtual {v2, v3}, Lorg/json/JSONArray;->getInt(I)I
|
|
|
|
move-result v10
|
|
|
|
invoke-static {v10}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v10
|
|
|
|
aput-object v10, v4, v3
|
|
|
|
const/4 v10, 0x1
|
|
|
|
.line 177
|
|
invoke-virtual {v2, v10}, Lorg/json/JSONArray;->getInt(I)I
|
|
|
|
move-result v2
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
aput-object v2, v4, v10
|
|
|
|
.line 178
|
|
invoke-interface {v7, v4}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 180
|
|
aget-object v2, v4, v3
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v2
|
|
|
|
if-ge v2, v8, :cond_6
|
|
|
|
.line 181
|
|
aget-object v2, v4, v3
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v8
|
|
|
|
.line 184
|
|
:cond_6
|
|
aget-object v2, v4, v10
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v2
|
|
|
|
if-le v2, v9, :cond_7
|
|
|
|
.line 185
|
|
aget-object v2, v4, v10
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v2
|
|
:try_end_1
|
|
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_7
|
|
:goto_2
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_8
|
|
:goto_3
|
|
return-object v0
|
|
|
|
:catch_0
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()I
|
|
.locals 1
|
|
|
|
.line 209
|
|
iget v0, p0, Lcom/in2wow/sdk/i/e$a;->d:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public a(I)Z
|
|
.locals 4
|
|
|
|
const/4 v0, 0x1
|
|
|
|
add-int/2addr p1, v0
|
|
|
|
.line 235
|
|
iget-object v1, p0, Lcom/in2wow/sdk/i/e$a;->b:Ljava/util/Set;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-interface {v1, v2}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
return v0
|
|
|
|
.line 239
|
|
:cond_0
|
|
iget-object v1, p0, Lcom/in2wow/sdk/i/e$a;->c:Ljava/util/Set;
|
|
|
|
invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v1
|
|
|
|
:cond_1
|
|
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
if-nez v2, :cond_2
|
|
|
|
return v3
|
|
|
|
:cond_2
|
|
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, [Ljava/lang/Integer;
|
|
|
|
.line 240
|
|
aget-object v3, v2, v3
|
|
|
|
invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v3
|
|
|
|
if-gt v3, p1, :cond_1
|
|
|
|
aget-object v2, v2, v0
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v2
|
|
|
|
if-gt p1, v2, :cond_1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public b()I
|
|
.locals 1
|
|
|
|
.line 213
|
|
iget v0, p0, Lcom/in2wow/sdk/i/e$a;->e:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public c()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 217
|
|
iget-object v0, p0, Lcom/in2wow/sdk/i/e$a;->a:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public d()Ljava/util/Set;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Set<",
|
|
"Ljava/lang/Integer;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 221
|
|
iget-object v0, p0, Lcom/in2wow/sdk/i/e$a;->b:Ljava/util/Set;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public e()Ljava/util/Set;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Set<",
|
|
"[",
|
|
"Ljava/lang/Integer;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 225
|
|
iget-object v0, p0, Lcom/in2wow/sdk/i/e$a;->c:Ljava/util/Set;
|
|
|
|
return-object v0
|
|
.end method
|