- 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
237 lines
6.1 KiB
Smali
237 lines
6.1 KiB
Smali
.class public final Lcom/mbridge/msdk/foundation/db/a/b;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/mbridge/msdk/foundation/db/a/b$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private a:Lcom/mbridge/msdk/foundation/same/a/a;
|
|
|
|
.field private b:Lcom/mbridge/msdk/foundation/db/k;
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 2
|
|
|
|
.line 19
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 15
|
|
new-instance v0, Lcom/mbridge/msdk/foundation/same/a/a;
|
|
|
|
const/16 v1, 0x3e8
|
|
|
|
invoke-direct {v0, v1}, Lcom/mbridge/msdk/foundation/same/a/a;-><init>(I)V
|
|
|
|
iput-object v0, p0, Lcom/mbridge/msdk/foundation/db/a/b;->a:Lcom/mbridge/msdk/foundation/same/a/a;
|
|
|
|
.line 21
|
|
:try_start_0
|
|
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/c;->m()Lcom/mbridge/msdk/foundation/controller/c;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/mbridge/msdk/foundation/controller/a;->c()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lcom/mbridge/msdk/foundation/db/g;->a(Landroid/content/Context;)Lcom/mbridge/msdk/foundation/db/g;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lcom/mbridge/msdk/foundation/db/k;->a(Lcom/mbridge/msdk/foundation/db/f;)Lcom/mbridge/msdk/foundation/db/k;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/mbridge/msdk/foundation/db/a/b;->b:Lcom/mbridge/msdk/foundation/db/k;
|
|
|
|
.line 22
|
|
invoke-virtual {v0}, Lcom/mbridge/msdk/foundation/db/k;->a()Lorg/json/JSONObject;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 23
|
|
invoke-virtual {p0, v0, v1}, Lcom/mbridge/msdk/foundation/db/a/b;->a(Lorg/json/JSONObject;Z)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
.line 25
|
|
invoke-virtual {v0}, Ljava/lang/Throwable;->printStackTrace()V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Lcom/mbridge/msdk/foundation/db/a/b$1;)V
|
|
.locals 0
|
|
|
|
.line 13
|
|
invoke-direct {p0}, Lcom/mbridge/msdk/foundation/db/a/b;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a()Lcom/mbridge/msdk/foundation/db/a/b;
|
|
.locals 1
|
|
|
|
.line 55
|
|
invoke-static {}, Lcom/mbridge/msdk/foundation/db/a/b$a;->a()Lcom/mbridge/msdk/foundation/db/a/b;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static synthetic a(Lcom/mbridge/msdk/foundation/db/a/b;)Lcom/mbridge/msdk/foundation/db/k;
|
|
.locals 0
|
|
|
|
.line 13
|
|
iget-object p0, p0, Lcom/mbridge/msdk/foundation/db/a/b;->b:Lcom/mbridge/msdk/foundation/db/k;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static synthetic b(Lcom/mbridge/msdk/foundation/db/a/b;)Lcom/mbridge/msdk/foundation/same/a/a;
|
|
.locals 0
|
|
|
|
.line 13
|
|
iget-object p0, p0, Lcom/mbridge/msdk/foundation/db/a/b;->a:Lcom/mbridge/msdk/foundation/same/a/a;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/db/a/b;->a:Lcom/mbridge/msdk/foundation/same/a/a;
|
|
|
|
.line 63
|
|
invoke-virtual {v0, p1}, Lcom/mbridge/msdk/foundation/same/a/a;->a(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
iget-object v1, p0, Lcom/mbridge/msdk/foundation/db/a/b;->b:Lcom/mbridge/msdk/foundation/db/k;
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
return-object v0
|
|
|
|
.line 70
|
|
:cond_1
|
|
invoke-virtual {v1, p1}, Lcom/mbridge/msdk/foundation/db/k;->a(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
iget-object v1, p0, Lcom/mbridge/msdk/foundation/db/a/b;->a:Lcom/mbridge/msdk/foundation/same/a/a;
|
|
|
|
.line 72
|
|
invoke-virtual {v1, p1, v0}, Lcom/mbridge/msdk/foundation/same/a/a;->a(Ljava/lang/String;Lorg/json/JSONObject;)Z
|
|
|
|
:cond_2
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final a(Lorg/json/JSONObject;Z)V
|
|
.locals 5
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 31
|
|
invoke-virtual {p1}, Lorg/json/JSONObject;->keys()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
.line 32
|
|
new-instance v1, Lcom/mbridge/msdk/foundation/same/a/a;
|
|
|
|
const/16 v2, 0x64
|
|
|
|
invoke-direct {v1, v2}, Lcom/mbridge/msdk/foundation/same/a/a;-><init>(I)V
|
|
|
|
.line 33
|
|
:goto_0
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 34
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Ljava/lang/String;
|
|
|
|
.line 35
|
|
invoke-virtual {p1, v2}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v3
|
|
|
|
iget-object v4, p0, Lcom/mbridge/msdk/foundation/db/a/b;->a:Lcom/mbridge/msdk/foundation/same/a/a;
|
|
|
|
.line 36
|
|
invoke-virtual {v4, v2, v3}, Lcom/mbridge/msdk/foundation/same/a/a;->a(Ljava/lang/String;Lorg/json/JSONObject;)Z
|
|
|
|
.line 37
|
|
invoke-virtual {v1, v2, v3}, Lcom/mbridge/msdk/foundation/same/a/a;->a(Ljava/lang/String;Lorg/json/JSONObject;)Z
|
|
|
|
goto :goto_0
|
|
|
|
.line 39
|
|
:cond_0
|
|
invoke-static {}, Lcom/mbridge/msdk/foundation/same/f/a;->b()Ljava/util/concurrent/ThreadPoolExecutor;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance v0, Lcom/mbridge/msdk/foundation/db/a/b$1;
|
|
|
|
invoke-direct {v0, p0, p2, v1}, Lcom/mbridge/msdk/foundation/db/a/b$1;-><init>(Lcom/mbridge/msdk/foundation/db/a/b;ZLcom/mbridge/msdk/foundation/same/a/a;)V
|
|
|
|
invoke-virtual {p1, v0}, Ljava/util/concurrent/ThreadPoolExecutor;->execute(Ljava/lang/Runnable;)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public final b()Lorg/json/JSONArray;
|
|
.locals 2
|
|
|
|
.line 59
|
|
new-instance v0, Lorg/json/JSONArray;
|
|
|
|
iget-object v1, p0, Lcom/mbridge/msdk/foundation/db/a/b;->a:Lcom/mbridge/msdk/foundation/same/a/a;
|
|
|
|
invoke-virtual {v1}, Lcom/mbridge/msdk/foundation/same/a/a;->a()Ljava/util/Collection;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Lorg/json/JSONArray;-><init>(Ljava/util/Collection;)V
|
|
|
|
return-object v0
|
|
.end method
|