- 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
331 lines
9.4 KiB
Smali
331 lines
9.4 KiB
Smali
.class public final Lcom/fyber/inneractive/sdk/flow/c;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic a:Lcom/fyber/inneractive/sdk/external/InneractiveInfrastructureError;
|
|
|
|
.field public final synthetic b:Lcom/fyber/inneractive/sdk/flow/d;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/fyber/inneractive/sdk/flow/d;Lcom/fyber/inneractive/sdk/external/InneractiveInfrastructureError;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()V"
|
|
}
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Lcom/fyber/inneractive/sdk/flow/c;->b:Lcom/fyber/inneractive/sdk/flow/d;
|
|
|
|
iput-object p2, p0, Lcom/fyber/inneractive/sdk/flow/c;->a:Lcom/fyber/inneractive/sdk/external/InneractiveInfrastructureError;
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final run()V
|
|
.locals 12
|
|
|
|
const-string v0, "lt"
|
|
|
|
const-string v1, "Got exception adding param to json object: %s, %s"
|
|
|
|
iget-object v2, p0, Lcom/fyber/inneractive/sdk/flow/c;->b:Lcom/fyber/inneractive/sdk/flow/d;
|
|
|
|
.line 2
|
|
iget-object v2, v2, Lcom/fyber/inneractive/sdk/flow/d;->b:Lcom/fyber/inneractive/sdk/response/e;
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
.line 3
|
|
iget-object v3, v2, Lcom/fyber/inneractive/sdk/response/e;->h:Ljava/lang/String;
|
|
|
|
if-eqz v3, :cond_3
|
|
|
|
.line 4
|
|
iget-object v4, v2, Lcom/fyber/inneractive/sdk/response/e;->p:Ljava/util/Map;
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
.line 5
|
|
iget-object v2, v2, Lcom/fyber/inneractive/sdk/response/e;->q:Ljava/lang/String;
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
goto/16 :goto_4
|
|
|
|
.line 6
|
|
:cond_0
|
|
sget-object v2, Lcom/fyber/inneractive/sdk/config/IAConfigManager;->L:Lcom/fyber/inneractive/sdk/config/IAConfigManager;
|
|
|
|
iget-object v2, v2, Lcom/fyber/inneractive/sdk/config/IAConfigManager;->t:Lcom/fyber/inneractive/sdk/config/m;
|
|
|
|
.line 7
|
|
iget-object v2, v2, Lcom/fyber/inneractive/sdk/config/m;->b:Lcom/fyber/inneractive/sdk/config/k;
|
|
|
|
.line 8
|
|
sget-object v5, Lcom/fyber/inneractive/sdk/flow/d;->e:Ljava/lang/String;
|
|
|
|
const-string v6, "max_failed_creatives_interval_hours"
|
|
|
|
invoke-virtual {v2, v6, v5}, Lcom/fyber/inneractive/sdk/config/k;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
.line 9
|
|
sget-object v6, Lcom/fyber/inneractive/sdk/flow/d;->f:Ljava/lang/String;
|
|
|
|
const-string v7, "max_failed_creatives_per_interval"
|
|
|
|
invoke-virtual {v2, v7, v6}, Lcom/fyber/inneractive/sdk/config/k;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
const/16 v7, 0x18
|
|
|
|
.line 11
|
|
invoke-static {v5, v7}, Lcom/fyber/inneractive/sdk/util/t;->a(Ljava/lang/String;I)I
|
|
|
|
move-result v5
|
|
|
|
const/4 v7, 0x1
|
|
|
|
.line 12
|
|
invoke-static {v6, v7}, Lcom/fyber/inneractive/sdk/util/t;->a(Ljava/lang/String;I)I
|
|
|
|
move-result v6
|
|
|
|
sget-object v7, Lcom/fyber/inneractive/sdk/util/o;->a:Landroid/app/Application;
|
|
|
|
if-eqz v7, :cond_3
|
|
|
|
const-string v8, "IAConfigPrefs"
|
|
|
|
const/4 v9, 0x0
|
|
|
|
.line 14
|
|
invoke-virtual {v7, v8, v9}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;
|
|
|
|
move-result-object v7
|
|
|
|
.line 15
|
|
new-instance v8, Lorg/json/JSONArray;
|
|
|
|
invoke-direct {v8}, Lorg/json/JSONArray;-><init>()V
|
|
|
|
.line 17
|
|
:try_start_0
|
|
new-instance v10, Lorg/json/JSONArray;
|
|
|
|
const-string v11, "[]"
|
|
|
|
invoke-interface {v7, v0, v11}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v11
|
|
|
|
invoke-direct {v10, v11}, Lorg/json/JSONArray;-><init>(Ljava/lang/String;)V
|
|
:try_end_0
|
|
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
move-object v8, v10
|
|
|
|
.line 20
|
|
:catch_0
|
|
new-instance v10, Ljava/util/concurrent/CopyOnWriteArrayList;
|
|
|
|
invoke-direct {v10}, Ljava/util/concurrent/CopyOnWriteArrayList;-><init>()V
|
|
|
|
iget-object v11, p0, Lcom/fyber/inneractive/sdk/flow/c;->b:Lcom/fyber/inneractive/sdk/flow/d;
|
|
|
|
.line 22
|
|
iget-object v11, v11, Lcom/fyber/inneractive/sdk/metrics/a;->a:Ljava/lang/String;
|
|
|
|
.line 23
|
|
invoke-virtual {v2, v9, v11}, Lcom/fyber/inneractive/sdk/config/k;->a(ZLjava/lang/String;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
.line 24
|
|
invoke-static {v5, v6, v8, v10}, Lcom/fyber/inneractive/sdk/metrics/a;->a(IILorg/json/JSONArray;Ljava/util/concurrent/CopyOnWriteArrayList;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_2
|
|
|
|
.line 25
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
move-result-wide v5
|
|
|
|
invoke-static {v5, v6}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v10, v2}, Ljava/util/concurrent/CopyOnWriteArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
.line 28
|
|
:try_start_1
|
|
new-instance v2, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v2, v4}, Lorg/json/JSONObject;-><init>(Ljava/util/Map;)V
|
|
|
|
invoke-virtual {v2}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
const-string v2, ""
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
iget-object v2, p0, Lcom/fyber/inneractive/sdk/flow/c;->b:Lcom/fyber/inneractive/sdk/flow/d;
|
|
|
|
.line 30
|
|
iget-object v2, v2, Lcom/fyber/inneractive/sdk/flow/d;->b:Lcom/fyber/inneractive/sdk/response/e;
|
|
|
|
.line 31
|
|
iget-object v2, v2, Lcom/fyber/inneractive/sdk/response/e;->q:Ljava/lang/String;
|
|
|
|
:goto_0
|
|
iget-object v4, p0, Lcom/fyber/inneractive/sdk/flow/c;->b:Lcom/fyber/inneractive/sdk/flow/d;
|
|
|
|
.line 33
|
|
iget-object v5, v4, Lcom/fyber/inneractive/sdk/flow/d;->c:Lcom/fyber/inneractive/sdk/external/InneractiveAdRequest;
|
|
|
|
.line 34
|
|
iget-object v6, v4, Lcom/fyber/inneractive/sdk/flow/d;->b:Lcom/fyber/inneractive/sdk/response/e;
|
|
|
|
iget-object v8, p0, Lcom/fyber/inneractive/sdk/flow/c;->a:Lcom/fyber/inneractive/sdk/external/InneractiveInfrastructureError;
|
|
|
|
.line 36
|
|
iget-object v4, v4, Lcom/fyber/inneractive/sdk/flow/d;->d:Lorg/json/JSONArray;
|
|
|
|
.line 37
|
|
new-instance v9, Lcom/fyber/inneractive/sdk/network/s$a;
|
|
|
|
sget-object v11, Lcom/fyber/inneractive/sdk/network/q;->IA_AD_FAILURE_DATA:Lcom/fyber/inneractive/sdk/network/q;
|
|
|
|
invoke-direct {v9, v11, v5, v6, v4}, Lcom/fyber/inneractive/sdk/network/s$a;-><init>(Lcom/fyber/inneractive/sdk/network/q;Lcom/fyber/inneractive/sdk/external/InneractiveAdRequest;Lcom/fyber/inneractive/sdk/response/e;Lorg/json/JSONArray;)V
|
|
|
|
.line 38
|
|
new-instance v4, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v4}, Lorg/json/JSONObject;-><init>()V
|
|
|
|
const-string v5, "raw_response"
|
|
|
|
.line 40
|
|
:try_start_2
|
|
invoke-virtual {v4, v5, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
:try_end_2
|
|
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1
|
|
|
|
goto :goto_1
|
|
|
|
:catch_1
|
|
filled-new-array {v5, v3}, [Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
.line 42
|
|
invoke-static {v1, v3}, Lcom/fyber/inneractive/sdk/util/IAlog;->f(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
:goto_1
|
|
const-string v3, "headers"
|
|
|
|
.line 44
|
|
:try_start_3
|
|
invoke-virtual {v4, v3, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
:try_end_3
|
|
.catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_2
|
|
|
|
goto :goto_2
|
|
|
|
:catch_2
|
|
filled-new-array {v3, v2}, [Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
.line 46
|
|
invoke-static {v1, v2}, Lcom/fyber/inneractive/sdk/util/IAlog;->f(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
:goto_2
|
|
const-string v2, "error_code"
|
|
|
|
.line 48
|
|
invoke-virtual {v8}, Lcom/fyber/inneractive/sdk/external/InneractiveInfrastructureError;->description()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
.line 49
|
|
:try_start_4
|
|
invoke-virtual {v4, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
:try_end_4
|
|
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_3
|
|
|
|
goto :goto_3
|
|
|
|
:catch_3
|
|
filled-new-array {v2, v3}, [Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
.line 51
|
|
invoke-static {v1, v2}, Lcom/fyber/inneractive/sdk/util/IAlog;->f(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
:goto_3
|
|
iget-object v1, v9, Lcom/fyber/inneractive/sdk/network/s$a;->f:Lorg/json/JSONArray;
|
|
|
|
.line 52
|
|
invoke-virtual {v1, v4}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 53
|
|
invoke-virtual {v9, v1}, Lcom/fyber/inneractive/sdk/network/s$a;->a(Ljava/lang/String;)V
|
|
|
|
.line 54
|
|
:cond_2
|
|
new-instance v1, Lorg/json/JSONArray;
|
|
|
|
invoke-direct {v1, v10}, Lorg/json/JSONArray;-><init>(Ljava/util/Collection;)V
|
|
|
|
.line 55
|
|
invoke-interface {v7}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1}, Lorg/json/JSONArray;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v2, v0, v1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->apply()V
|
|
|
|
:cond_3
|
|
:goto_4
|
|
return-void
|
|
.end method
|