Files
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

95 lines
2.8 KiB
Smali

.class Lcsdk/starlightsecurity/platform/AndroidPlatform$2;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcsdk/starlightsecurity/eventbus/GluEventBus$IEventHandler;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcsdk/starlightsecurity/platform/AndroidPlatform;->subscribe(Ljava/lang/String;[Ljava/lang/String;J)Ljava/lang/Object;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcsdk/starlightsecurity/platform/AndroidPlatform;
.field final synthetic val$nativeCallback:J
# direct methods
.method public constructor <init>(Lcsdk/starlightsecurity/platform/AndroidPlatform;J)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
iput-object p1, p0, Lcsdk/starlightsecurity/platform/AndroidPlatform$2;->this$0:Lcsdk/starlightsecurity/platform/AndroidPlatform;
iput-wide p2, p0, Lcsdk/starlightsecurity/platform/AndroidPlatform$2;->val$nativeCallback:J
.line 107
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public handleEvent(Lcsdk/starlightsecurity/eventbus/GluEventBus;Ljava/lang/Object;Ljava/lang/String;Lcsdk/starlightsecurity/eventbus/GluEventBus$Event;)V
.locals 9
.line 112
:try_start_0
new-instance p1, Lorg/json/JSONObject;
iget-object v0, p4, Lcsdk/starlightsecurity/eventbus/GluEventBus$Event;->data:Ljava/util/Map;
invoke-direct {p1, v0}, Lorg/json/JSONObject;-><init>(Ljava/util/Map;)V
.line 113
invoke-virtual {p1}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
move-result-object p1
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
:goto_0
move-object v8, p1
goto :goto_1
:catch_0
const-string p1, ""
goto :goto_0
:goto_1
iget-object v0, p0, Lcsdk/starlightsecurity/platform/AndroidPlatform$2;->this$0:Lcsdk/starlightsecurity/platform/AndroidPlatform;
iget-wide v1, p0, Lcsdk/starlightsecurity/platform/AndroidPlatform$2;->val$nativeCallback:J
.line 115
iget-object v5, p4, Lcsdk/starlightsecurity/eventbus/GluEventBus$Event;->channel:Ljava/lang/String;
iget-object v6, p4, Lcsdk/starlightsecurity/eventbus/GluEventBus$Event;->action:Ljava/lang/String;
iget-object v7, p4, Lcsdk/starlightsecurity/eventbus/GluEventBus$Event;->sender:Ljava/lang/String;
move-object v3, p2
move-object v4, p3
invoke-static/range {v0 .. v8}, Lcsdk/starlightsecurity/platform/AndroidPlatform;->access$100(Lcsdk/starlightsecurity/platform/AndroidPlatform;JLjava/lang/Object;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method