Add Discord APKTool decompilation (Smali source for modding)

- 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
This commit is contained in:
2026-02-18 16:13:44 -08:00
parent c080f0d97f
commit f3960ee359
44288 changed files with 10998761 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
.class public final Lcom/fyber/inneractive/sdk/config/remote/a;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/fyber/inneractive/sdk/config/remote/c;
# instance fields
.field public a:Ljava/lang/String;
.field public b:Ljava/lang/String;
.field public c:Lcom/fyber/inneractive/sdk/config/remote/e;
.field public d:Lcom/fyber/inneractive/sdk/config/remote/i;
.field public e:Lcom/fyber/inneractive/sdk/config/remote/b;
.field public f:Lcom/fyber/inneractive/sdk/config/remote/j;
.field public g:Ljava/lang/String;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final a()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/fyber/inneractive/sdk/config/remote/a;->g:Ljava/lang/String;
return-object v0
.end method

View File

@@ -0,0 +1,132 @@
.class public final Lcom/fyber/inneractive/sdk/config/remote/b;
.super Ljava/lang/Object;
.source "SourceFile"
# instance fields
.field public a:Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;
.field public b:Ljava/lang/Boolean;
.field public c:Ljava/lang/Integer;
.field public d:Ljava/lang/Integer;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static a(Lorg/json/JSONObject;)Lcom/fyber/inneractive/sdk/config/remote/b;
.locals 7
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/b;
invoke-direct {v1}, Lcom/fyber/inneractive/sdk/config/remote/b;-><init>()V
const-string v2, "hide"
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, "refresh"
.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, "unitDisplayType"
.line 4
invoke-virtual {p0, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v5
invoke-static {v5}, Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;->fromValue(Ljava/lang/String;)Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;
move-result-object v5
iput-object v5, v1, Lcom/fyber/inneractive/sdk/config/remote/b;->a:Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;
const-string v5, "close"
.line 6
invoke-virtual {p0, v5}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z
move-result v6
if-eqz v6, :cond_1
const/4 v6, 0x1
invoke-virtual {p0, v5, v6}, Lorg/json/JSONObject;->optBoolean(Ljava/lang/String;Z)Z
move-result p0
invoke-static {p0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object p0
goto :goto_0
:cond_1
move-object p0, v0
:goto_0
iput-object p0, v1, Lcom/fyber/inneractive/sdk/config/remote/b;->b:Ljava/lang/Boolean;
.line 8
invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I
move-result p0
if-ne p0, v3, :cond_2
move-object v2, v0
:cond_2
iput-object v2, v1, Lcom/fyber/inneractive/sdk/config/remote/b;->d:Ljava/lang/Integer;
.line 10
invoke-virtual {v4}, Ljava/lang/Integer;->intValue()I
move-result p0
if-ne p0, v3, :cond_3
goto :goto_1
:cond_3
move-object v0, v4
:goto_1
iput-object v0, v1, Lcom/fyber/inneractive/sdk/config/remote/b;->c:Ljava/lang/Integer;
return-object v1
.end method

View File

@@ -0,0 +1,8 @@
.class public interface abstract Lcom/fyber/inneractive/sdk/config/remote/c;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract a()Ljava/lang/String;
.end method

View File

@@ -0,0 +1,572 @@
.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

View File

@@ -0,0 +1,103 @@
.class public final Lcom/fyber/inneractive/sdk/config/remote/e;
.super Ljava/lang/Object;
.source "SourceFile"
# instance fields
.field public a:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set<",
"Lcom/fyber/inneractive/sdk/config/enums/Track;",
">;"
}
.end annotation
.end field
# 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/e;->a:Ljava/util/Set;
return-void
.end method
.method public static a(Lorg/json/JSONObject;)Lcom/fyber/inneractive/sdk/config/remote/e;
.locals 5
const/4 v0, 0x0
if-nez p0, :cond_0
return-object v0
:cond_0
const-string v1, "track"
.line 1
invoke-virtual {p0, v1}, Lorg/json/JSONObject;->optJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;
move-result-object p0
if-eqz p0, :cond_3
.line 3
new-instance v0, Lcom/fyber/inneractive/sdk/config/remote/e;
invoke-direct {v0}, Lcom/fyber/inneractive/sdk/config/remote/e;-><init>()V
.line 4
new-instance v1, Ljava/util/LinkedHashSet;
invoke-direct {v1}, Ljava/util/LinkedHashSet;-><init>()V
const/4 v2, 0x0
.line 5
:goto_0
invoke-virtual {p0}, Lorg/json/JSONArray;->length()I
move-result v3
if-ge v2, v3, :cond_2
.line 6
invoke-virtual {p0, v2}, Lorg/json/JSONArray;->optString(I)Ljava/lang/String;
move-result-object v3
.line 7
invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v4
if-nez v4, :cond_1
.line 8
invoke-static {v3}, Lcom/fyber/inneractive/sdk/config/enums/Track;->fromValue(Ljava/lang/String;)Lcom/fyber/inneractive/sdk/config/enums/Track;
move-result-object v3
if-eqz v3, :cond_1
.line 10
invoke-interface {v1, v3}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
:cond_1
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_2
iput-object v1, v0, Lcom/fyber/inneractive/sdk/config/remote/e;->a:Ljava/util/Set;
:cond_3
return-object v0
.end method

View File

@@ -0,0 +1,17 @@
.class public final Lcom/fyber/inneractive/sdk/config/remote/f;
.super Ljava/lang/Object;
.source "SourceFile"
# instance fields
.field public a:Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View File

@@ -0,0 +1,55 @@
.class public final Lcom/fyber/inneractive/sdk/config/remote/g;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/fyber/inneractive/sdk/config/remote/c;
# instance fields
.field public a:Ljava/lang/String;
.field public b:Ljava/lang/String;
.field public c:Lcom/fyber/inneractive/sdk/config/remote/b;
.field public d:Lcom/fyber/inneractive/sdk/config/remote/e;
.field public e:Lcom/fyber/inneractive/sdk/config/remote/i;
.field public f:Lcom/fyber/inneractive/sdk/config/remote/j;
.field public g:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lcom/fyber/inneractive/sdk/config/remote/h;",
">;"
}
.end annotation
.end field
# 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/g;->g:Ljava/util/List;
return-void
.end method
# virtual methods
.method public final a()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/fyber/inneractive/sdk/config/remote/g;->b:Ljava/lang/String;
return-object v0
.end method

