Files
rr3-apk/smali_classes2/com/ea/nimble/BaseCore$1.smali
Daniel Elliott f3960ee359 Add Discord APKTool decompilation (Smali source for modding)
- 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
2026-02-18 16:13:44 -08:00

144 lines
3.9 KiB
Smali

.class Lcom/ea/nimble/BaseCore$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/ea/nimble/BaseCore;->restartWithConfiguration(Lcom/ea/nimble/NimbleConfiguration;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/ea/nimble/BaseCore;
.field final synthetic val$configuration:Lcom/ea/nimble/NimbleConfiguration;
# direct methods
.method public constructor <init>(Lcom/ea/nimble/BaseCore;Lcom/ea/nimble/NimbleConfiguration;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
iput-object p1, p0, Lcom/ea/nimble/BaseCore$1;->this$0:Lcom/ea/nimble/BaseCore;
iput-object p2, p0, Lcom/ea/nimble/BaseCore$1;->val$configuration:Lcom/ea/nimble/NimbleConfiguration;
.line 290
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 2
.line 295
sget-object v0, Lcom/ea/nimble/BaseCore$2;->$SwitchMap$com$ea$nimble$BaseCore$State:[I
iget-object v1, p0, Lcom/ea/nimble/BaseCore$1;->this$0:Lcom/ea/nimble/BaseCore;
iget-object v1, v1, Lcom/ea/nimble/BaseCore;->m_state:Lcom/ea/nimble/BaseCore$State;
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
move-result v1
aget v0, v0, v1
const/4 v1, 0x0
packed-switch v0, :pswitch_data_0
goto :goto_0
:pswitch_0
const-string v0, "Cannot restart Nimble when app is quiting"
new-array v1, v1, [Ljava/lang/Object;
.line 314
invoke-static {p0, v0, v1}, Lcom/ea/nimble/Log$Helper;->LOGF(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_0
:pswitch_1
iget-object v0, p0, Lcom/ea/nimble/BaseCore$1;->this$0:Lcom/ea/nimble/BaseCore;
.line 299
iget-object v0, v0, Lcom/ea/nimble/BaseCore;->m_componentManager:Lcom/ea/nimble/ComponentManager;
invoke-virtual {v0}, Lcom/ea/nimble/ComponentManager;->cleanup()V
iget-object v0, p0, Lcom/ea/nimble/BaseCore$1;->this$0:Lcom/ea/nimble/BaseCore;
.line 300
iget-object v0, v0, Lcom/ea/nimble/BaseCore;->m_componentManager:Lcom/ea/nimble/ComponentManager;
invoke-virtual {v0}, Lcom/ea/nimble/ComponentManager;->teardown()V
iget-object v0, p0, Lcom/ea/nimble/BaseCore$1;->this$0:Lcom/ea/nimble/BaseCore;
iget-object v1, p0, Lcom/ea/nimble/BaseCore$1;->val$configuration:Lcom/ea/nimble/NimbleConfiguration;
.line 301
iput-object v1, v0, Lcom/ea/nimble/BaseCore;->m_configuration:Lcom/ea/nimble/NimbleConfiguration;
.line 302
iget-object v0, v0, Lcom/ea/nimble/BaseCore;->m_componentManager:Lcom/ea/nimble/ComponentManager;
invoke-virtual {v0}, Lcom/ea/nimble/ComponentManager;->setup()V
const-string v0, "nimble.notification.componentIndependentSetupFinished"
.line 304
invoke-static {v0}, Lcom/ea/nimble/Utility;->sendBroadcast(Ljava/lang/String;)V
iget-object v0, p0, Lcom/ea/nimble/BaseCore$1;->this$0:Lcom/ea/nimble/BaseCore;
.line 305
iget-object v0, v0, Lcom/ea/nimble/BaseCore;->m_componentManager:Lcom/ea/nimble/ComponentManager;
invoke-virtual {v0}, Lcom/ea/nimble/ComponentManager;->restore()V
goto :goto_0
:pswitch_2
const-string v0, "Should not happen, getInstance should ensure active instance"
new-array v1, v1, [Ljava/lang/Object;
.line 310
invoke-static {p0, v0, v1}, Lcom/ea/nimble/Log$Helper;->LOGF(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)V
:goto_0
return-void
nop
:pswitch_data_0
.packed-switch 0x1
:pswitch_2
:pswitch_2
:pswitch_2
:pswitch_1
:pswitch_1
:pswitch_0
:pswitch_0
.end packed-switch
.end method