- 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
191 lines
4.5 KiB
Smali
191 lines
4.5 KiB
Smali
.class public Lcom/ea/nimble/Base;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 5
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static getComponent(Ljava/lang/String;)Lcom/ea/nimble/Component;
|
|
.locals 1
|
|
|
|
const-string v0, "Base"
|
|
|
|
.line 55
|
|
invoke-static {v0}, Lcom/ea/nimble/Log$Helper;->LOGFUNCS(Ljava/lang/String;)V
|
|
|
|
.line 56
|
|
invoke-static {}, Lcom/ea/nimble/BaseCore;->getInstance()Lcom/ea/nimble/BaseCore;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/ea/nimble/BaseCore;->activeValidate()Lcom/ea/nimble/BaseCore;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
.line 60
|
|
:cond_0
|
|
invoke-virtual {v0}, Lcom/ea/nimble/BaseCore;->getComponentManager()Lcom/ea/nimble/ComponentManager;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p0}, Lcom/ea/nimble/ComponentManager;->getComponent(Ljava/lang/String;)Lcom/ea/nimble/Component;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static getComponentList(Ljava/lang/String;)[Lcom/ea/nimble/Component;
|
|
.locals 1
|
|
|
|
const-string v0, "Base"
|
|
|
|
.line 72
|
|
invoke-static {v0}, Lcom/ea/nimble/Log$Helper;->LOGFUNCS(Ljava/lang/String;)V
|
|
|
|
.line 73
|
|
invoke-static {}, Lcom/ea/nimble/BaseCore;->getInstance()Lcom/ea/nimble/BaseCore;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/ea/nimble/BaseCore;->activeValidate()Lcom/ea/nimble/BaseCore;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
.line 77
|
|
:cond_0
|
|
invoke-virtual {v0}, Lcom/ea/nimble/BaseCore;->getComponentManager()Lcom/ea/nimble/ComponentManager;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p0}, Lcom/ea/nimble/ComponentManager;->getComponentList(Ljava/lang/String;)[Lcom/ea/nimble/Component;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static getConfiguration()Lcom/ea/nimble/NimbleConfiguration;
|
|
.locals 1
|
|
|
|
const-string v0, "Base"
|
|
|
|
.line 88
|
|
invoke-static {v0}, Lcom/ea/nimble/Log$Helper;->LOGFUNCS(Ljava/lang/String;)V
|
|
|
|
.line 89
|
|
invoke-static {}, Lcom/ea/nimble/BaseCore;->getInstance()Lcom/ea/nimble/BaseCore;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/ea/nimble/BaseCore;->getConfiguration()Lcom/ea/nimble/NimbleConfiguration;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static registerComponent(Lcom/ea/nimble/Component;Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "Base"
|
|
|
|
.line 42
|
|
invoke-static {v0}, Lcom/ea/nimble/Log$Helper;->LOGFUNCS(Ljava/lang/String;)V
|
|
|
|
.line 43
|
|
invoke-static {}, Lcom/ea/nimble/BaseCore;->getInstance()Lcom/ea/nimble/BaseCore;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/ea/nimble/BaseCore;->getComponentManager()Lcom/ea/nimble/ComponentManager;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p0, p1}, Lcom/ea/nimble/ComponentManager;->registerComponent(Lcom/ea/nimble/Component;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static restartWithConfiguration(Lcom/ea/nimble/NimbleConfiguration;)V
|
|
.locals 1
|
|
|
|
const-string v0, "Base"
|
|
|
|
.line 101
|
|
invoke-static {v0}, Lcom/ea/nimble/Log$Helper;->LOGPUBLICFUNCS(Ljava/lang/String;)V
|
|
|
|
.line 102
|
|
invoke-static {}, Lcom/ea/nimble/BaseCore;->getInstance()Lcom/ea/nimble/BaseCore;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/ea/nimble/BaseCore;->activeValidate()Lcom/ea/nimble/BaseCore;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 104
|
|
invoke-virtual {v0, p0}, Lcom/ea/nimble/BaseCore;->restartWithConfiguration(Lcom/ea/nimble/NimbleConfiguration;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static setupNimble()V
|
|
.locals 1
|
|
|
|
const-string v0, "Base"
|
|
|
|
.line 16
|
|
invoke-static {v0}, Lcom/ea/nimble/Log$Helper;->LOGPUBLICFUNCS(Ljava/lang/String;)V
|
|
|
|
.line 17
|
|
invoke-static {}, Lcom/ea/nimble/BaseCore;->getInstance()Lcom/ea/nimble/BaseCore;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/ea/nimble/BaseCore;->setup()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static teardownNimble()V
|
|
.locals 1
|
|
|
|
const-string v0, "Base"
|
|
|
|
.line 29
|
|
invoke-static {v0}, Lcom/ea/nimble/Log$Helper;->LOGPUBLICFUNCS(Ljava/lang/String;)V
|
|
|
|
.line 30
|
|
invoke-static {}, Lcom/ea/nimble/BaseCore;->getInstance()Lcom/ea/nimble/BaseCore;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/ea/nimble/BaseCore;->teardown()V
|
|
|
|
return-void
|
|
.end method
|