- 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
175 lines
4.1 KiB
Smali
175 lines
4.1 KiB
Smali
.class public final Lcom/fyber/inneractive/sdk/cache/session/b;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic a:Lcom/fyber/inneractive/sdk/cache/session/d;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/fyber/inneractive/sdk/cache/session/d;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/fyber/inneractive/sdk/cache/session/b;->a:Lcom/fyber/inneractive/sdk/cache/session/d;
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final run()V
|
|
.locals 7
|
|
|
|
sget-object v0, Lcom/fyber/inneractive/sdk/util/o;->a:Landroid/app/Application;
|
|
|
|
const-string v1, "session_details.json"
|
|
|
|
const/4 v2, 0x0
|
|
|
|
.line 3
|
|
:try_start_0
|
|
invoke-virtual {v0, v1}, Landroid/content/Context;->openFileInput(Ljava/lang/String;)Ljava/io/FileInputStream;
|
|
|
|
move-result-object v3
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 4
|
|
:try_start_1
|
|
invoke-virtual {v3}, Ljava/io/FileInputStream;->available()I
|
|
|
|
move-result v4
|
|
|
|
.line 5
|
|
new-array v5, v4, [B
|
|
|
|
.line 6
|
|
invoke-virtual {v3, v5}, Ljava/io/FileInputStream;->read([B)I
|
|
|
|
move-result v6
|
|
|
|
if-ne v6, v4, :cond_0
|
|
|
|
.line 8
|
|
new-instance v4, Ljava/lang/String;
|
|
|
|
const-string v6, "UTF-8"
|
|
|
|
invoke-direct {v4, v5, v6}, Ljava/lang/String;-><init>([BLjava/lang/String;)V
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object v4, v2
|
|
|
|
.line 13
|
|
:goto_0
|
|
invoke-static {v3}, Lcom/fyber/inneractive/sdk/util/t;->a(Ljava/io/Closeable;)V
|
|
|
|
goto :goto_1
|
|
|
|
:catchall_0
|
|
move-object v3, v2
|
|
|
|
:catchall_1
|
|
:try_start_2
|
|
const-string v4, "readFileFromContext failed reading %s"
|
|
|
|
filled-new-array {v1}, [Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
.line 14
|
|
invoke-static {v4, v5}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_3
|
|
|
|
.line 16
|
|
invoke-static {v3}, Lcom/fyber/inneractive/sdk/util/t;->a(Ljava/io/Closeable;)V
|
|
|
|
move-object v4, v2
|
|
|
|
.line 17
|
|
:goto_1
|
|
invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_2
|
|
|
|
.line 20
|
|
:try_start_3
|
|
new-instance v3, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v3, v4}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V
|
|
:try_end_3
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_2
|
|
|
|
move-object v2, v3
|
|
|
|
goto :goto_2
|
|
|
|
:catchall_2
|
|
const/4 v3, 0x0
|
|
|
|
new-array v3, v3, [Ljava/lang/Object;
|
|
|
|
const-string v4, "Failed parsing SessionCache"
|
|
|
|
.line 22
|
|
invoke-static {v4, v3}, Lcom/fyber/inneractive/sdk/util/IAlog;->f(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
:goto_2
|
|
if-eqz v2, :cond_1
|
|
|
|
.line 23
|
|
sget-object v0, Lcom/fyber/inneractive/sdk/util/p;->b:Landroid/os/Handler;
|
|
|
|
.line 24
|
|
new-instance v1, Lcom/fyber/inneractive/sdk/cache/session/b$a;
|
|
|
|
invoke-direct {v1, p0, v2}, Lcom/fyber/inneractive/sdk/cache/session/b$a;-><init>(Lcom/fyber/inneractive/sdk/cache/session/b;Lorg/json/JSONObject;)V
|
|
|
|
invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
|
|
|
|
goto :goto_3
|
|
|
|
.line 32
|
|
:cond_1
|
|
invoke-virtual {v0, v1}, Landroid/content/Context;->deleteFile(Ljava/lang/String;)Z
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/cache/session/b;->a:Lcom/fyber/inneractive/sdk/cache/session/d;
|
|
|
|
.line 33
|
|
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
goto :goto_3
|
|
|
|
:cond_2
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/cache/session/b;->a:Lcom/fyber/inneractive/sdk/cache/session/d;
|
|
|
|
.line 36
|
|
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
:goto_3
|
|
return-void
|
|
|
|
:catchall_3
|
|
move-exception v0
|
|
|
|
.line 37
|
|
invoke-static {v3}, Lcom/fyber/inneractive/sdk/util/t;->a(Ljava/io/Closeable;)V
|
|
|
|
.line 38
|
|
throw v0
|
|
.end method
|