- 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
310 lines
7.3 KiB
Smali
310 lines
7.3 KiB
Smali
.class public final Lcom/fyber/inneractive/sdk/config/remote/i;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field public a:Ljava/lang/Boolean;
|
|
|
|
.field public b:Ljava/lang/Integer;
|
|
|
|
.field public c:Ljava/lang/Integer;
|
|
|
|
.field public d:Lcom/fyber/inneractive/sdk/config/enums/Skip;
|
|
|
|
.field public e:Ljava/lang/Boolean;
|
|
|
|
.field public f:Lcom/fyber/inneractive/sdk/config/enums/TapAction;
|
|
|
|
.field public g:Lcom/fyber/inneractive/sdk/config/enums/Orientation;
|
|
|
|
.field public h:Ljava/lang/Integer;
|
|
|
|
.field public i:Ljava/lang/Integer;
|
|
|
|
.field public j:Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;
|
|
|
|
.field public final k:Ljava/util/ArrayList;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 29
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/fyber/inneractive/sdk/config/remote/i;->k:Ljava/util/ArrayList;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Lorg/json/JSONObject;)Lcom/fyber/inneractive/sdk/config/remote/i;
|
|
.locals 8
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
return-object v0
|
|
|
|
.line 1
|
|
:cond_0
|
|
new-instance v1, Lcom/fyber/inneractive/sdk/config/remote/i;
|
|
|
|
invoke-direct {v1}, Lcom/fyber/inneractive/sdk/config/remote/i;-><init>()V
|
|
|
|
const-string v2, "maxBitrate"
|
|
|
|
const/high16 v3, -0x80000000
|
|
|
|
.line 2
|
|
invoke-virtual {p0, v2, v3}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I
|
|
|
|
move-result v2
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v4, "minBitrate"
|
|
|
|
.line 3
|
|
invoke-virtual {p0, v4, v3}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I
|
|
|
|
move-result v4
|
|
|
|
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v4
|
|
|
|
const-string v5, "pivotBitrate"
|
|
|
|
.line 4
|
|
invoke-virtual {p0, v5, v3}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I
|
|
|
|
move-result v5
|
|
|
|
invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v5
|
|
|
|
const-string v6, "padding"
|
|
|
|
.line 5
|
|
invoke-virtual {p0, v6, v3}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I
|
|
|
|
move-result v6
|
|
|
|
invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v6
|
|
|
|
.line 6
|
|
invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v7
|
|
|
|
if-ne v7, v3, :cond_1
|
|
|
|
move-object v2, v0
|
|
|
|
:cond_1
|
|
iput-object v2, v1, Lcom/fyber/inneractive/sdk/config/remote/i;->b:Ljava/lang/Integer;
|
|
|
|
.line 8
|
|
invoke-virtual {v4}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v2
|
|
|
|
if-ne v2, v3, :cond_2
|
|
|
|
move-object v4, v0
|
|
|
|
:cond_2
|
|
iput-object v4, v1, Lcom/fyber/inneractive/sdk/config/remote/i;->c:Ljava/lang/Integer;
|
|
|
|
const-string v2, "skip"
|
|
|
|
.line 10
|
|
invoke-virtual {p0, v2, v3}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I
|
|
|
|
move-result v2
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v2}, Lcom/fyber/inneractive/sdk/config/enums/Skip;->fromValue(Ljava/lang/Integer;)Lcom/fyber/inneractive/sdk/config/enums/Skip;
|
|
|
|
move-result-object v2
|
|
|
|
iput-object v2, v1, Lcom/fyber/inneractive/sdk/config/remote/i;->d:Lcom/fyber/inneractive/sdk/config/enums/Skip;
|
|
|
|
const-string v2, "muted"
|
|
|
|
.line 12
|
|
invoke-virtual {p0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z
|
|
|
|
move-result v4
|
|
|
|
const/4 v7, 0x1
|
|
|
|
if-eqz v4, :cond_3
|
|
|
|
invoke-virtual {p0, v2, v7}, Lorg/json/JSONObject;->optBoolean(Ljava/lang/String;Z)Z
|
|
|
|
move-result v2
|
|
|
|
invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object v2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
move-object v2, v0
|
|
|
|
:goto_0
|
|
iput-object v2, v1, Lcom/fyber/inneractive/sdk/config/remote/i;->e:Ljava/lang/Boolean;
|
|
|
|
const-string v2, "autoPlay"
|
|
|
|
.line 14
|
|
invoke-virtual {p0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_4
|
|
|
|
invoke-virtual {p0, v2, v7}, Lorg/json/JSONObject;->optBoolean(Ljava/lang/String;Z)Z
|
|
|
|
move-result v2
|
|
|
|
invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object v2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_4
|
|
move-object v2, v0
|
|
|
|
:goto_1
|
|
iput-object v2, v1, Lcom/fyber/inneractive/sdk/config/remote/i;->a:Ljava/lang/Boolean;
|
|
|
|
const-string v2, "orientation"
|
|
|
|
.line 16
|
|
invoke-virtual {p0, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v2}, Lcom/fyber/inneractive/sdk/config/enums/Orientation;->fromValue(Ljava/lang/String;)Lcom/fyber/inneractive/sdk/config/enums/Orientation;
|
|
|
|
move-result-object v2
|
|
|
|
iput-object v2, v1, Lcom/fyber/inneractive/sdk/config/remote/i;->g:Lcom/fyber/inneractive/sdk/config/enums/Orientation;
|
|
|
|
const-string v2, "tap"
|
|
|
|
.line 18
|
|
invoke-virtual {p0, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v2}, Lcom/fyber/inneractive/sdk/config/enums/TapAction;->fromValue(Ljava/lang/String;)Lcom/fyber/inneractive/sdk/config/enums/TapAction;
|
|
|
|
move-result-object v2
|
|
|
|
iput-object v2, v1, Lcom/fyber/inneractive/sdk/config/remote/i;->f:Lcom/fyber/inneractive/sdk/config/enums/TapAction;
|
|
|
|
.line 20
|
|
invoke-virtual {v5}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v2
|
|
|
|
if-ne v2, v3, :cond_5
|
|
|
|
move-object v5, v0
|
|
|
|
:cond_5
|
|
iput-object v5, v1, Lcom/fyber/inneractive/sdk/config/remote/i;->h:Ljava/lang/Integer;
|
|
|
|
.line 22
|
|
invoke-virtual {v6}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v2
|
|
|
|
if-ne v2, v3, :cond_6
|
|
|
|
goto :goto_2
|
|
|
|
:cond_6
|
|
move-object v0, v6
|
|
|
|
:goto_2
|
|
iput-object v0, v1, Lcom/fyber/inneractive/sdk/config/remote/i;->i:Ljava/lang/Integer;
|
|
|
|
const-string v0, "unitDisplayType"
|
|
|
|
.line 24
|
|
invoke-virtual {p0, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;->fromValue(Ljava/lang/String;)Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, v1, Lcom/fyber/inneractive/sdk/config/remote/i;->j:Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;
|
|
|
|
const-string v0, "filterApi"
|
|
|
|
.line 26
|
|
invoke-virtual {p0, v0}, Lorg/json/JSONObject;->optJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;
|
|
|
|
move-result-object p0
|
|
|
|
if-eqz p0, :cond_8
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 28
|
|
:goto_3
|
|
invoke-virtual {p0}, Lorg/json/JSONArray;->length()I
|
|
|
|
move-result v2
|
|
|
|
if-ge v0, v2, :cond_8
|
|
|
|
.line 29
|
|
invoke-virtual {p0, v0, v3}, Lorg/json/JSONArray;->optInt(II)I
|
|
|
|
move-result v2
|
|
|
|
if-eq v2, v3, :cond_7
|
|
|
|
iget-object v4, v1, Lcom/fyber/inneractive/sdk/config/remote/i;->k:Ljava/util/ArrayList;
|
|
|
|
.line 31
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v4, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_7
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_8
|
|
return-object v1
|
|
.end method
|