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:
1 parent
ddf913f304
commit
fd8b965350
110 files changed
+6500
-40129
No files matched your search
@@ -1636,7 +1636,7 @@ LAB_0083d199:
|
||||
local_1a4 = &DAT_bf800000;
|
||||
local_1a0 = &DAT_bf800000;
|
||||
}
|
||||
iVar7 = (GHIDRA_CAST<PopupQueue *>((&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(g_manager[1]._gamestate)) + 0xcf0))))))->PopupQueue::push(popup);
|
||||
iVar7 = PopupQueue::push(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(g_manager[1]._gamestate)) + 0xcf0))),popup);
|
||||
*GHIDRA_CAST<int *>((this->_playerHUD + 0x378)) = iVar7;
|
||||
*GHIDRA_CAST<float *>((this->_playerHUD + 0x37c)) = local_f8;
|
||||
*GHIDRA_CAST<float *>((this->_playerHUD + 0x380)) = local_f4;
|
||||
@@ -1670,7 +1670,7 @@ LAB_0083d199:
|
||||
local_f0 = GHIDRA_CAST<HUD *>(0x3f800000);
|
||||
}
|
||||
local_e0 = DAT_00c79980;
|
||||
pVVar12 = (GHIDRA_CAST<Popup *>((local_dc)))->Popup::get_size(&popupSize);
|
||||
pVVar12 = Popup::get_size(local_dc,&popupSize);
|
||||
fVar14 = (local_ec.y - local_e4 * (float)local_f0 * 0.5) + (float)local_f0 * pVVar12->x * 0.5;
|
||||
fVar15 = (0.0 - (float)local_e0 * 0.5) + pVVar12->y * 0.5 + 60.0;
|
||||
}
|
||||
@@ -1704,7 +1704,7 @@ LAB_0083d199:
|
||||
(**(code **)(*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(((GHIDRA_CAST<Manager *>((GHIDRA_INT(local_ec.y) + 0x4b3dc)))->_gamestate))) + 0xcf8)))) +
|
||||
0x10))();
|
||||
if ((this_01 != GHIDRA_CAST<int *>(0x0)) && (this_01[1] < 3)) {
|
||||
elapsedMs = (GHIDRA_CAST<Popup *>((this_01)))->Popup::get_elapsed_ms();
|
||||
elapsedMs = Popup::get_elapsed_ms(this_01);
|
||||
if ((GHIDRA_INT(((uint64_t)elapsedMs >> 0x20)) == 0) && (GHIDRA_UINT(elapsedMs) < GHIDRA_UINT(this_01[0x15])))
|
||||
{
|
||||
this_01[6] = GHIDRA_INT(local_f0);
|
||||
@@ -1719,7 +1719,7 @@ LAB_0083d199:
|
||||
if ((code *)this_01[0x28] != (code *)0x0) {
|
||||
(*(code *)this_01[0x28])(&local_f0);
|
||||
}
|
||||
(GHIDRA_CAST<Popup *>((this_01)))->Popup::set_state(3);
|
||||
Popup::set_state(this_01,3);
|
||||
}
|
||||
}
|
||||
this->_playerHUD[0x378] = 0xff;
|
||||
@@ -4577,7 +4577,7 @@ LAB_009a4737:
|
||||
cursorPos.x = local_78;
|
||||
cursorPos.y = local_74;
|
||||
if (((*GHIDRA_CAST<char *>(&g_game->_seedEffects) != '\0') ||
|
||||
(bVar3 = (GHIDRA_CAST<Seeds *>((&g_game->_seedEffects)))->Seeds::AchievementUnlocksDisallowed(), bVar3 != 0)) ||
|
||||
(bVar3 = Seeds::AchievementUnlocksDisallowed(&g_game->_seedEffects), bVar3 != 0)) ||
|
||||
((bVar3 = Manager::IsGameplayInputActive(unusedArg), bVar3 != 0 ||
|
||||
((pGVar8->_isRerun != 0 || (isAchievementsDisabled = '\0', pGVar8->_challenge != 0)))))) {
|
||||
isAchievementsDisabled = '\x01';
|
||||
@@ -4776,7 +4776,7 @@ LAB_009a549d:
|
||||
((pbVar6[0x34] != 0 && ((this->_pickupHUDSprite)._animState._isPlaying == 0))))
|
||||
goto LAB_009a54b9;
|
||||
}
|
||||
challengeParams = (GHIDRA_CAST<Game *>((g_game)))->Game::GetChallengeParams();
|
||||
challengeParams = Game::GetChallengeParams(g_game);
|
||||
if (challengeParams->_isMegaSatan == 0) {
|
||||
iVar4 = challengeParams->_pathType;
|
||||
if (iVar4 == 3) {
|
||||
@@ -4907,7 +4907,7 @@ LAB_009a5404:
|
||||
data = profileData;
|
||||
}
|
||||
}
|
||||
pEVar5 = (GHIDRA_CAST<Game *>((g_game)))->Game::GetPlayer(0);
|
||||
pEVar5 = Game::GetPlayer(g_game,0);
|
||||
(GHIDRA_CAST<Entity_Player *>((pEVar5)))->Entity_Player::GetGreedDonationJamChance(data);
|
||||
sprintf_s(&DAT_00c94328,0x10,&DAT_00b6d148);
|
||||
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(ehState)) + 0x0))) = 10;
|
||||
@@ -5953,7 +5953,7 @@ void HUD::render_boss_health_bar(Vector barPos)
|
||||
iVar4 = *GHIDRA_CAST<int *>((GHIDRA_CAST<char *>(g_game->_room) + 8));
|
||||
if (((iVar4 != 5) && (iVar4 != 0x11)) && (iVar4 != 0xb)) {
|
||||
pvVar6 = (void *)0x9a8037;
|
||||
uVar5 = (GHIDRA_CAST<Game *>((g_game)))->Game::GetStageID((uint8_t)g_game);
|
||||
uVar5 = Game::GetStageID(g_game,(uint8_t)g_game);
|
||||
if (uVar5 != 0x23) {
|
||||
pvVar6 = (void *)0x9a804b;
|
||||
(GHIDRA_CAST<KAGE::SmartPointer *>((&barImage)))->KAGE::SmartPointer::operator_assign(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x54a8))));
|
||||
|
||||
Reference in new issue
Block a user