- 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
573 lines
15 KiB
Smali
573 lines
15 KiB
Smali
.class public final Lcom/fyber/inneractive/sdk/config/remote/d;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field public a:Lcom/fyber/inneractive/sdk/config/remote/a;
|
|
|
|
.field public b:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Lcom/fyber/inneractive/sdk/config/remote/g;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public c:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-object v0, p0, Lcom/fyber/inneractive/sdk/config/remote/d;->b:Ljava/util/List;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Lorg/json/JSONObject;)Lcom/fyber/inneractive/sdk/config/remote/d;
|
|
.locals 20
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Lcom/fyber/inneractive/sdk/external/InvalidAppIdException;
|
|
}
|
|
.end annotation
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
const-string v1, "updateHash"
|
|
|
|
const/4 v2, 0x0
|
|
|
|
.line 1
|
|
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
.line 2
|
|
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
return-object v2
|
|
|
|
.line 5
|
|
:cond_0
|
|
new-instance v3, Lcom/fyber/inneractive/sdk/config/remote/d;
|
|
|
|
invoke-direct {v3}, Lcom/fyber/inneractive/sdk/config/remote/d;-><init>()V
|
|
|
|
iput-object v1, v3, Lcom/fyber/inneractive/sdk/config/remote/d;->c:Ljava/lang/String;
|
|
|
|
const-string v1, "app"
|
|
|
|
.line 7
|
|
invoke-virtual {v0, v1}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v4, "id"
|
|
|
|
const/4 v5, -0x1
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
move v6, v5
|
|
|
|
goto :goto_0
|
|
|
|
.line 8
|
|
:cond_1
|
|
invoke-virtual {v1, v4, v5}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I
|
|
|
|
move-result v6
|
|
|
|
:goto_0
|
|
const-string v7, "isActive"
|
|
|
|
const-string v8, "unitDisplayType"
|
|
|
|
const-string v9, "native"
|
|
|
|
const-string v10, "viewability"
|
|
|
|
const-string v11, "display"
|
|
|
|
const-string v12, "video"
|
|
|
|
const-string v13, "monitor"
|
|
|
|
if-ne v6, v5, :cond_2
|
|
|
|
move-object v5, v2
|
|
|
|
goto :goto_1
|
|
|
|
.line 12
|
|
:cond_2
|
|
new-instance v5, Lcom/fyber/inneractive/sdk/config/remote/a;
|
|
|
|
invoke-direct {v5}, Lcom/fyber/inneractive/sdk/config/remote/a;-><init>()V
|
|
|
|
.line 13
|
|
invoke-static {v6}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
iput-object v6, v5, Lcom/fyber/inneractive/sdk/config/remote/a;->a:Ljava/lang/String;
|
|
|
|
const-string v6, "publisherId"
|
|
|
|
.line 15
|
|
invoke-virtual {v1, v6, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
iput-object v6, v5, Lcom/fyber/inneractive/sdk/config/remote/a;->b:Ljava/lang/String;
|
|
|
|
.line 17
|
|
invoke-virtual {v1, v13}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-static {v6}, Lcom/fyber/inneractive/sdk/config/remote/e;->a(Lorg/json/JSONObject;)Lcom/fyber/inneractive/sdk/config/remote/e;
|
|
|
|
move-result-object v6
|
|
|
|
iput-object v6, v5, Lcom/fyber/inneractive/sdk/config/remote/a;->c:Lcom/fyber/inneractive/sdk/config/remote/e;
|
|
|
|
.line 19
|
|
invoke-virtual {v1, v12}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-static {v6}, Lcom/fyber/inneractive/sdk/config/remote/i;->a(Lorg/json/JSONObject;)Lcom/fyber/inneractive/sdk/config/remote/i;
|
|
|
|
move-result-object v6
|
|
|
|
iput-object v6, v5, Lcom/fyber/inneractive/sdk/config/remote/a;->d:Lcom/fyber/inneractive/sdk/config/remote/i;
|
|
|
|
.line 21
|
|
invoke-virtual {v1, v11}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-static {v6}, Lcom/fyber/inneractive/sdk/config/remote/b;->a(Lorg/json/JSONObject;)Lcom/fyber/inneractive/sdk/config/remote/b;
|
|
|
|
move-result-object v6
|
|
|
|
iput-object v6, v5, Lcom/fyber/inneractive/sdk/config/remote/a;->e:Lcom/fyber/inneractive/sdk/config/remote/b;
|
|
|
|
.line 23
|
|
invoke-virtual {v1, v10}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-static {v6}, Lcom/fyber/inneractive/sdk/config/remote/j;->a(Lorg/json/JSONObject;)Lcom/fyber/inneractive/sdk/config/remote/j;
|
|
|
|
move-result-object v6
|
|
|
|
iput-object v6, v5, Lcom/fyber/inneractive/sdk/config/remote/a;->f:Lcom/fyber/inneractive/sdk/config/remote/j;
|
|
|
|
.line 25
|
|
invoke-virtual {v1, v7, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
iput-object v6, v5, Lcom/fyber/inneractive/sdk/config/remote/a;->g:Ljava/lang/String;
|
|
|
|
.line 27
|
|
invoke-virtual {v1, v9}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v1
|
|
|
|
if-nez v1, :cond_3
|
|
|
|
goto :goto_1
|
|
|
|
.line 28
|
|
:cond_3
|
|
invoke-virtual {v1, v8}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1}, Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;->fromValue(Ljava/lang/String;)Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;
|
|
|
|
:goto_1
|
|
if-nez v5, :cond_4
|
|
|
|
return-object v2
|
|
|
|
:cond_4
|
|
iput-object v5, v3, Lcom/fyber/inneractive/sdk/config/remote/d;->a:Lcom/fyber/inneractive/sdk/config/remote/a;
|
|
|
|
.line 30
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
const-string v5, "spots"
|
|
|
|
.line 31
|
|
invoke-virtual {v0, v5}, Lorg/json/JSONObject;->optJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_f
|
|
|
|
const/4 v6, 0x0
|
|
|
|
.line 33
|
|
:goto_2
|
|
invoke-virtual {v0}, Lorg/json/JSONArray;->length()I
|
|
|
|
move-result v14
|
|
|
|
if-ge v6, v14, :cond_f
|
|
|
|
.line 34
|
|
invoke-virtual {v0, v6}, Lorg/json/JSONArray;->optJSONObject(I)Lorg/json/JSONObject;
|
|
|
|
move-result-object v14
|
|
|
|
if-nez v14, :cond_5
|
|
|
|
goto :goto_3
|
|
|
|
.line 35
|
|
:cond_5
|
|
invoke-virtual {v14, v4, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v15
|
|
|
|
.line 36
|
|
invoke-static {v15}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v16
|
|
|
|
if-eqz v16, :cond_6
|
|
|
|
:goto_3
|
|
move-object/from16 v17, v0
|
|
|
|
move-object v5, v2
|
|
|
|
move-object/from16 v16, v3
|
|
|
|
move-object/from16 v18, v7
|
|
|
|
goto/16 :goto_b
|
|
|
|
.line 39
|
|
:cond_6
|
|
new-instance v5, Lcom/fyber/inneractive/sdk/config/remote/g;
|
|
|
|
invoke-direct {v5}, Lcom/fyber/inneractive/sdk/config/remote/g;-><init>()V
|
|
|
|
iput-object v15, v5, Lcom/fyber/inneractive/sdk/config/remote/g;->a:Ljava/lang/String;
|
|
|
|
.line 41
|
|
invoke-virtual {v14, v7, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v15
|
|
|
|
iput-object v15, v5, Lcom/fyber/inneractive/sdk/config/remote/g;->b:Ljava/lang/String;
|
|
|
|
.line 43
|
|
invoke-virtual {v14, v11}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v15
|
|
|
|
invoke-static {v15}, Lcom/fyber/inneractive/sdk/config/remote/b;->a(Lorg/json/JSONObject;)Lcom/fyber/inneractive/sdk/config/remote/b;
|
|
|
|
move-result-object v15
|
|
|
|
iput-object v15, v5, Lcom/fyber/inneractive/sdk/config/remote/g;->c:Lcom/fyber/inneractive/sdk/config/remote/b;
|
|
|
|
.line 45
|
|
invoke-virtual {v14, v13}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v15
|
|
|
|
invoke-static {v15}, Lcom/fyber/inneractive/sdk/config/remote/e;->a(Lorg/json/JSONObject;)Lcom/fyber/inneractive/sdk/config/remote/e;
|
|
|
|
move-result-object v15
|
|
|
|
iput-object v15, v5, Lcom/fyber/inneractive/sdk/config/remote/g;->d:Lcom/fyber/inneractive/sdk/config/remote/e;
|
|
|
|
.line 47
|
|
invoke-virtual {v14, v9}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v15
|
|
|
|
if-nez v15, :cond_7
|
|
|
|
goto :goto_4
|
|
|
|
.line 48
|
|
:cond_7
|
|
invoke-virtual {v15, v8}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v15
|
|
|
|
invoke-static {v15}, Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;->fromValue(Ljava/lang/String;)Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;
|
|
|
|
.line 49
|
|
:goto_4
|
|
invoke-virtual {v14, v12}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v15
|
|
|
|
invoke-static {v15}, Lcom/fyber/inneractive/sdk/config/remote/i;->a(Lorg/json/JSONObject;)Lcom/fyber/inneractive/sdk/config/remote/i;
|
|
|
|
move-result-object v15
|
|
|
|
iput-object v15, v5, Lcom/fyber/inneractive/sdk/config/remote/g;->e:Lcom/fyber/inneractive/sdk/config/remote/i;
|
|
|
|
.line 51
|
|
invoke-virtual {v14, v10}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v15
|
|
|
|
invoke-static {v15}, Lcom/fyber/inneractive/sdk/config/remote/j;->a(Lorg/json/JSONObject;)Lcom/fyber/inneractive/sdk/config/remote/j;
|
|
|
|
move-result-object v15
|
|
|
|
iput-object v15, v5, Lcom/fyber/inneractive/sdk/config/remote/g;->f:Lcom/fyber/inneractive/sdk/config/remote/j;
|
|
|
|
const-string v15, "units"
|
|
|
|
.line 53
|
|
invoke-virtual {v14, v15}, Lorg/json/JSONObject;->optJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;
|
|
|
|
move-result-object v14
|
|
|
|
if-eqz v14, :cond_8
|
|
|
|
.line 54
|
|
invoke-virtual {v14}, Lorg/json/JSONArray;->length()I
|
|
|
|
move-result v15
|
|
|
|
if-nez v15, :cond_9
|
|
|
|
:cond_8
|
|
move-object/from16 v17, v0
|
|
|
|
move-object/from16 v16, v3
|
|
|
|
move-object/from16 v18, v7
|
|
|
|
goto/16 :goto_9
|
|
|
|
.line 57
|
|
:cond_9
|
|
new-instance v15, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v15}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
move-object/from16 v17, v0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
.line 58
|
|
:goto_5
|
|
invoke-virtual {v14}, Lorg/json/JSONArray;->length()I
|
|
|
|
move-result v0
|
|
|
|
if-ge v2, v0, :cond_d
|
|
|
|
.line 59
|
|
invoke-virtual {v14, v2}, Lorg/json/JSONArray;->optJSONObject(I)Lorg/json/JSONObject;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_c
|
|
|
|
move-object/from16 v18, v7
|
|
|
|
.line 60
|
|
new-instance v7, Lcom/fyber/inneractive/sdk/config/remote/h;
|
|
|
|
invoke-direct {v7}, Lcom/fyber/inneractive/sdk/config/remote/h;-><init>()V
|
|
|
|
move-object/from16 v16, v3
|
|
|
|
move-object/from16 v19, v14
|
|
|
|
const/4 v14, 0x0
|
|
|
|
.line 61
|
|
invoke-virtual {v0, v4, v14}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
iput-object v3, v7, Lcom/fyber/inneractive/sdk/config/remote/h;->a:Ljava/lang/String;
|
|
|
|
const-string v3, "spotId"
|
|
|
|
.line 63
|
|
invoke-virtual {v0, v3, v14}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
iput-object v3, v7, Lcom/fyber/inneractive/sdk/config/remote/h;->b:Ljava/lang/String;
|
|
|
|
.line 65
|
|
invoke-virtual {v0, v11}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v3}, Lcom/fyber/inneractive/sdk/config/remote/b;->a(Lorg/json/JSONObject;)Lcom/fyber/inneractive/sdk/config/remote/b;
|
|
|
|
move-result-object v3
|
|
|
|
iput-object v3, v7, Lcom/fyber/inneractive/sdk/config/remote/h;->c:Lcom/fyber/inneractive/sdk/config/remote/b;
|
|
|
|
.line 67
|
|
invoke-virtual {v0, v13}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v3}, Lcom/fyber/inneractive/sdk/config/remote/e;->a(Lorg/json/JSONObject;)Lcom/fyber/inneractive/sdk/config/remote/e;
|
|
|
|
move-result-object v3
|
|
|
|
iput-object v3, v7, Lcom/fyber/inneractive/sdk/config/remote/h;->d:Lcom/fyber/inneractive/sdk/config/remote/e;
|
|
|
|
.line 69
|
|
invoke-virtual {v0, v9}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v3
|
|
|
|
if-nez v3, :cond_a
|
|
|
|
goto :goto_6
|
|
|
|
.line 70
|
|
:cond_a
|
|
new-instance v14, Lcom/fyber/inneractive/sdk/config/remote/f;
|
|
|
|
invoke-direct {v14}, Lcom/fyber/inneractive/sdk/config/remote/f;-><init>()V
|
|
|
|
.line 71
|
|
invoke-virtual {v3, v8}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v3}, Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;->fromValue(Ljava/lang/String;)Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;
|
|
|
|
move-result-object v3
|
|
|
|
if-eqz v3, :cond_b
|
|
|
|
iput-object v3, v14, Lcom/fyber/inneractive/sdk/config/remote/f;->a:Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;
|
|
|
|
goto :goto_7
|
|
|
|
:cond_b
|
|
:goto_6
|
|
const/4 v14, 0x0
|
|
|
|
:goto_7
|
|
iput-object v14, v7, Lcom/fyber/inneractive/sdk/config/remote/h;->e:Lcom/fyber/inneractive/sdk/config/remote/f;
|
|
|
|
.line 74
|
|
invoke-virtual {v0, v12}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v3}, Lcom/fyber/inneractive/sdk/config/remote/i;->a(Lorg/json/JSONObject;)Lcom/fyber/inneractive/sdk/config/remote/i;
|
|
|
|
move-result-object v3
|
|
|
|
iput-object v3, v7, Lcom/fyber/inneractive/sdk/config/remote/h;->f:Lcom/fyber/inneractive/sdk/config/remote/i;
|
|
|
|
.line 76
|
|
invoke-virtual {v0, v10}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lcom/fyber/inneractive/sdk/config/remote/j;->a(Lorg/json/JSONObject;)Lcom/fyber/inneractive/sdk/config/remote/j;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, v7, Lcom/fyber/inneractive/sdk/config/remote/h;->g:Lcom/fyber/inneractive/sdk/config/remote/j;
|
|
|
|
.line 78
|
|
invoke-virtual {v15, v7}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_8
|
|
|
|
:cond_c
|
|
move-object/from16 v16, v3
|
|
|
|
move-object/from16 v18, v7
|
|
|
|
move-object/from16 v19, v14
|
|
|
|
:goto_8
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
move-object/from16 v3, v16
|
|
|
|
move-object/from16 v7, v18
|
|
|
|
move-object/from16 v14, v19
|
|
|
|
goto :goto_5
|
|
|
|
:cond_d
|
|
move-object/from16 v16, v3
|
|
|
|
move-object/from16 v18, v7
|
|
|
|
goto :goto_a
|
|
|
|
.line 79
|
|
:goto_9
|
|
new-instance v15, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v15}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
:goto_a
|
|
iput-object v15, v5, Lcom/fyber/inneractive/sdk/config/remote/g;->g:Ljava/util/List;
|
|
|
|
:goto_b
|
|
if-eqz v5, :cond_e
|
|
|
|
.line 81
|
|
invoke-virtual {v1, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_e
|
|
add-int/lit8 v6, v6, 0x1
|
|
|
|
move-object/from16 v3, v16
|
|
|
|
move-object/from16 v0, v17
|
|
|
|
move-object/from16 v7, v18
|
|
|
|
const/4 v2, 0x0
|
|
|
|
goto/16 :goto_2
|
|
|
|
:cond_f
|
|
move-object v0, v3
|
|
|
|
iput-object v1, v0, Lcom/fyber/inneractive/sdk/config/remote/d;->b:Ljava/util/List;
|
|
|
|
return-object v0
|
|
.end method
|