- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3 - APKTool decompilation (Smali bytecode) for modding and rebuilding APK - Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures - Includes full Smali source, resources, and native libraries - Ready to rebuild APK after modifications with apktool b command - Added comprehensive README-apktool.md with modding guide This branch complements the JADX branches: - Use JADX (main/discord-community) to UNDERSTAND code (readable Java) - Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali) Total: 44,417 files, 538.51 MB Smali source code
148 lines
2.9 KiB
Smali
148 lines
2.9 KiB
Smali
.class public final Lcom/tapjoy/internal/q1;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Lorg/json/JSONObject;
|
|
|
|
.field public final b:Ljava/lang/String;
|
|
|
|
.field public final c:Ljava/util/ArrayList;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lorg/json/JSONObject;)V
|
|
.locals 6
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/tapjoy/internal/q1;->a:Lorg/json/JSONObject;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-object v0, p0, Lcom/tapjoy/internal/q1;->b:Ljava/lang/String;
|
|
|
|
.line 5
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v1, p0, Lcom/tapjoy/internal/q1;->c:Ljava/util/ArrayList;
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
const-string v1, "group_id"
|
|
|
|
.line 9
|
|
invoke-virtual {p1, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
iput-object v1, p0, Lcom/tapjoy/internal/q1;->b:Ljava/lang/String;
|
|
|
|
const-string v1, "currencies"
|
|
|
|
.line 10
|
|
invoke-virtual {p1, v1}, Lorg/json/JSONObject;->optJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;
|
|
|
|
move-result-object p1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 11
|
|
invoke-virtual {p1}, Lorg/json/JSONArray;->length()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v2, v1
|
|
|
|
:goto_0
|
|
if-ge v1, v2, :cond_3
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 13
|
|
invoke-virtual {p1, v1}, Lorg/json/JSONArray;->optJSONObject(I)Lorg/json/JSONObject;
|
|
|
|
move-result-object v3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move-object v3, v0
|
|
|
|
:goto_1
|
|
if-eqz v3, :cond_2
|
|
|
|
iget-object v4, p0, Lcom/tapjoy/internal/q1;->c:Ljava/util/ArrayList;
|
|
|
|
.line 15
|
|
new-instance v5, Lcom/tapjoy/internal/y1;
|
|
|
|
invoke-direct {v5, v3}, Lcom/tapjoy/internal/y1;-><init>(Lorg/json/JSONObject;)V
|
|
|
|
invoke-virtual {v4, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_2
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/tapjoy/internal/q1;->b:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final b()Ljava/util/ArrayList;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/tapjoy/internal/q1;->c:Ljava/util/ArrayList;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final c()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/tapjoy/internal/q1;->a:Lorg/json/JSONObject;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const-string v1, "currencies"
|
|
|
|
.line 1
|
|
invoke-virtual {v0, v1}, Lorg/json/JSONObject;->optJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {v0}, Lorg/json/JSONArray;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return-object v0
|
|
.end method
|