- 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
352 lines
7.9 KiB
Smali
352 lines
7.9 KiB
Smali
.class public final Lcom/mbridge/msdk/video/bt/a/c;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/mbridge/msdk/video/bt/a/c$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field a:I
|
|
|
|
.field b:I
|
|
|
|
.field private c:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 1
|
|
|
|
.line 23
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const-string v0, "handlerNativeResult"
|
|
|
|
iput-object v0, p0, Lcom/mbridge/msdk/video/bt/a/c;->c:Ljava/lang/String;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, p0, Lcom/mbridge/msdk/video/bt/a/c;->a:I
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput v0, p0, Lcom/mbridge/msdk/video/bt/a/c;->b:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Lcom/mbridge/msdk/video/bt/a/c$1;)V
|
|
.locals 0
|
|
|
|
.line 14
|
|
invoke-direct {p0}, Lcom/mbridge/msdk/video/bt/a/c;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a()Lcom/mbridge/msdk/video/bt/a/c;
|
|
.locals 1
|
|
|
|
.line 31
|
|
invoke-static {}, Lcom/mbridge/msdk/video/bt/a/c$a;->a()Lcom/mbridge/msdk/video/bt/a/c;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private a(ILjava/lang/String;Ljava/lang/Object;)V
|
|
.locals 3
|
|
|
|
const-string v0, "HandlerH5MessageManager"
|
|
|
|
.line 69
|
|
:try_start_0
|
|
new-instance v1, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v1}, Lorg/json/JSONObject;-><init>()V
|
|
|
|
const-string v2, "code"
|
|
|
|
.line 70
|
|
invoke-virtual {v1, v2, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
|
|
|
|
const-string p1, "message"
|
|
|
|
.line 71
|
|
invoke-virtual {v1, p1, p2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
.line 72
|
|
invoke-static {}, Lcom/mbridge/msdk/mbsignalcommon/windvane/g;->a()Lcom/mbridge/msdk/mbsignalcommon/windvane/g;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v1}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p2}, Ljava/lang/String;->getBytes()[B
|
|
|
|
move-result-object p2
|
|
|
|
const/4 v1, 0x2
|
|
|
|
invoke-static {p2, v1}, Landroid/util/Base64;->encodeToString([BI)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p1, p3, p2}, Lcom/mbridge/msdk/mbsignalcommon/windvane/g;->a(Ljava/lang/Object;Ljava/lang/String;)V
|
|
:try_end_0
|
|
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
goto :goto_2
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
goto :goto_1
|
|
|
|
.line 76
|
|
:goto_0
|
|
invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {v0, p1}, Lcom/mbridge/msdk/foundation/tools/af;->a(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
goto :goto_2
|
|
|
|
.line 74
|
|
:goto_1
|
|
invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {v0, p1}, Lcom/mbridge/msdk/foundation/tools/af;->a(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
:goto_2
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Ljava/lang/Object;Lorg/json/JSONObject;)V
|
|
.locals 6
|
|
|
|
const-string v0, "HandlerH5MessageManager"
|
|
|
|
if-eqz p2, :cond_5
|
|
|
|
.line 36
|
|
:try_start_0
|
|
invoke-virtual {p2}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_0
|
|
const-string v1, "uniqueIdentifier"
|
|
|
|
.line 40
|
|
invoke-virtual {p2, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "name"
|
|
|
|
.line 41
|
|
invoke-virtual {p2, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
.line 42
|
|
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_4
|
|
|
|
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const-string v3, "parameters"
|
|
|
|
.line 47
|
|
invoke-virtual {p2, v3}, Lorg/json/JSONObject;->optJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v4, "result"
|
|
|
|
.line 48
|
|
invoke-virtual {p2, v4}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object p2
|
|
|
|
const/4 v4, 0x0
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
.line 49
|
|
invoke-virtual {p2}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-static {v5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v5
|
|
|
|
if-nez v5, :cond_2
|
|
|
|
const-string v5, "type"
|
|
|
|
.line 50
|
|
invoke-virtual {p2, v5, v4}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I
|
|
|
|
move-result v4
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception p2
|
|
|
|
goto :goto_3
|
|
|
|
:catch_0
|
|
move-exception p2
|
|
|
|
goto :goto_4
|
|
|
|
:cond_2
|
|
:goto_0
|
|
iget p2, p0, Lcom/mbridge/msdk/video/bt/a/c;->a:I
|
|
|
|
const-string v5, "receivedMessage"
|
|
|
|
.line 52
|
|
invoke-direct {p0, p2, v5, p1}, Lcom/mbridge/msdk/video/bt/a/c;->a(ILjava/lang/String;Ljava/lang/Object;)V
|
|
|
|
const-string p2, "reporter"
|
|
|
|
.line 53
|
|
invoke-virtual {v1, p2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
.line 54
|
|
invoke-static {}, Lcom/mbridge/msdk/mbsignalcommon/a/a;->a()Lcom/mbridge/msdk/mbsignalcommon/a/a;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p2, p1, v2, v3, v4}, Lcom/mbridge/msdk/mbsignalcommon/a/a;->a(Ljava/lang/Object;Ljava/lang/String;Lorg/json/JSONArray;I)V
|
|
|
|
goto :goto_5
|
|
|
|
:cond_3
|
|
const-string p2, "MediaPlayer"
|
|
|
|
.line 55
|
|
invoke-virtual {v1, p2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_6
|
|
|
|
.line 1024
|
|
invoke-static {}, Lcom/mbridge/msdk/video/bt/a/b$a;->a()Lcom/mbridge/msdk/video/bt/a/b;
|
|
|
|
goto :goto_5
|
|
|
|
:cond_4
|
|
:goto_1
|
|
iget p2, p0, Lcom/mbridge/msdk/video/bt/a/c;->b:I
|
|
|
|
const-string v1, "module or method is null"
|
|
|
|
.line 43
|
|
invoke-direct {p0, p2, v1, p1}, Lcom/mbridge/msdk/video/bt/a/c;->a(ILjava/lang/String;Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
|
|
:cond_5
|
|
:goto_2
|
|
iget p2, p0, Lcom/mbridge/msdk/video/bt/a/c;->b:I
|
|
|
|
const-string v1, "params is null"
|
|
|
|
.line 37
|
|
invoke-direct {p0, p2, v1, p1}, Lcom/mbridge/msdk/video/bt/a/c;->a(ILjava/lang/String;Ljava/lang/Object;)V
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
return-void
|
|
|
|
.line 62
|
|
:goto_3
|
|
invoke-virtual {p2}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v0, v1}, Lcom/mbridge/msdk/foundation/tools/af;->a(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget v0, p0, Lcom/mbridge/msdk/video/bt/a/c;->b:I
|
|
|
|
.line 63
|
|
invoke-virtual {p2}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p0, v0, p2, p1}, Lcom/mbridge/msdk/video/bt/a/c;->a(ILjava/lang/String;Ljava/lang/Object;)V
|
|
|
|
goto :goto_5
|
|
|
|
.line 59
|
|
:goto_4
|
|
invoke-virtual {p2}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v0, v1}, Lcom/mbridge/msdk/foundation/tools/af;->a(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
iget v0, p0, Lcom/mbridge/msdk/video/bt/a/c;->b:I
|
|
|
|
.line 60
|
|
invoke-virtual {p2}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p0, v0, p2, p1}, Lcom/mbridge/msdk/video/bt/a/c;->a(ILjava/lang/String;Ljava/lang/Object;)V
|
|
|
|
:cond_6
|
|
:goto_5
|
|
return-void
|
|
.end method
|