- 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
322 lines
8.3 KiB
Smali
322 lines
8.3 KiB
Smali
.class public final Lcom/fyber/inneractive/sdk/network/v0$a;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/fyber/inneractive/sdk/network/v0;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic a:Lcom/fyber/inneractive/sdk/network/v0;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/fyber/inneractive/sdk/network/v0;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/fyber/inneractive/sdk/network/v0$a;->a:Lcom/fyber/inneractive/sdk/network/v0;
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final run()V
|
|
.locals 11
|
|
|
|
const-string v0, "Got exception adding param to json object: %s, %s"
|
|
|
|
iget-object v1, p0, Lcom/fyber/inneractive/sdk/network/v0$a;->a:Lcom/fyber/inneractive/sdk/network/v0;
|
|
|
|
.line 2
|
|
iget-object v2, v1, Lcom/fyber/inneractive/sdk/network/v0;->b:Ljava/lang/ref/WeakReference;
|
|
|
|
.line 3
|
|
invoke-static {v2}, Lcom/fyber/inneractive/sdk/util/t;->a(Ljava/lang/ref/WeakReference;)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Lcom/fyber/inneractive/sdk/network/c0;
|
|
|
|
iget-object v3, p0, Lcom/fyber/inneractive/sdk/network/v0$a;->a:Lcom/fyber/inneractive/sdk/network/v0;
|
|
|
|
.line 4
|
|
iget-object v3, v3, Lcom/fyber/inneractive/sdk/network/v0;->a:Ljava/lang/ref/WeakReference;
|
|
|
|
.line 5
|
|
invoke-static {v3}, Lcom/fyber/inneractive/sdk/util/t;->a(Ljava/lang/ref/WeakReference;)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Ljava/lang/Thread;
|
|
|
|
if-eqz v2, :cond_6
|
|
|
|
.line 6
|
|
invoke-interface {v2}, Lcom/fyber/inneractive/sdk/network/c0;->h()Lcom/fyber/inneractive/sdk/network/r0;
|
|
|
|
move-result-object v4
|
|
|
|
sget-object v5, Lcom/fyber/inneractive/sdk/network/r0;->DONE:Lcom/fyber/inneractive/sdk/network/r0;
|
|
|
|
if-eq v4, v5, :cond_6
|
|
|
|
.line 7
|
|
invoke-interface {v2}, Lcom/fyber/inneractive/sdk/network/c0;->h()Lcom/fyber/inneractive/sdk/network/r0;
|
|
|
|
move-result-object v4
|
|
|
|
sget-object v5, Lcom/fyber/inneractive/sdk/network/r0;->RESOLVED:Lcom/fyber/inneractive/sdk/network/r0;
|
|
|
|
if-eq v4, v5, :cond_6
|
|
|
|
.line 8
|
|
invoke-static {v2}, Lcom/fyber/inneractive/sdk/network/v0;->a(Lcom/fyber/inneractive/sdk/network/c0;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_5
|
|
|
|
const-string v4, ""
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
.line 11
|
|
invoke-virtual {v3}, Ljava/lang/Thread;->getStackTrace()[Ljava/lang/StackTraceElement;
|
|
|
|
move-result-object v3
|
|
|
|
.line 12
|
|
new-instance v5, Ljava/lang/Exception;
|
|
|
|
invoke-direct {v5}, Ljava/lang/Exception;-><init>()V
|
|
|
|
.line 13
|
|
invoke-virtual {v5, v3}, Ljava/lang/Throwable;->setStackTrace([Ljava/lang/StackTraceElement;)V
|
|
|
|
.line 14
|
|
new-instance v3, Ljava/io/StringWriter;
|
|
|
|
invoke-direct {v3}, Ljava/io/StringWriter;-><init>()V
|
|
|
|
.line 15
|
|
new-instance v6, Ljava/io/PrintWriter;
|
|
|
|
invoke-direct {v6, v3}, Ljava/io/PrintWriter;-><init>(Ljava/io/Writer;)V
|
|
|
|
.line 16
|
|
invoke-virtual {v5, v6}, Ljava/lang/Throwable;->printStackTrace(Ljava/io/PrintWriter;)V
|
|
|
|
.line 17
|
|
invoke-virtual {v3}, Ljava/io/StringWriter;->getBuffer()Ljava/lang/StringBuffer;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object v3, v4
|
|
|
|
:goto_0
|
|
if-eqz v2, :cond_1
|
|
|
|
.line 18
|
|
invoke-interface {v2}, Lcom/fyber/inneractive/sdk/network/c0;->getUrl()Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
.line 20
|
|
:cond_1
|
|
instance-of v5, v2, Lcom/fyber/inneractive/sdk/network/d0;
|
|
|
|
const/4 v6, 0x0
|
|
|
|
if-eqz v5, :cond_2
|
|
|
|
.line 21
|
|
move-object v5, v2
|
|
|
|
check-cast v5, Lcom/fyber/inneractive/sdk/network/d0;
|
|
|
|
.line 22
|
|
iget-object v5, v5, Lcom/fyber/inneractive/sdk/network/d0;->p:Lcom/fyber/inneractive/sdk/external/InneractiveAdRequest;
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
move-object v5, v6
|
|
|
|
.line 23
|
|
:goto_1
|
|
instance-of v7, v2, Lcom/fyber/inneractive/sdk/network/o0;
|
|
|
|
if-eqz v7, :cond_3
|
|
|
|
.line 24
|
|
move-object v7, v2
|
|
|
|
check-cast v7, Lcom/fyber/inneractive/sdk/network/o0;
|
|
|
|
.line 25
|
|
iget-object v7, v7, Lcom/fyber/inneractive/sdk/network/o0;->s:Lcom/fyber/inneractive/sdk/response/e;
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
move-object v7, v6
|
|
|
|
.line 26
|
|
:goto_2
|
|
new-instance v8, Lcom/fyber/inneractive/sdk/network/s$a;
|
|
|
|
sget-object v9, Lcom/fyber/inneractive/sdk/network/r;->NETWORK_REQUEST_PASSED_ALLOWED_TIME:Lcom/fyber/inneractive/sdk/network/r;
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
.line 28
|
|
invoke-interface {v2}, Lcom/fyber/inneractive/sdk/network/c0;->p()Lcom/fyber/inneractive/sdk/config/global/s;
|
|
|
|
move-result-object v10
|
|
|
|
if-eqz v10, :cond_4
|
|
|
|
invoke-interface {v2}, Lcom/fyber/inneractive/sdk/network/c0;->p()Lcom/fyber/inneractive/sdk/config/global/s;
|
|
|
|
move-result-object v10
|
|
|
|
invoke-virtual {v10}, Lcom/fyber/inneractive/sdk/config/global/s;->c()Lorg/json/JSONArray;
|
|
|
|
move-result-object v10
|
|
|
|
goto :goto_3
|
|
|
|
:cond_4
|
|
move-object v10, v6
|
|
|
|
:goto_3
|
|
invoke-direct {v8, v9, v5, v7, v10}, Lcom/fyber/inneractive/sdk/network/s$a;-><init>(Lcom/fyber/inneractive/sdk/network/r;Lcom/fyber/inneractive/sdk/external/InneractiveAdRequest;Lcom/fyber/inneractive/sdk/response/e;Lorg/json/JSONArray;)V
|
|
|
|
.line 29
|
|
new-instance v5, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v5}, Lorg/json/JSONObject;-><init>()V
|
|
|
|
const-string v7, "url"
|
|
|
|
.line 31
|
|
:try_start_0
|
|
invoke-virtual {v5, v7, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_4
|
|
|
|
:catch_0
|
|
filled-new-array {v7, v4}, [Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
.line 33
|
|
invoke-static {v0, v4}, Lcom/fyber/inneractive/sdk/util/IAlog;->f(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
:goto_4
|
|
const-string v4, "stack_trace"
|
|
|
|
.line 35
|
|
:try_start_1
|
|
invoke-virtual {v5, v4, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
:try_end_1
|
|
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
goto :goto_5
|
|
|
|
:catch_1
|
|
filled-new-array {v4, v3}, [Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
.line 37
|
|
invoke-static {v0, v3}, Lcom/fyber/inneractive/sdk/util/IAlog;->f(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
:goto_5
|
|
const-string v3, "total_time"
|
|
|
|
.line 38
|
|
iget v4, v1, Lcom/fyber/inneractive/sdk/network/v0;->c:I
|
|
|
|
.line 39
|
|
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v4
|
|
|
|
.line 40
|
|
:try_start_2
|
|
invoke-virtual {v5, v3, v4}, 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_2
|
|
|
|
goto :goto_6
|
|
|
|
:catch_2
|
|
filled-new-array {v3, v4}, [Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
.line 42
|
|
invoke-static {v0, v3}, Lcom/fyber/inneractive/sdk/util/IAlog;->f(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
:goto_6
|
|
iget-object v0, v8, Lcom/fyber/inneractive/sdk/network/s$a;->f:Lorg/json/JSONArray;
|
|
|
|
.line 43
|
|
invoke-virtual {v0, v5}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray;
|
|
|
|
.line 44
|
|
invoke-virtual {v8, v6}, Lcom/fyber/inneractive/sdk/network/s$a;->a(Ljava/lang/String;)V
|
|
|
|
.line 46
|
|
:cond_5
|
|
invoke-static {v1}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iget v1, v1, Lcom/fyber/inneractive/sdk/network/v0;->c:I
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
filled-new-array {v0, v1}, [Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "%s : NetworkWatchdogHolder should cancel by timeout: %d"
|
|
|
|
.line 47
|
|
invoke-static {v1, v0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
.line 49
|
|
invoke-interface {v2}, Lcom/fyber/inneractive/sdk/network/c0;->c()V
|
|
|
|
:cond_6
|
|
return-void
|
|
.end method
|