View File

@@ -0,0 +1,29 @@
.class public final Lcom/fyber/inneractive/sdk/config/remote/h;
.super Ljava/lang/Object;
.source "SourceFile"
# instance fields
.field public a:Ljava/lang/String;
.field public b:Ljava/lang/String;
.field public c:Lcom/fyber/inneractive/sdk/config/remote/b;
.field public d:Lcom/fyber/inneractive/sdk/config/remote/e;
.field public e:Lcom/fyber/inneractive/sdk/config/remote/f;
.field public f:Lcom/fyber/inneractive/sdk/config/remote/i;
.field public g:Lcom/fyber/inneractive/sdk/config/remote/j;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View File

@@ -0,0 +1,309 @@
.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

View File

@@ -0,0 +1,155 @@
.class public final Lcom/fyber/inneractive/sdk/config/remote/j;
.super Ljava/lang/Object;
.source "SourceFile"
# instance fields
.field public a:Ljava/lang/Integer;
.field public b:Ljava/lang/Integer;
.field public c:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set<",
"Lcom/fyber/inneractive/sdk/config/enums/Vendor;",
">;"
}
.end annotation
.end field
# 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/j;->c:Ljava/util/Set;
return-void
.end method
.method public static a(Lorg/json/JSONObject;)Lcom/fyber/inneractive/sdk/config/remote/j;
.locals 6
const/4 v0, 0x0
if-nez p0, :cond_0
return-object v0
:cond_0
const-string v1, "pausePct"
const/high16 v2, -0x80000000
.line 1
invoke-virtual {p0, v1, v2}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I
move-result v1
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
const-string v3, "playPct"
.line 2
invoke-virtual {p0, v3, v2}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I
move-result v3
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
.line 3
new-instance v4, Lcom/fyber/inneractive/sdk/config/remote/j;
invoke-direct {v4}, Lcom/fyber/inneractive/sdk/config/remote/j;-><init>()V
.line 4
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
move-result v5
if-ne v5, v2, :cond_1
move-object v1, v0
:cond_1
iput-object v1, v4, Lcom/fyber/inneractive/sdk/config/remote/j;->a:Ljava/lang/Integer;
.line 6
invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I
move-result v1
if-ne v1, v2, :cond_2
move-object v3, v0
:cond_2
iput-object v3, v4, Lcom/fyber/inneractive/sdk/config/remote/j;->b:Ljava/lang/Integer;
const-string v1, "vendor"
.line 8
invoke-virtual {p0, v1}, Lorg/json/JSONObject;->optJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;
move-result-object p0
if-eqz p0, :cond_5
.line 10
new-instance v1, Ljava/util/LinkedHashSet;
invoke-direct {v1}, Ljava/util/LinkedHashSet;-><init>()V
const/4 v2, 0x0
.line 11
:goto_0
invoke-virtual {p0}, Lorg/json/JSONArray;->length()I
move-result v3
if-ge v2, v3, :cond_4
.line 12
invoke-virtual {p0, v2, v0}, Lorg/json/JSONArray;->optString(ILjava/lang/String;)Ljava/lang/String;
move-result-object v3
.line 13
invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v5
if-nez v5, :cond_3
.line 14
invoke-static {v3}, Lcom/fyber/inneractive/sdk/config/enums/Vendor;->fromValue(Ljava/lang/String;)Lcom/fyber/inneractive/sdk/config/enums/Vendor;
move-result-object v3
if-eqz v3, :cond_3
.line 16
invoke-interface {v1, v3}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
:cond_3
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_4
iput-object v1, v4, Lcom/fyber/inneractive/sdk/config/remote/j;->c:Ljava/util/Set;
:cond_5
return-object v4
.end method