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

+16 -15
View File
@@ -439,7 +439,7 @@ LAB_0096d590:
VStack_134.y = direction->y * 10.0 + impactPos->y;
Game::BombTearflagEffects
(pGVar7,&VStack_134,(float)piStack_180,this->_tearFlags,GHIDRA_CAST<Entity *>(this),1.0);
(GHIDRA_CAST<Game *>((g_game)))->Game::BombDamage(&VStack_134,this->_collisionDamage + this->_collisionDamage + 10.0,
Game::BombDamage(g_game,&VStack_134,this->_collisionDamage + this->_collisionDamage + 10.0,
(float)piStack_180,1,GHIDRA_CAST<Entity *>(this),this->_tearFlags,4,0);
if (((GHIDRA_UINT((this->_tearFlags)._l) & GHIDRA_UINT(g_tearFlagPoison._l)) != 0 ||
(*GHIDRA_CAST<uint32_t *>((GHIDRA_INT(&(this->_tearFlags)._l) + 4)) & (*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(g_tearFlagPoison._l)) + 0x4)))) != 0) ||
@@ -890,7 +890,7 @@ LAB_0096e2b2:
this = local_174;
}
uVar11 = Random();
spawnedEntity = (GHIDRA_CAST<Game *>((g_game)))->Game::SpawnEx(1000,1,&VStack_134,&g_vectorZero,GHIDRA_CAST<Entity *>(0x0),0,uVar11,0);
spawnedEntity = Game::SpawnEx(g_game,1000,1,&VStack_134,&g_vectorZero,GHIDRA_CAST<Entity *>(0x0),0,uVar11,0);
spawnerSlot = GHIDRA_CAST<int *>(__RTDynamicCast(spawnedEntity,0,
&IsaacRepentancePlus::Entity::RTTI_Type_Descriptor,
&IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor,0
@@ -993,7 +993,7 @@ LAB_0096e8c5:
VStack_108.x = VStack_148.x - direction->x * 4.0;
VStack_108.y = VStack_148.y - direction->y * 4.0;
splitTear = (Entity_Tear *)
(GHIDRA_CAST<Game *>((g_game)))->Game::SpawnEx(2,0,&VStack_108,&VStack_110,
Game::SpawnEx(g_game,2,0,&VStack_108,&VStack_110,
GHIDRA_CAST<Entity *>(this->_spawnerEntity),0,uVar11,0);
splitTear->_height = -11.875;
fVar16 = (GHIDRA_CAST<Entity_Tear *>((splitTear)))->Entity_Tear::get_height_offset_y(-11.875);
@@ -1103,7 +1103,7 @@ LAB_0096ec0c:
Room::GetClampedPositionImpl(pGVar7->_room,&VStack_148,impactPos,0.0,0.0,0.0,0.0);
uVar11 = Random();
spawnedEntity =
(GHIDRA_CAST<Game *>((g_game)))->Game::SpawnEx(1000,0xb4,&VStack_148,&g_vectorZero,GHIDRA_CAST<Entity *>(this->_spawnerEntity),0
Game::SpawnEx(g_game,1000,0xb4,&VStack_148,&g_vectorZero,GHIDRA_CAST<Entity *>(this->_spawnerEntity),0
,uVar11,0);
fVar16 = this->_scale * g_vectorOne.x;
spawnerIter = *GHIDRA_CAST<int *>(spawnedEntity);
@@ -2647,7 +2647,7 @@ LAB_00973251:
(float)local_a4 * fVar6;
local_fc.y = (float)local_ac * local_e0 + (float)local_88 + local_dc * fVar6
;
pEVar10 = (GHIDRA_CAST<Game *>((g_game)))->Game::Spawn(1000,99,&local_fc,&local_104,GHIDRA_CAST<Entity *>(0x0),1,
pEVar10 = Game::Spawn(g_game,1000,99,&local_fc,&local_104,GHIDRA_CAST<Entity *>(0x0),1,
rngResult);
fVar6 = (pEVar10->_sprite)._scale.x;
fVar12 = (pEVar10->_sprite)._scale.y;
@@ -2971,7 +2971,7 @@ LAB_00971e12:
pTVar16 = &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor;
pTVar15 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor;
uVar14 = 0;
pEVar10 = (GHIDRA_CAST<Game *>((g_game)))->Game::Spawn(1000,0x35,&impactPos,&g_vectorZero,
pEVar10 = Game::Spawn(g_game,1000,0x35,&impactPos,&g_vectorZero,
GHIDRA_CAST<Entity *>(laser->_spawnerEntity),0,rngResult);
impactEffect = GHIDRA_CAST<int *>(__RTDynamicCast(pEVar10,uVar14,pTVar15,pTVar16,uVar17));
fVar13 = g_vectorOne.y * 0.4;
@@ -3050,7 +3050,7 @@ LAB_009723bd:
tearSpawnPos.x = (float)local_88 + *GHIDRA_CAST<float *>((GHIDRA_INT(*candidateIt) + 0x33c));
tearSpawnPos.y = (float)local_94 + *GHIDRA_CAST<float *>((GHIDRA_INT(*candidateIt) + 0x340));
local_88 = (Entity_Tear *)
(GHIDRA_CAST<Game *>((g_game)))->Game::Spawn(2,GHIDRA_UINT(local_a8),&tearSpawnPos,&g_vectorZero,
Game::Spawn(g_game,2,GHIDRA_UINT(local_a8),&tearSpawnPos,&g_vectorZero,
GHIDRA_CAST<Entity *>(laser->_spawnerEntity),0,rngResult);
local_88->Update();
(*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(flags._l)) + 0x4))) = (*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(flagResult._l)) + 0x4)));
@@ -3250,7 +3250,7 @@ LAB_009729ca:
fVar13 * local_d8;
splashPos.x = (float)local_a4 * (float)local_98 + (float)local_88 +
fVar13 * local_dc;
local_d4 = (GHIDRA_CAST<Game *>((g_game)))->Game::Spawn(1000,99,&splashPos,&splashVelocity,GHIDRA_CAST<Entity *>(0x0),1,
local_d4 = Game::Spawn(g_game,1000,99,&splashPos,&splashVelocity,GHIDRA_CAST<Entity *>(0x0),1,
GHIDRA_UINT(local_d4));
fVar13 = (local_d4->_sprite)._scale.x;
fVar6 = (local_d4->_sprite)._scale.y;
@@ -3304,7 +3304,7 @@ LAB_009729ca:
(float)local_a8;
local_104.y = fVar13 * (float)local_94 + (float)local_9c;
local_104.x = fVar13 * (float)local_98 + (float)local_88;
local_a0 = (GHIDRA_CAST<Game *>((g_game)))->Game::Spawn(1000,2,&local_104,&local_fc,GHIDRA_CAST<Entity *>(0x0),2,
local_a0 = Game::Spawn(g_game,1000,2,&local_104,&local_fc,GHIDRA_CAST<Entity *>(0x0),2,
GHIDRA_UINT(local_d4));
local_a0->SetColor(&scratchColor2,0xffffffff,0xff,0,1);
(local_a0->_posOffset).x = 0.0;
@@ -3688,7 +3688,7 @@ void Entity_Laser::update_laser()
if (iVar8 != 0xd) goto LAB_00973e19;
iVar8 = 10;
}
(GHIDRA_CAST<Game *>((g_game)))->Game::ShakeScreen(iVar8);
Game::ShakeScreen(g_game,iVar8);
}
LAB_00973e19:
if (this->_isActiveRotating != 0) {
@@ -4914,7 +4914,7 @@ LAB_00975f41:
pEVar17 = local_b4;
spawnedLaser = GHIDRA_CAST<Entity_Player *>(local_c0.y);
pEVar12 = (Entity_Player *)
(GHIDRA_CAST<Game *>((g_game)))->Game::Spawn(1000,0x46,pVVar14,GHIDRA_CAST<Vector *>(local_b4),GHIDRA_CAST<Entity *>(0x0),0,
Game::Spawn(g_game,1000,0x46,pVVar14,GHIDRA_CAST<Vector *>(local_b4),GHIDRA_CAST<Entity *>(0x0),0,
GHIDRA_UINT(local_c0.y));
this = GHIDRA_CAST<Entity_Laser *>(local_150.y);
local_d4[0] = pEVar12;
@@ -5042,7 +5042,8 @@ LAB_00975f41:
local_cc.x = pVVar14->x;
local_cc.y = pVVar14->y;
uVar15 = Random();
(GHIDRA_CAST<Game *>((g_game)))->Game::Spawn(1000,0x35,&local_cc,&g_vectorZero,GHIDRA_CAST<Entity *>(this->_spawnerEntity),0,uVar15);
Game::Spawn(g_game,1000,0x35,&local_cc,&g_vectorZero,GHIDRA_CAST<Entity *>(this->_spawnerEntity),0,uVar15
);
piVar16 = GHIDRA_CAST<int *>(__RTDynamicCast());
local_d4[0] = GHIDRA_CAST<Entity_Player *>(0x3ecccccd);
pVVar14 = (GHIDRA_CAST<Vector *>((&g_vectorOne)))->Vector::__mul(&local_140,GHIDRA_CAST<float *>(local_d4));
@@ -5185,7 +5186,7 @@ LAB_00976e53:
uVar15 = 0x21;
}
pEVar17 = (Entity_Player *)
(GHIDRA_CAST<Game *>((g_game)))->Game::Spawn(2,uVar15,pVVar14,&local_f0,GHIDRA_CAST<Entity *>(local_114.y),0,
Game::Spawn(g_game,2,uVar15,pVVar14,&local_f0,GHIDRA_CAST<Entity *>(local_114.y),0,
GHIDRA_UINT(local_130.y));
(*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(flags._l)) + 0x4))) = (*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(local_160)) + 0x4)));
(*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(flags._l)) + 0x0))) = (*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(local_160)) + 0x0)));
@@ -5560,7 +5561,7 @@ void Entity_Laser::Update()
if (bVar8 == 0) {
uVar11 = 0x7e;
}
local_4c = (GHIDRA_CAST<Game *>((g_game)))->Game::Spawn(1000,uVar11,&this->_pos,&g_vectorZero,
local_4c = Game::Spawn(g_game,1000,uVar11,&this->_pos,&g_vectorZero,
GHIDRA_CAST<Entity *>(this->_spawnerEntity),0,this->_initSeed);
tmpEntity = GHIDRA_CAST<Entity *>(this->_tearWaitEffect);
puVar3 = &this->_tearWaitEffect;
@@ -8709,7 +8710,7 @@ void Entity_Laser::spawn_impact_effect(int unused)
pTVar11 = &IsaacRepentancePlus::Entity_Effect::RTTI_Type_Descriptor;
pTVar10 = &IsaacRepentancePlus::Entity::RTTI_Type_Descriptor;
uVar9 = 0;
spawned = (GHIDRA_CAST<Game *>((g_game)))->Game::Spawn(1000,0x32,&this->_pos,&g_vectorZero,GHIDRA_CAST<Entity *>(this),uVar6,seed);
spawned = Game::Spawn(g_game,1000,0x32,&this->_pos,&g_vectorZero,GHIDRA_CAST<Entity *>(this),uVar6,seed);
impactEffect = GHIDRA_CAST<int *>(__RTDynamicCast(spawned,uVar9,pTVar10,pTVar11,uVar12));
if (this->_child != 0) {
local_44 = &this->_child;