Curation round 3: Lua engine, Manager, sound, menus, cutscenes, rooms, item pools, saves; boots past LuaEngine::Init
Seven agents took over LuaEngine (the mod API registration deferred), the rest of Manager (LoadConfigs, fonts, render surfaces, Update/Render), MusicManager/SFXManager, MenuManager with the title/save/game menus, Cutscene/NightmareScene/ Backdrop, RoomConfig (src/rooms ported and retired) with ItemPool, and PersistentGameData (the original binary save format) with InfoDisplay. An integration pass moved call sites to the new APIs, declared the taken-over free functions, fixed two data.cpp crashes (an empty children array, null attribute strings), and made the generator keep a header's own name where a prototype names another address. Clean build (0 warnings with -Wall -Wextra). build/isaac runs the game's Lua scripts (without the mod API yet) and stops at reload_resource_paths. 901 functions taken over, boot path 204/615. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a7061306fa
commit
ddf913f304
137 files changed
+12684
-50687
No files matched your search
@@ -365,7 +365,7 @@ uint8_t NetInputDevice::ProcessInputMessage(void *message, void *messageRefCount
|
||||
if (uVar2 != 0) {
|
||||
FUN_0090d4a0(&local_28);
|
||||
}
|
||||
(GHIDRA_CAST<Checksum *>((&checksum)))->Checksum::Update(GHIDRA_CAST<uint8_t *>(&local_28),0xc);
|
||||
Checksum::Update(&checksum,GHIDRA_CAST<uint8_t *>(&local_28),0xc);
|
||||
readValue = 0;
|
||||
if ((code *)streamVtable[5] == memory_stream_read) {
|
||||
(GHIDRA_CAST<KAGE::Filesys::BufferedStream *>((&stream)))->KAGE::Filesys::BufferedStream::read(&readValue,4,1);
|
||||
@@ -431,7 +431,7 @@ uint8_t NetInputDevice::ProcessInputMessage(void *message, void *messageRefCount
|
||||
(*(code *)streamVtable[5])(&readByte);
|
||||
}
|
||||
local_20 = CONCAT13(readByte,(undefined3)local_20);
|
||||
(GHIDRA_CAST<Checksum *>((&checksum)))->Checksum::Update(GHIDRA_CAST<uint8_t *>(&inputFrame),0x10);
|
||||
Checksum::Update(&checksum,GHIDRA_CAST<uint8_t *>(&inputFrame),0x10);
|
||||
if (uVar2 < *GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(g_manager[1])) + 0x8))))) {
|
||||
format =
|
||||
"NetInputDevice::ProcessInputMessage - Dropping input packet outside of match scope. Received Frame: %d, Current Frame: %d\n"
|
||||
@@ -611,8 +611,8 @@ LAB_00902a25:
|
||||
(**(code **)(local_58 + 0x1c))(&tmpByte,1,1);
|
||||
tmpByte = data[0xf];
|
||||
(**(code **)(local_58 + 0x1c))(&tmpByte,1,1);
|
||||
(GHIDRA_CAST<Checksum *>((&checksumState)))->Checksum::Update(GHIDRA_CAST<uint8_t *>(&frameChecksum),0xc);
|
||||
this->Checksum::Update(data,0x10);
|
||||
Checksum::Update(&checksumState,GHIDRA_CAST<uint8_t *>(&frameChecksum),0xc);
|
||||
Checksum::Update(this,data,0x10);
|
||||
if ((local_48 == 0) && (local_50 != 0)) {
|
||||
if (local_50 < 4) {
|
||||
memset((void *)(extraout_ECX + GHIDRA_UINT(local_50)),0,GHIDRA_UINT((uint8_t)(4 - local_50)));
|
||||
|
||||
Reference in new issue
Block a user