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

+6 -6
View File
@@ -1290,7 +1290,7 @@ Entity_Tear * Weapon::fire_tear(Vector *position, Vector *velocity, uint32_t fla
LAB_009f5b91:
randomValue = Random();
shooter = (Entity_Tear *)
(GHIDRA_CAST<Game *>((g_game)))->Game::SpawnEx(2,0,position,velocity,*GHIDRA_CAST<Entity **>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x4)))),0,randomValue,0);
Game::SpawnEx(g_game,2,0,position,velocity,*GHIDRA_CAST<Entity **>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x4)))),0,randomValue,0);
shooter->SetCollisionDamage(damageMultiplier * shooter->_collisionDamage);
local_14 = *GHIDRA_CAST<Weapon **>((iStack_18 + 4));
if (shooter->_parent != 0) {
@@ -1392,7 +1392,7 @@ Entity_Bomb * Weapon::fire_bomb(Weapon *weapon, Vector *position, Vector *veloci
LAB_009f5eb6:
seed = Random();
pEVar3 = (Entity_Bomb *)
(GHIDRA_CAST<Game *>((g_game)))->Game::SpawnEx(4,0,position,velocity,*GHIDRA_CAST<Entity **>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((weapon)) + 0x4)))),0,seed,0);
Game::SpawnEx(g_game,4,0,position,velocity,*GHIDRA_CAST<Entity **>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((weapon)) + 0x4)))),0,seed,0);
parentSlot = &pEVar3->_parent;
uVar1 = *GHIDRA_CAST<uint32_t *>((GHIDRA_INT(&pEVar3->_flags) + 4));
*GHIDRA_CAST<uint32_t *>(&pEVar3->_flags) = GHIDRA_UINT(pEVar3->_flags) | 0x4000000;
@@ -1670,7 +1670,7 @@ Entity_Knife * Weapon::FireSword(Entity *param_2, uint32_t param_3, float param_
spawnPos.y = *GHIDRA_CAST<float *>((owner + 0x340));
}
knife = (Entity_Knife *)
(GHIDRA_CAST<Game *>((g_game)))->Game::SpawnEx(8,GHIDRA_UINT(local_94),&spawnPos,&g_vectorZero,GHIDRA_CAST<Entity *>(parentRef),0,seed,0);
Game::SpawnEx(g_game,8,GHIDRA_UINT(local_94),&spawnPos,&g_vectorZero,GHIDRA_CAST<Entity *>(parentRef),0,seed,0);
if ((knife == GHIDRA_CAST<Entity_Knife *>(0x0)) || (knife->_type != 8)) {
knife = GHIDRA_CAST<Entity_Knife *>(0x0);
}
@@ -2120,7 +2120,7 @@ LAB_009f7ff2:
(*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(auStack_248)) + 0x4))) = fVar6 + *GHIDRA_CAST<float *>((GHIDRA_CAST<char *>(player) + 0x164c)) + local_2a8.x;
(*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(auStack_240)) + 0x0))) = fVar8 + *GHIDRA_CAST<float *>((GHIDRA_CAST<char *>(player) + 0x1650)) + local_2a8.y;
tear = (Entity_Tear *)
(GHIDRA_CAST<Game *>((g_game)))->Game::SpawnEx(2,tornCardVariant,GHIDRA_CAST<Vector *>((auStack_248 + 4)),&local_2a8,
Game::SpawnEx(g_game,2,tornCardVariant,GHIDRA_CAST<Vector *>((auStack_248 + 4)),&local_2a8,
GHIDRA_CAST<Entity *>(player),0,uVar3,0);
tear->_height = tornCardHeight;
fVar6 = (GHIDRA_CAST<Entity_Tear *>((tear)))->Entity_Tear::get_height_offset_y(tornCardHeight);
@@ -2288,7 +2288,7 @@ LAB_009f8620:
(*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(auStack_240)) + 0x4))) = fVar8 + *GHIDRA_CAST<float *>((GHIDRA_CAST<char *>(player) + 0x164c)) + fVar6;
(*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(local_238)) + 0x0))) = ownerPosY + *GHIDRA_CAST<float *>((GHIDRA_CAST<char *>(player) + 0x1650)) + (float)EStack_2b8;
tear = (Entity_Tear *)
(GHIDRA_CAST<Game *>((g_game)))->Game::SpawnEx(2,0x14,GHIDRA_CAST<Vector *>((auStack_240 + 4)),&VStack_290,
Game::SpawnEx(g_game,2,0x14,GHIDRA_CAST<Vector *>((auStack_240 + 4)),&VStack_290,
GHIDRA_CAST<Entity *>(player),0,uVar3,0);
tear->_height = hitParamsHeight;
fVar6 = (GHIDRA_CAST<Entity_Tear *>((tear)))->Entity_Tear::get_height_offset_y(hitParamsHeight);
@@ -2397,7 +2397,7 @@ LAB_009f8620:
pencilSpawnPos[0].x = fVar8 + *GHIDRA_CAST<float *>((GHIDRA_CAST<char *>(player) + 0x164c)) + fVar6;
pencilSpawnPos[0].y = ownerPosY + *GHIDRA_CAST<float *>((GHIDRA_CAST<char *>(player) + 0x1650)) + fStack_2b4;
tear = (Entity_Tear *)
(GHIDRA_CAST<Game *>((g_game)))->Game::SpawnEx(2,hitParamsVariant,pencilSpawnPos,GHIDRA_CAST<Vector *>((local_238 + 4)),
Game::SpawnEx(g_game,2,hitParamsVariant,pencilSpawnPos,GHIDRA_CAST<Vector *>((local_238 + 4)),
GHIDRA_CAST<Entity *>(player),0,uVar3,0);
tear->_height = hitParamsHeight;
fVar6 = (GHIDRA_CAST<Entity_Tear *>((tear)))->Entity_Tear::get_height_offset_y(hitParamsHeight);