Curation round 4: popups, Seeds/Random, Game, KeyConfigs, offline NetplayManager, Console, TextureCache, render passes

Six agents took over PopupButtons/PopupQueue/AchievementOverlay, Seeds with the global Random (now seeded from the
clock as in the original), Game (g_game exists from Manager::Init on), KeyConfigs, an offline NetplayManager, Console's
output and printing, TextureCache, the color-mod and sprite shader passes, mod shaders and reload_resource_paths. An
integration pass moved callers to the new APIs (0 errors, 0 warnings with -Wall -Wextra). build/isaac loads the 34
installed mods and stops at ScoreSheet::ScoreSheet in Game's constructor; with the remaining stubs skipped under gdb the
intro cutscene plays through and the main menu's frame loop runs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-11-20 01:32:19 -05:00
1 parent ddf913f304
commit fd8b965350
110 files changed
+6500 -40129

No files matched your search

+5 -5
View File
@@ -466,7 +466,7 @@ void GameState::Clear()
*(void **)(GHIDRA_CAST<char *>(pvVar2) + 8) = pvVar2;
local_30 = 0;
local_14 = (void *)0x0;
(GHIDRA_CAST<Seeds *>((GHIDRA_CAST<Seeds *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((gameState)) + 0x1e724)))))))->Seeds::operator_assign(GHIDRA_CAST<Seeds *>((local_e0 + 0x58)));
Seeds::operator_assign(GHIDRA_CAST<Seeds *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((gameState)) + 0x1e724)))),GHIDRA_CAST<Seeds *>((local_e0 + 0x58)));
local_14 = (void *)0xffffffff;
FID_conflict__Erase_tree<fuzzer::fuzzer_allocator<msvc::_Tree_node<fuzzer::TracePC::PCTableEntry_const*,void*>_>_>
(&local_34,(fuzzer_allocator<msvc::_Tree_node<unsigned_int,void*>_> *)&local_34,
@@ -2907,7 +2907,7 @@ LAB_009cd14a:
(GHIDRA_CAST<msvc::string *>((auStack_6e8)))->msvc::string::assign(seedString,GHIDRA_INT(pbVar12) - GHIDRA_INT((seedString + 1)));
ehState = 1;
uVar7 = Seeds::String2Seed(GHIDRA_CAST<std_string *>(auStack_6e8));
(GHIDRA_CAST<Seeds *>((GHIDRA_CAST<Seeds *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((state)) + 0x1e724)))))))->Seeds::set_start_seed(uVar7);
Seeds::set_start_seed(GHIDRA_CAST<Seeds *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((state)) + 0x1e724)))),uVar7);
ehState = 0xffffffff;
if (0xf < uStack_6d4) {
uVar7 = uStack_6d4 + 1;
@@ -2939,7 +2939,7 @@ LAB_009cd14a:
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((pSVar3)) + 0x4)))) = 0;
do {
if (seedEffectFlags[uVar7] != 0) {
(GHIDRA_CAST<Seeds *>((pSVar10)))->Seeds::AddSeedEffect(uVar7);
Seeds::AddSeedEffect(pSVar10,uVar7);
}
uVar7 = uVar7 + 1;
} while (uVar7 < 0x4d);
@@ -2974,7 +2974,7 @@ LAB_009cdc87:
do {
if (0x4f < uVar7) break;
if ((bStack_695 & (uint8_t)pSStack_6a4) != 0) {
(GHIDRA_CAST<Seeds *>((pSVar10)))->Seeds::AddSeedEffect(uVar7);
Seeds::AddSeedEffect(pSVar10,uVar7);
}
pSStack_6a0 = GHIDRA_CAST<Seeds *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((pSStack_6a0)) + 0x1))));
pSStack_6a4 = GHIDRA_CAST<Seeds *>((GHIDRA_INT(pSStack_6a4) << 1 | GHIDRA_UINT((GHIDRA_INT(pSStack_6a4) < 0))));
@@ -5144,7 +5144,7 @@ uint8_t GameState::read_rerun(void **gameStateIO)
seed._buf[0xf] = (char)(GHIDRA_UINT(uVar4) >> 0x18);
seed._size = uVar5;
seed._capacity = uVar2;
(GHIDRA_CAST<Seeds *>((GHIDRA_CAST<Seeds *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x1e724)))))))->Seeds::SetStartSeed(seed);
Seeds::SetStartSeed(GHIDRA_CAST<Seeds *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x1e724)))),seed);
return 1;
}
KAGE_LogMessage(1,GHIDRA_CAST<uint8_t *>("[warn] GameState Rerun header is incorrect (%u != %u).\n"));