From cbd63865e2c68b2c2cea533aa9d690b26ed68eaa Mon Sep 17 00:00:00 2001 From: KeybadeBlox Date: Sun, 22 Feb 2026 10:37:59 -0500 Subject: [PATCH] Rename Smilebit library to MUSASHI Strings in the .rdata portion of the Smilebit in-house library code suggest that this was its name, with its contents having names beginning with an M (whence MMATRIX, for example). --- decompile/Makefile | 2 +- decompile/src/JSRF/Core.hpp | 2 +- decompile/src/{Smilebit => MUSASHI}/MMatrix.cpp | 0 decompile/src/{Smilebit => MUSASHI}/MMatrix.hpp | 0 ghidra/make_header.sh | 2 +- ghidra/objects.csv | 4 ++-- 6 files changed, 5 insertions(+), 5 deletions(-) rename decompile/src/{Smilebit => MUSASHI}/MMatrix.cpp (100%) rename decompile/src/{Smilebit => MUSASHI}/MMatrix.hpp (100%) diff --git a/decompile/Makefile b/decompile/Makefile index 966ec93..eb51c84 100644 --- a/decompile/Makefile +++ b/decompile/Makefile @@ -41,7 +41,7 @@ src/JSRF/Jet2.exe: $(OBJ) $(LIB) src/JSRF/Jet2.obj: src/JSRF/Core.hpp src/XDK/CRT/stddef.h src/XDK/D3D.h\ src/XDK/Win32.h -src/JSRF/Core.obj: src/JSRF/Core.hpp src/Smilebit/MMatrix.hpp\ +src/JSRF/Core.obj: src/JSRF/Core.hpp src/MUSASHI/MMatrix.hpp\ src/XDK/CRT/stddef.h src/XDK/D3D.h src/XDK/Win32.h src/JSRF/GameData.obj: src/JSRF/GameData.hpp diff --git a/decompile/src/JSRF/Core.hpp b/decompile/src/JSRF/Core.hpp index f335ed2..cc56748 100644 --- a/decompile/src/JSRF/Core.hpp +++ b/decompile/src/JSRF/Core.hpp @@ -5,7 +5,7 @@ Game and GameObj classes that form the foundation of the JSRF game code. #ifndef CORE_HPP #define CORE_HPP -#include "../Smilebit/MMatrix.hpp" +#include "../MUSASHI/MMatrix.hpp" #include "../XDK/CRT/stddef.h" #include "../XDK/D3D.h" #include "../XDK/Win32.h" diff --git a/decompile/src/Smilebit/MMatrix.cpp b/decompile/src/MUSASHI/MMatrix.cpp similarity index 100% rename from decompile/src/Smilebit/MMatrix.cpp rename to decompile/src/MUSASHI/MMatrix.cpp diff --git a/decompile/src/Smilebit/MMatrix.hpp b/decompile/src/MUSASHI/MMatrix.hpp similarity index 100% rename from decompile/src/Smilebit/MMatrix.hpp rename to decompile/src/MUSASHI/MMatrix.hpp diff --git a/ghidra/make_header.sh b/ghidra/make_header.sh index 6b772df..d2cae8a 100755 --- a/ghidra/make_header.sh +++ b/ghidra/make_header.sh @@ -11,7 +11,7 @@ HEADERS=" Std.hpp XDK/Win32.h XDK/D3D.h - Smilebit/MMatrix.hpp + MUSASHI/MMatrix.hpp JSRF/Core.hpp JSRF/GameData.hpp " diff --git a/ghidra/objects.csv b/ghidra/objects.csv index 5344983..6a7689b 100644 --- a/ghidra/objects.csv +++ b/ghidra/objects.csv @@ -5,12 +5,12 @@ JSRF/Jet2.obj,true,0x0006F9E0-0x0006FA6F,,,0x00187710-0x00187724,,,,,,,0x001E620 ADX (need to decompose),false,0x0013A570-0x0014555F,?,?,?,?,,,,,,?,?,?, Xapi (need to decompose),false,0x00145560-0x0014B79F,?,?,?,?,,,,,,?,?,?, XDK/Xapi/xapi0.obj,true,0x00147FB4-0x0014807C,,,,,,,,,,,,, -Smilebit libs (need to decompose),false,0x0014B7A0-0x0017BF3F,?,?,?,?,,,,,,?,?,?-0x0022ED2B, +Smilebit MUSASHI libs (need to decompose),false,0x0014B7A0-0x0017BF3F,?,?,?,?,,,,,,?,?,?-0x0022ED2B, C runtime (need to decompose),false,0x0017BF40-0x00182B80,?,?,?,,,,,?,?,0x0022ED2C-?,?,?, Unknown MS math lib,false,0x00182B81-0x0018694F,?,?,?,,,,,?,?,?,?,?, Another (tiny) Smilebit math lib,false,0x00186950-0x00186B7F,?,?,?,,,,,?,?,?,?,?, Direct3D8 (need to decompose),false,,?,,0x0018CB40-0x0019E334,,,,,?,?,?,?,?, DirectSound8 (need to decompose),false,,?,?,,,0x0019E340-0x001BA89B,,,,?,?,?,?,0x0027E080-0x00284E17 -Smilebit/MMatrix.obj,false,,?,,,,0x001BA8A0-0x001BBAAF,,,,,?,?,0x00264BD8-0x00264C13, +MUSASHI/MMatrix.obj,false,,?,,,,0x001BA8A0-0x001BBAAF,,,,,?,?,0x00264BD8-0x00264C13, Xgraphics (need to decompose),false,,?,,,,,0x001BBAC0-0x001BC7BB,,,,?,?,, XDK Peripherals (need to decompose),false,,?,,,,,,0x001BC7C0-0x001C3F57,,,?,?,,