- 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
143 lines
3.7 KiB
Smali
143 lines
3.7 KiB
Smali
.class public abstract Lcom/applovin/impl/o4;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# direct methods
|
|
.method private static a(ILcom/applovin/impl/sdk/j;)Ljava/util/List;
|
|
.locals 3
|
|
|
|
.line 42
|
|
invoke-static {}, Lcom/applovin/impl/sdk/j;->l()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {p0, v0, p1}, Lcom/applovin/impl/yp;->a(ILandroid/content/Context;Lcom/applovin/impl/sdk/j;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
.line 43
|
|
invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 48
|
|
invoke-static {p0, v0}, Lcom/applovin/impl/sdk/utils/JsonUtils;->jsonObjectFromJsonString(Ljava/lang/String;Lorg/json/JSONObject;)Lorg/json/JSONObject;
|
|
|
|
move-result-object p0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
.line 54
|
|
new-instance v0, Lorg/json/JSONArray;
|
|
|
|
invoke-direct {v0}, Lorg/json/JSONArray;-><init>()V
|
|
|
|
const-string v1, "states"
|
|
|
|
invoke-static {p0, v1, v0}, Lcom/applovin/impl/sdk/utils/JsonUtils;->getJSONArray(Lorg/json/JSONObject;Ljava/lang/String;Lorg/json/JSONArray;)Lorg/json/JSONArray;
|
|
|
|
move-result-object p0
|
|
|
|
.line 55
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 56
|
|
:goto_0
|
|
invoke-virtual {p0}, Lorg/json/JSONArray;->length()I
|
|
|
|
move-result v2
|
|
|
|
if-ge v1, v2, :cond_0
|
|
|
|
.line 58
|
|
new-instance v2, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v2}, Lorg/json/JSONObject;-><init>()V
|
|
|
|
invoke-static {p0, v1, v2}, Lcom/applovin/impl/sdk/utils/JsonUtils;->getJSONObject(Lorg/json/JSONArray;ILorg/json/JSONObject;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v2
|
|
|
|
.line 59
|
|
invoke-static {v2, p1}, Lcom/applovin/impl/j4;->a(Lorg/json/JSONObject;Lcom/applovin/impl/sdk/j;)Lcom/applovin/impl/j4;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-object v0
|
|
|
|
.line 60
|
|
:cond_1
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string p1, "Unable to parse consent flow data! Please ensure that the AppLovin SDK resources are bundled correctly!"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
.line 61
|
|
:cond_2
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string p1, "Unable to retrieve consent flow data! Please ensure that the AppLovin SDK resources are bundled correctly!"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static a(Lcom/applovin/impl/sdk/j;)Ljava/util/List;
|
|
.locals 1
|
|
|
|
sget v0, Lcom/applovin/sdk/R$raw;->applovin_consent_flow_privacy_policy:I
|
|
|
|
.line 62
|
|
invoke-static {v0, p0}, Lcom/applovin/impl/o4;->a(ILcom/applovin/impl/sdk/j;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static b(Lcom/applovin/impl/sdk/j;)Ljava/util/List;
|
|
.locals 1
|
|
|
|
sget v0, Lcom/applovin/sdk/R$raw;->applovin_consent_flow_terms_of_service_and_privacy_policy:I
|
|
|
|
.line 1
|
|
invoke-static {v0, p0}, Lcom/applovin/impl/o4;->a(ILcom/applovin/impl/sdk/j;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static c(Lcom/applovin/impl/sdk/j;)Ljava/util/List;
|
|
.locals 1
|
|
|
|
sget v0, Lcom/applovin/sdk/R$raw;->applovin_consent_flow_unified_cmp:I
|
|
|
|
.line 1
|
|
invoke-static {v0, p0}, Lcom/applovin/impl/o4;->a(ILcom/applovin/impl/sdk/j;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|