- 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
130 lines
3.0 KiB
Smali
130 lines
3.0 KiB
Smali
.class public abstract Lcom/applovin/impl/n2;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# static fields
|
|
.field private static a:Ljava/lang/reflect/Method;
|
|
|
|
|
|
# direct methods
|
|
.method public static a(Landroid/os/Bundle;Ljava/lang/String;)Landroid/os/IBinder;
|
|
.locals 2
|
|
|
|
.line 1
|
|
sget v0, Lcom/applovin/impl/xp;->a:I
|
|
|
|
const/16 v1, 0x12
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1}, Landroid/os/Bundle;->getBinder(Ljava/lang/String;)Landroid/os/IBinder;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 4
|
|
:cond_0
|
|
invoke-static {p0, p1}, Lcom/applovin/impl/n2;->b(Landroid/os/Bundle;Ljava/lang/String;)Landroid/os/IBinder;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static b(Landroid/os/Bundle;Ljava/lang/String;)Landroid/os/IBinder;
|
|
.locals 8
|
|
|
|
sget-object v0, Lcom/applovin/impl/n2;->a:Ljava/lang/reflect/Method;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const-string v2, "BundleUtil"
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
:try_start_0
|
|
const-class v0, Landroid/os/Bundle;
|
|
|
|
const-string v3, "getIBinder"
|
|
|
|
const/4 v4, 0x1
|
|
|
|
new-array v5, v4, [Ljava/lang/Class;
|
|
|
|
const-class v6, Ljava/lang/String;
|
|
|
|
const/4 v7, 0x0
|
|
|
|
aput-object v6, v5, v7
|
|
|
|
.line 4
|
|
invoke-virtual {v0, v3, v5}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcom/applovin/impl/n2;->a:Ljava/lang/reflect/Method;
|
|
|
|
.line 5
|
|
invoke-virtual {v0, v4}, Ljava/lang/reflect/AccessibleObject;->setAccessible(Z)V
|
|
:try_end_0
|
|
.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
sget-object v0, Lcom/applovin/impl/n2;->a:Ljava/lang/reflect/Method;
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
const-string p1, "Failed to retrieve getIBinder method"
|
|
|
|
.line 11
|
|
invoke-static {v2, p1, p0}, Lcom/applovin/impl/pc;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
return-object v1
|
|
|
|
:cond_0
|
|
:goto_0
|
|
:try_start_1
|
|
filled-new-array {p1}, [Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
.line 18
|
|
invoke-virtual {v0, p0, p1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Landroid/os/IBinder;
|
|
:try_end_1
|
|
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_1 .. :try_end_1} :catch_3
|
|
.catch Ljava/lang/IllegalAccessException; {:try_start_1 .. :try_end_1} :catch_2
|
|
.catch Ljava/lang/IllegalArgumentException; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
return-object p0
|
|
|
|
:catch_1
|
|
move-exception p0
|
|
|
|
goto :goto_1
|
|
|
|
:catch_2
|
|
move-exception p0
|
|
|
|
goto :goto_1
|
|
|
|
:catch_3
|
|
move-exception p0
|
|
|
|
:goto_1
|
|
const-string p1, "Failed to invoke getIBinder via reflection"
|
|
|
|
.line 20
|
|
invoke-static {v2, p1, p0}, Lcom/applovin/impl/pc;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
return-object v1
|
|
.end method
|