Curation round 11: effects, room clears, items, Continue, bombs, active items, the boss and Basement II

This commit is contained in:
shweet committed 2026-11-20 11:54:27 -05:00
1 parent d8385e6c64
commit 698eeb74e9
74 files changed
+13965 -2078

No files matched your search

+8 -39
View File
@@ -121,6 +121,7 @@ struct AchievementEntry;
struct AchievementOverlay;
struct AchievementOverlay_Entry;
struct ActiveItemDesc;
struct ActiveUse;
struct AfterbirthPersistentGameData;
struct Ambush;
struct AnimationData;
@@ -240,6 +241,7 @@ struct Entity_Slot;
struct Entity_Tear;
struct Entity_Text;
struct ErasedEnemy;
struct Explosion;
struct FXLayer;
struct FXLayers;
struct FXParams;
@@ -260,6 +262,7 @@ struct FontSettings;
struct FormattedText;
struct FormattedTextLine;
struct FrameQueue;
struct FreeSpotSearch;
struct FriendEntry;
struct GUID;
struct Game;
@@ -281,6 +284,7 @@ struct GlowingHourglassState;
struct GlyphDraw;
struct GlyphQuad;
struct GraphicsWindow;
struct GridDestroy;
struct GridEntity;
struct GridEntityDesc;
struct GridEntity_Decoration;
@@ -370,6 +374,7 @@ struct Leaderboard;
struct Level;
struct LevelGenerator;
struct LevelGenerator_Room;
struct LightSpawn;
struct Lobby;
struct LobbyList;
struct LobbyLocalhost;
@@ -450,6 +455,7 @@ struct OnlineEmotes;
struct OnlineStatsScreen;
struct OptionsConfig;
struct PMD;
struct ParticleSpawn;
struct PathFinder;
struct PathNode;
struct PauseScreen;
@@ -564,6 +570,7 @@ struct SpriteShaderParams;
struct SpriteTrailData;
struct StageNameQuery;
struct StageTransition;
struct StageTransitionRequest;
struct StageVisit;
struct StatHUD;
struct StatHUDPlayer;
@@ -583,6 +590,7 @@ struct TrinketPoolItem;
struct TypeDescriptor;
struct UmbilicalBabyData;
struct UpdateTally;
struct UseResult;
struct UserProfile;
struct VariantRange;
struct Vector;
@@ -3976,19 +3984,6 @@ struct SpriteTrailData {
};
LAYOUT32(sizeof(SpriteTrailData) == 0x18);
struct StageTransition {
void Update(); // 0092f1c0
void Render(); // 0092ffc0
float get_fade_progress(); // 00930160
int _state;
int _frame;
int _duration;
};
LAYOUT32(offsetof(StageTransition, _state) == 0x0);
LAYOUT32(offsetof(StageTransition, _frame) == 0x4);
LAYOUT32(offsetof(StageTransition, _duration) == 0x8);
struct StatsPanel {
static void add_stat_line(); // 0084dc00
void set(Entity_Player *player, uint8_t isGoldenTrinket); // 0084dea0
@@ -6028,7 +6023,6 @@ void FUN_0042a040(int *param_1, int *param_2); // 0042a040
void FUN_0042a210(); // 0042a210
void FUN_0042a230(); // 0042a230
void FUN_0042a350(); // 0042a350
void FUN_0042a430(uint8_t param_1); // 0042a430
void FUN_0042a490(); // 0042a490
void FUN_0042aca0(); // 0042aca0
bool FUN_0042ae90(); // 0042ae90
@@ -6082,13 +6076,11 @@ long double FUN_0042cf00(); // 0042cf00
void FUN_0042cf10(Entity_Player *param_1, uint32_t param_2); // 0042cf10
int FUN_0042d040(); // 0042d040
void get_netplay_player_color(void *self, ColorMod *outColor, Entity_Player *player); // 0042d060
void FUN_0042d0f0(uint8_t param_1); // 0042d0f0
uint32_t FUN_0042d1b0(); // 0042d1b0
void FUN_0042d5f0(Entity_Player *param_1, uint32_t param_2); // 0042d5f0
uint32_t FUN_0042d660(); // 0042d660
long double FUN_0042d670(); // 0042d670
void FUN_0042d680(Entity_Player *param_1, uint32_t param_2); // 0042d680
void FUN_0042d780(uint8_t param_1); // 0042d780
uint32_t FUN_0042d7e0(); // 0042d7e0
uint8_t FUN_0042d7f0(); // 0042d7f0
void FUN_0042d850(); // 0042d850
@@ -6473,7 +6465,6 @@ void FUN_005d2270(); // 005d2270
void FUN_005d2300(); // 005d2300
void FUN_005d2370(uint8_t param_1); // 005d2370
void FUN_005d23a0(uint8_t param_1); // 005d23a0
void FUN_005d29b0(); // 005d29b0
void FUN_005d4210(); // 005d4210
void FUN_00607540(); // 00607540
void room_perimeter_to_position(float *param_1, float *param_2); // 0060ac70
@@ -6649,7 +6640,6 @@ float normalize_angle_degrees(float angle); // 00682740
float angle_difference(float from, float to); // 006827a0
void FUN_00682a20(); // 00682a20
float approach_angle(float current, float target, float maxStep); // 00682a50
void FUN_00683010(int param_1, int param_2, int param_3); // 00683010
uint32_t checksum_stream(void *stream, int offset, int trailingSize); // 00683580
void FUN_00683680(); // 00683680
void pop_render_target(); // 006836c0
@@ -6786,12 +6776,10 @@ uint32_t * FUN_006a13b0(uint32_t *param_1); // 006a13b0
uint32_t * FUN_006a1420(uint32_t *param_1); // 006a1420
void FUN_006a14f0(uint32_t param_1, uint32_t *param_2); // 006a14f0
void FUN_006a1e00(uint32_t *param_1); // 006a1e00
void FUN_006a1e80(); // 006a1e80
void FUN_006a1fc0(); // 006a1fc0
void FUN_006a6910(uint32_t param_1, uint32_t param_2, uint32_t param_3, uint32_t param_4); // 006a6910
void FUN_006a6930(); // 006a6930
void FUN_006a6940(); // 006a6940
std_string * resolve_resource_path(std_string *outPath, std_string *path, void *suffixes); // 006a69e0
void FUN_006a7ec0(); // 006a7ec0
void FUN_006a80d0(); // 006a80d0
void FUN_006a8180(uint32_t param_1); // 006a8180
@@ -6913,16 +6901,13 @@ Entity_Player * FUN_007103c0(uint32_t *param_1); // 007103c0
uint32_t FUN_00710f70(int param_1); // 00710f70
void FUN_00711530(int param_1); // 00711530
uint32_t FUN_00711740(); // 00711740
uint32_t FUN_00711fd0(); // 00711fd0
void FUN_007135d0(uint32_t param_1, uint8_t param_2, int *param_3); // 007135d0
void spawn_poop_rewards(uint32_t param_1, int param_2, int param_3, char param_4, uint32_t param_5, int param_6); // 00716db0
void FUN_00718d20(float *param_1); // 00718d20
void FUN_00718ed0(uint32_t param_1); // 00718ed0
uint32_t FUN_00718ee0(); // 00718ee0
void grid_mark_neighbors_dirty(int gridIndex); // 0071dee0
void FUN_0071df70(uint8_t param_1); // 0071df70
int FUN_0071df80(); // 0071df80
void FUN_0071f4b0(uint32_t param_1); // 0071f4b0
uint32_t FUN_00721b70(int param_1); // 00721b70
void FUN_00721e60(int param_1, int param_2, int param_3, int param_4, int param_5, int param_6); // 00721e60
void FUN_00721eb0(); // 00721eb0
@@ -7021,7 +7006,6 @@ void FUN_007530c0(); // 007530c0
void std_deque_growmap(void *self, uint32_t count); // 007530f0
void FUN_00753230(uint32_t param_1); // 00753230
void FUN_00753550(); // 00753550
uint8_t FUN_00753560(); // 00753560
void FUN_00753620(); // 00753620
bool FUN_00753630(); // 00753630
bool FUN_00753640(); // 00753640
@@ -7076,7 +7060,6 @@ Entity_Player * FUN_007a1020(); // 007a1020
uint32_t FUN_007ab0e0(); // 007ab0e0
void FUN_007ad610(); // 007ad610
uint32_t FUN_007ad720(uint32_t param_1, uint8_t *param_2); // 007ad720
void FUN_007ae430(short *param_1); // 007ae430
void FUN_007b8c00(int param_1); // 007b8c00
void FUN_007b9a60(); // 007b9a60
void FUN_007b9aa0(); // 007b9aa0
@@ -7203,21 +7186,14 @@ void FUN_007e9170(char param_1); // 007e9170
void FUN_007e92e0(uint32_t param_1, uint32_t param_2); // 007e92e0
void FUN_007e93d0(int param_1); // 007e93d0
void FUN_007ea0c0(); // 007ea0c0
void FUN_007ea5d0(); // 007ea5d0
void FUN_007ebc40(); // 007ebc40
uint32_t FUN_007ed240(); // 007ed240
float get_angel_room_chance(); // 007f96f0
void FUN_007fa2a0(float *param_1); // 007fa2a0
void FUN_007fa7d0(); // 007fa7d0
int RoomClear_PickVariant(RNG *rng, uint8_t isForcePickup); // 007fa920
void FUN_00812ea0(float *param_1, int *param_2, int *param_3); // 00812ea0
uint32_t FUN_00813420(int param_1, int param_2); // 00813420
void pickup_roll_random_variant(void *papersOwner, int shopItemId, int *variant, uint32_t *subType, uint32_t seed); // 00814a50
uint32_t FUN_0081e220(); // 0081e220
void FUN_0081fae0(uint32_t *param_1); // 0081fae0
uint32_t FUN_008207a0(); // 008207a0
void FUN_00821940(); // 00821940
int FUN_00823ec0(); // 00823ec0
uint32_t FUN_00827180(float *param_1); // 00827180
void FUN_00827f30(); // 00827f30
void FUN_00828010(uint32_t *param_1); // 00828010
@@ -7243,7 +7219,6 @@ void FUN_0082e290(int param_1, int param_2, int param_3); // 0082e290
void Catch_All_0082e7ec(); // 0082e7ec
void FUN_0082ea50(uint32_t param_1, uint32_t *param_2, code *param_3); // 0082ea50
void FUN_0082eb20(uint32_t *param_1, code *param_2); // 0082eb20
void FUN_00831780(int *param_1, uint8_t *param_2, uint8_t *param_3, uint8_t *param_4); // 00831780
void FUN_008332a0(char param_1); // 008332a0
uint64_t * FUN_00834c60(uint64_t *param_1, uint64_t *param_2); // 00834c60
void Catch_All_00834f6f(); // 00834f6f
@@ -9529,7 +9504,6 @@ void FUN_00950eb0(); // 00950eb0
void FUN_00951090(); // 00951090
void FUN_009510f0(); // 009510f0
void FUN_00951130(); // 00951130
uint8_t input_is_action_pressed(int action, int controllerIndex, Entity *entity, int unused); // 00956110
uint8_t is_any_player_restart_held(); // 009563b0
uint32_t FUN_00956750(); // 00956750
uint8_t * FUN_009587e0(StringTable *param_1, uint8_t *param_2, uint8_t *param_3); // 009587e0
@@ -21608,8 +21582,6 @@ void ENTITY_LARRYJR(Entity_NPC *npc); // 0046a0f0
void ENTITY_MONSTRO(Entity_NPC *npc); // 0046c0a0
void ENTITY_DUKE(Entity_NPC *npc); // 0046e290
void ENTITY_WIDOW(Entity_NPC *npc); // 0046fbe0
void ENTITY_GEMINI(Entity_NPC *npc); // 00471050
void ENTITY_GEMINI_baby(Entity_NPC *npc); // 00471cc0
void ENTITY_BLASTOCYST_BIG(Entity_NPC *npc); // 00472c40
void ENTITY_SLOTH(Entity_NPC *npc); // 004741f0
void ENTITY_LUST(Entity_NPC *npc); // 00474e00
@@ -21716,10 +21688,7 @@ void ENTITY_STONE_EYE(Entity_NPC *npc); // 00505d00
void ENTITY_CONSTANT_STONE_SHOOTER(Entity_NPC *npc); // 00506320
void ENTITY_EMBRYO(Entity_NPC *npc); // 0050a6b0
void ENTITY_ETERNALFLY(Entity_NPC *npc); // 0050a8a0
void ENTITY_GUSHER(Entity_NPC *npc); // 0050af90
void ENTITY_MULLIGAN(Entity_NPC *npc); // 0050bbe0
void ENTITY_HIVE(Entity_NPC *npc); // 0050c370
void ENTITY_CLOTTY(Entity_NPC *npc); // 0050d370
void ENTITY_GLOBIN(Entity_NPC *npc); // 0050e4d0
uint32_t ENTITY_BOOMFLY(Entity_NPC *npc); // 0050f280
void ENTITY_MAW(Entity_NPC *npc); // 00510ae0
@@ -1,89 +1,5 @@
#include "classes.h"
// 005ca5a0
bool KAGE_Filesys_FileManager::OpenRead(int param_2, int param_3)
{
uint8_t isHasFlags;
int iVar1;
int totalCharge;
if (-1 < param_3) {
iVar1 = Entity_Player::GetActiveMaxCharge(GHIDRA_CAST<Entity_Player *>(this),param_3);
totalCharge = Entity_Player::GetTotalActiveCharge(GHIDRA_CAST<Entity_Player *>(this),param_3);
if (totalCharge < iVar1) {
return false;
}
}
if (0x244 < param_2) {
switch(param_2) {
case 0x248:
if ((*GHIDRA_CAST<int **>((this + 0x7ec)) != GHIDRA_CAST<int *>(0x0)) && (**GHIDRA_CAST<int **>((this + 0x7ec)) == 3)) {
return false;
}
default:
return true;
case 0x26f:
return 0 < *GHIDRA_CAST<int *>((this + 0x674));
case 0x27b:
iVar1 = FUN_005c92f0();
if (iVar1 != 0) {
iVar1 = Room::GetGridCollisionAtPos(g_game->_room,*GHIDRA_CAST<Vector *>((iVar1 + 0x33c)));
if ((*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[0x725])) + 0x1))) != '\0') {
return iVar1 != 4;
}
if (iVar1 == 0) {
return true;
}
if (iVar1 == 5) {
return true;
}
}
break;
case 0x282:
iVar1 = Entity_Player::GetEffectiveMaxHearts(GHIDRA_CAST<Entity_Player *>(this));
return 0 < iVar1 + *GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[0x66e])) + 0x2))));
case 0x2c5:
if ((*GHIDRA_CAST<int *>((this + 0xa64)) == 0) &&
(1.0 < *GHIDRA_CAST<float *>((this + 0x120)) * *GHIDRA_CAST<float *>((this + 0x120)) +
*GHIDRA_CAST<float *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[0x121])) + 0x1)))) * *GHIDRA_CAST<float *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[0x121])) + 0x1)))))) {
return true;
}
break;
case 0x2ca:
isHasFlags = Entity::HasEntityFlags(GHIDRA_CAST<Entity *>(this),0x600000000000000);
if ((isHasFlags == 0) && (*GHIDRA_CAST<float *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[0x11a])) + 0x2)))) == 0.0)) {
return true;
}
}
return false;
}
if (param_2 == 0x244) {
iVar1 = FUN_00827180(this + 0x114);
return iVar1 != -1;
}
if (0x127 < param_2) {
if (param_2 != 0x1e7) {
if (param_2 == 0x22b) {
return 4 < *GHIDRA_CAST<int *>((this + 0x678));
}
return true;
}
LAB_005ca662:
return 1 < *GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[0x66a])) + 0x2))));
}
if (param_2 == 0x127) {
return 0 < *GHIDRA_CAST<int *>((this + 0x678));
}
if (param_2 != 0x82) {
if (param_2 == 0x85) goto LAB_005ca662;
if (param_2 != 0xb5) {
return true;
}
}
return 1.0 < *GHIDRA_CAST<float *>((this + 0x120)) * *GHIDRA_CAST<float *>((this + 0x120)) +
*GHIDRA_CAST<float *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[0x121])) + 0x1)))) * *GHIDRA_CAST<float *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[0x121])) + 0x1))));
}
// 00a159d0
uint32_t KAGE_Filesys_FileManager::GetPrimaryFilePathHash(uint8_t *filePath)
{
-631
View File
@@ -1,631 +0,0 @@
#include "classes.h"
// 0092f1c0
void StageTransition::Update()
{
StageTransition *catchUpPlayer = this;
uint8_t uVar1;
int *piVar2;
uint8_t bVar3;
uint32_t uVar4;
Vector *trapdoorPos;
Entity *spawnedEffect;
uint32_t uVar5;
std_string *animName;
int *playerIt;
RoomDescriptor *startingRoom;
int iVar6;
void *pvVar7;
Game *game;
int gridX;
char cVar8;
uint32_t *playerSlot;
Entity_Player *player;
bool bVar9;
float fVar10;
float fVar11;
double dVar12;
Vector dustVelocity;
float angleSin;
float dustSpeed;
float angle;
Vector spawnPos;
StageTransition *transition;
Entity_Player *waitingPlayer;
GridEntity *trapdoorGrid;
int minExitFrame;
char isExitAnimDone;
Entity_Player *local_38;
Entity_Player *exitingPlayer;
char local_2e;
char isNoPlayerExiting;
void *tmpString [4];
uint32_t tmpStringSize;
uint32_t tmpStringCapacity;
uint32_t local_14;
void *local_10;
uint8_t *puStack_c;
void *local_8;
Entity_Player *catchUpPlayer;
uint32_t *flagsHigh;
Manager *manager;
uint64_t savedFlags;
GridEntity *trapdoor;
game = g_game;
local_8 = (void *)0xffffffff;
puStack_c = &LAB_00b0aced;
local_10 = ExceptionList;
uVar4 = __security_cookie ^ GHIDRA_UINT((tmpString + 10));
ExceptionList = &local_10;
transition = catchUpPlayer;
local_14 = uVar4;
switch(*GHIDRA_CAST<uint32_t *>(catchUpPlayer)) {
case 1:
isNoPlayerExiting = '\x01';
waitingPlayer = GHIDRA_CAST<Entity_Player *>(0x0);
exitingPlayer = GHIDRA_CAST<Entity_Player *>(0x0);
minExitFrame = 1000;
local_2e = '\0';
EntityList::Update(GHIDRA_CAST<EntityList *>((GHIDRA_INT(g_game->_room) + 0x1218)),1);
if (((*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(catchUpPlayer[1])) + 0x4)))) == 4) &&
(pvVar7 = (g_game->_playerManager)._stageTransitionPlayer,
*GHIDRA_CAST<float *>((GHIDRA_CAST<char *>(pvVar7) + 0x1b1c)) == g_vectorZero.x)) &&
(*GHIDRA_CAST<float *>((GHIDRA_CAST<char *>(pvVar7) + 0x1b20)) == g_vectorZero.y)) {
playerIt = (g_game->_playerManager)._playerList._begin;
if (playerIt != (g_game->_playerManager)._playerList._end) {
do {
piVar2 = GHIDRA_CAST<int *>(*playerIt);
if ((piVar2 != GHIDRA_CAST<int *>(0x0)) && (piVar2[0xb] == 0)) {
(**(code **)(*piVar2 + 0xc))();
}
playerIt = playerIt + 1;
} while (playerIt != (g_game->_playerManager)._playerList._end);
}
break;
}
playerSlot = (g_game->_playerManager)._playerList._begin;
player = GHIDRA_CAST<Entity_Player *>(0x0);
if (playerSlot != (g_game->_playerManager)._playerList._end) {
do {
player = GHIDRA_CAST<Entity_Player *>(*playerSlot);
if ((player != GHIDRA_CAST<Entity_Player *>(0x0)) && (player->_variant == 0)) {
if (player->_isPlayingExtraAnimation == 0) {
LAB_0092f31d:
isExitAnimDone = '\0';
}
else {
if ((player->_sprite)._animState._animData != (void *)0x0) {
local_38 = GHIDRA_CAST<Entity_Player *>((player->_sprite)._animState._animFrame);
dVar12 = floor((double)(float)local_38);
local_38 = GHIDRA_CAST<Entity_Player *>((float)dVar12);
if (GHIDRA_INT(dVar12) != *GHIDRA_CAST<int *>((GHIDRA_INT((player->_sprite)._animState._animData) + 0x30)) + -1)
goto LAB_0092f31d;
}
isExitAnimDone = '\x01';
}
(**(code **)(*GHIDRA_CAST<int *>(player) + 0xc))();
if ((player->_dead == 0) && (*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(catchUpPlayer[1])) + 0x4)))) != 1)) {
if (((player->_isPlayingExtraAnimation == 0) && (player->_isPlayingItemAnimation == 0))
|| ((player->_isCoopGhost != 0 &&
(fVar10 = (player->_moveToTarget).x - (player->_pos).x,
fVar11 = (player->_moveToTarget).y - (player->_pos).y,
fVar11 * fVar11 + fVar10 * fVar10 <= 1.0)))) {
if (isExitAnimDone == '\0') {
if ((player->_visible != 0) && (waitingPlayer == GHIDRA_CAST<Entity_Player *>(0x0))) {
waitingPlayer = player;
}
}
else {
player->_visible = 0;
}
}
else {
isNoPlayerExiting = '\0';
if ((player->_sprite)._animState._animData == (void *)0x0) {
iVar6 = -1;
}
else {
local_38 = GHIDRA_CAST<Entity_Player *>((player->_sprite)._animState._animFrame);
dVar12 = floor((double)(float)local_38);
iVar6 = GHIDRA_INT(dVar12);
}
local_38 = player;
if (minExitFrame <= iVar6) {
iVar6 = minExitFrame;
local_38 = exitingPlayer;
}
minExitFrame = iVar6;
exitingPlayer = local_38;
update_player_trapdoor_scale(catchUpPlayer,player,0);
if (((player->_sprite)._animState._animData != (void *)0x0) &&
(bVar3 = AnimationState::IsEventTriggered
(&(player->_sprite)._animState,&DAT_00b1d534), bVar3 != 0)) {
local_2e = '\x01';
exitingPlayer = local_38;
}
}
}
}
playerSlot = playerSlot + 1;
} while (playerSlot != (g_game->_playerManager)._playerList._end);
player = exitingPlayer;
if (exitingPlayer != GHIDRA_CAST<Entity_Player *>(0x0)) {
fVar10 = (exitingPlayer->_moveToTarget).y;
*GHIDRA_CAST<float *>((catchUpPlayer + 2)) = (exitingPlayer->_moveToTarget).x;
*GHIDRA_CAST<float *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(catchUpPlayer[2])) + 0x4)))) = fVar10;
}
}
pvVar7 = g_game->_room;
gridX = GHIDRA_INT(((*GHIDRA_CAST<float *>((catchUpPlayer + 2)) - 40.0) / 40.0 + 0.5));
iVar6 = GHIDRA_INT(((*GHIDRA_CAST<float *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(catchUpPlayer[2])) + 0x4)))) - 120.0) / 40.0 + 0.5));
if (gridX < 0) {
LAB_0092f849:
cVar8 = isNoPlayerExiting;
}
else {
if (((*GHIDRA_CAST<int *>((GHIDRA_CAST<char *>(pvVar7) + 0xc)) <= gridX) || (iVar6 < 0)) ||
(*GHIDRA_CAST<int *>((GHIDRA_CAST<char *>(pvVar7) + 0x10)) <= iVar6)) goto LAB_0092f849;
uVar4 = iVar6 * *GHIDRA_CAST<int *>((GHIDRA_CAST<char *>(pvVar7) + 0xc)) + gridX;
if (0x1bf < uVar4) goto LAB_0092f849;
trapdoor = *GHIDRA_CAST<GridEntity **>((GHIDRA_CAST<char *>(pvVar7) + uVar4 * 4 + 0x24));
trapdoorGrid = trapdoor;
if (((trapdoor == GHIDRA_CAST<GridEntity *>(0x0)) || (*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((trapdoor)) + 0x4)))) != 0x11)) ||
(*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((trapdoor)) + 0x8)))) != 0)) goto LAB_0092f849;
if (local_2e != '\0') {
bVar3 = ANM2::SetAnimation(&trapdoor->_sprite,GHIDRA_CAST<uint8_t *>("Player Exit"),1);
if (bVar3 != 0) {
AnimationState::Rewind(&(trapdoor->_sprite)._animState);
(trapdoor->_sprite)._animState._isPlaying = 1;
}
if (*GHIDRA_CAST<float *>((GHIDRA_CAST<char *>(g_game->_room) + 0x7240)) <= 0.2) {
uVar4 = Random();
trapdoorPos = GridEntity::Position(trapdoorGrid,&spawnPos);
spawnedEffect =
Game::Spawn(g_game,1000,0xf,trapdoorPos,&g_vectorZero,GHIDRA_CAST<Entity *>(0x0),2,uVar4);
savedFlags = spawnedEffect->_flags;
iVar6 = *GHIDRA_CAST<int *>(spawnedEffect);
flagsHigh = GHIDRA_CAST<uint32_t *>((GHIDRA_INT(&spawnedEffect->_flags) + 4));
*flagsHigh = *flagsHigh | 0x1000;
*GHIDRA_CAST<int *>(&spawnedEffect->_flags) = GHIDRA_INT(savedFlags);
(spawnedEffect->_sprite)._color._tint[3] = 0.5;
(spawnedEffect->_sprite)._playbackSpeed = 2.0;
spawnedEffect->_renderDepthOffset = 4.0;
(**(code **)(iVar6 + 0xc))();
}
else {
uVar4 = Random();
trapdoorPos = GridEntity::Position(trapdoorGrid,&spawnPos);
spawnedEffect =
Game::Spawn(g_game,1000,99,trapdoorPos,&g_vectorZero,GHIDRA_CAST<Entity *>(0x0),0,uVar4);
fVar10 = (spawnedEffect->_sprite)._scale.x;
fVar11 = (spawnedEffect->_sprite)._scale.y;
savedFlags = spawnedEffect->_flags;
flagsHigh = GHIDRA_CAST<uint32_t *>((GHIDRA_INT(&spawnedEffect->_flags) + 4));
*flagsHigh = *flagsHigh | 0x1000;
*GHIDRA_CAST<int *>(&spawnedEffect->_flags) = GHIDRA_INT(savedFlags);
iVar6 = *GHIDRA_CAST<int *>(spawnedEffect);
(spawnedEffect->_sprite)._scale.x = fVar10 + fVar10;
(spawnedEffect->_sprite)._scale.y = fVar11 + fVar11;
(spawnedEffect->_sprite)._playbackSpeed = 2.0;
(**(code **)(iVar6 + 0xc))();
uVar4 = Random();
trapdoor = trapdoorGrid;
local_38 = GHIDRA_CAST<Entity_Player *>((uVar4 % 5 + 3));
if (local_38 != GHIDRA_CAST<Entity_Player *>(0x0)) {
do {
uVar4 = Random();
uVar5 = Random();
angle = (float)((double)GHIDRA_INT(uVar5) + __uint_to_double_fixup[-(GHIDRA_INT(uVar5) >> 0x1f)]) *
2.3283064e-10 * 3.14;
angle = angle + angle;
angleSin = sin(angle);
uVar5 = Random();
dustSpeed = (float)((double)GHIDRA_INT(uVar5) + __uint_to_double_fixup[-(GHIDRA_INT(uVar5) >> 0x1f)]
) * 2.3283064e-10 * 8.0;
dustVelocity.x = cos(angle);
dustVelocity.x = dustVelocity.x * dustSpeed;
iVar6 = *GHIDRA_CAST<int *>((GHIDRA_CAST<char *>(g_game->_room) + 0xc));
dustVelocity.y = dustSpeed * angleSin;
spawnPos.x = (float)(trapdoor->_gridIndex % iVar6) * 40.0 + 40.0;
spawnPos.y = (float)(trapdoor->_gridIndex / iVar6) * 40.0 + 120.0;
spawnedEffect =
Game::Spawn(g_game,1000,99,&spawnPos,&dustVelocity,GHIDRA_CAST<Entity *>(0x0),1,uVar4);
fVar10 = (spawnedEffect->_sprite)._scale.x;
fVar11 = (spawnedEffect->_sprite)._scale.y;
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(spawnedEffect[1])) + 0x8)))) = 0x3f800000;
(spawnedEffect->_sprite)._scale.x = fVar10 + fVar10;
(spawnedEffect->_sprite)._scale.y = fVar11 + fVar11;
uVar4 = Random();
flagsHigh = GHIDRA_CAST<uint32_t *>((GHIDRA_INT(&spawnedEffect->_flags) + 4));
*flagsHigh = *flagsHigh | 0x1000;
dVar12 = __uint_to_double_fixup[-(GHIDRA_INT(uVar4) >> 0x1f)];
*GHIDRA_CAST<int *>(&spawnedEffect->_flags) = GHIDRA_INT(spawnedEffect->_flags);
iVar6 = *GHIDRA_CAST<int *>(spawnedEffect);
*GHIDRA_CAST<float *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(spawnedEffect[1])) + 0x4)))) =
-8.0 - (float)((double)GHIDRA_INT(uVar4) + dVar12) * 2.3283064e-10 * 4.0;
(**(code **)(iVar6 + 0xc))();
local_38 = GHIDRA_CAST<Entity_Player *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_38[-1])) + 0x2eff))));
} while (local_38 != GHIDRA_CAST<Entity_Player *>(0x0));
local_38 = GHIDRA_CAST<Entity_Player *>(0x0);
catchUpPlayer = transition;
player = exitingPlayer;
}
}
}
if (((trapdoorGrid->_sprite)._animState._animData == (void *)0x0) ||
((trapdoorGrid->_sprite)._animState._isPlaying == 0)) goto LAB_0092f849;
ANM2::Update(&trapdoorGrid->_sprite);
cVar8 = '\0';
}
catchUpPlayer = waitingPlayer;
if (((player == GHIDRA_CAST<Entity_Player *>(0x0)) || (waitingPlayer == GHIDRA_CAST<Entity_Player *>(0x0))) ||
(minExitFrame < 6)) {
if (cVar8 == '\0') goto LAB_0092f901;
}
else {
animName = ANM2::GetAnimation(GHIDRA_CAST<ANM2 *>(&(player->_sprite)._animState),GHIDRA_CAST<std_string *>(tmpString));
local_8 = (void *)0x0;
if (0xf < animName->_capacity) {
animName = *GHIDRA_CAST<std_string **>(animName->_buf);
}
Entity_Player::PlayExtraAnimation(catchUpPlayer,GHIDRA_CAST<uint8_t *>(animName));
local_8 = (void *)0xffffffff;
if (0xf < tmpStringCapacity) {
uVar4 = tmpStringCapacity + 1;
pvVar7 = tmpString[0];
if (0xfff < uVar4) {
pvVar7 = *(void **)(GHIDRA_INT(tmpString[0]) + -4);
uVar4 = tmpStringCapacity + 0x24;
if (0x1f < GHIDRA_UINT((GHIDRA_INT(tmpString[0]) + (-4 - GHIDRA_INT(pvVar7))))) {
/* WARNING: Subroutine does not return */
_invalid_parameter_noinfo_noreturn();
}
}
operator_delete(pvVar7,uVar4);
}
fVar10 = (player->_moveToTarget).y;
tmpStringSize = 0;
tmpStringCapacity = 0xf;
tmpString[0] = (void *)(GHIDRA_UINT(tmpString[0]) & 0xffffff00);
(catchUpPlayer->_moveToTarget).x = (player->_moveToTarget).x;
(catchUpPlayer->_moveToTarget).y = fVar10;
LAB_0092f901:
if (*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(catchUpPlayer[1])) + 0x4)))) != 1) break;
}
playerIt = (g_game->_playerManager)._playerList._begin;
if (playerIt != (g_game->_playerManager)._playerList._end) {
piVar2 = (g_game->_playerManager)._playerList._end;
do {
iVar6 = *playerIt;
if ((iVar6 != 0) && (*GHIDRA_CAST<int *>((iVar6 + 0x2c)) == 0)) {
*GHIDRA_CAST<float *>((iVar6 + 0xdc)) = g_vectorZero.x;
*GHIDRA_CAST<float *>((iVar6 + 0xe0)) = g_vectorZero.y;
}
playerIt = playerIt + 1;
} while (playerIt != piVar2);
}
if ((0x14 < *GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((catchUpPlayer)) + 0x4))))) ||
((*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(catchUpPlayer[1])) + 0x4)))) == 1 && (5 < *GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((catchUpPlayer)) + 0x4)))))))) {
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((catchUpPlayer)) + 0x4)))) = 0;
*GHIDRA_CAST<int *>(catchUpPlayer) = 2;
FUN_007ea5d0();
SFXManager::StopLoopingSounds(&g_manager->_sfxManager);
if ((*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(catchUpPlayer[1])) + 0x4)))) == 4) && (iVar6 = get_stage_ending_id(0), iVar6 != 0)) {
if (iVar6 == 0xff) {
KAGE_LogMessage(1,GHIDRA_CAST<uint8_t *>("[warn] No ending for big chest!\n"));
Game::FinishChallenge(g_game);
*GHIDRA_CAST<int *>(catchUpPlayer) = 4;
}
else {
if (*GHIDRA_CAST<char *>(&g_game->_onlineStatsScreen) == '\0') {
Game::End(g_game,iVar6);
}
*GHIDRA_CAST<int *>(catchUpPlayer) = 4;
}
}
}
break;
case 2:
uVar4 = *GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((catchUpPlayer)) + 0x4))));
uVar5 = catchUpPlayer->_duration;
if (uVar4 < uVar5) {
if (uVar4 == uVar5 - 2) {
if (*GHIDRA_CAST<char *>((catchUpPlayer + 1)) == '\0') {
iVar6 = *GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(catchUpPlayer[1])) + 0x4))));
if (iVar6 == 2) {
Level::SetStage(GHIDRA_CAST<Level *>(g_game),0xb,0);
}
else if (iVar6 == 3) {
Level::SetStage(GHIDRA_CAST<Level *>(g_game),0xc,0);
}
else if (iVar6 == 6) {
Level::SetStage(GHIDRA_CAST<Level *>(g_game),0xd,0);
}
else {
Level::SetNextStage(GHIDRA_CAST<Level *>(g_game));
}
}
else {
bVar3 = Game::IsInTimedSet(g_game,0x10);
if (bVar3 != 0) {
bVar3 = Game::IsGreedMode(game);
if (bVar3 == 0) {
iVar6 = (~g_game->_stageNameNumeral & 1U) + 1;
game = g_game;
}
else {
iVar6 = 1;
}
Level::SetStage(GHIDRA_CAST<Level *>(game),iVar6,0);
Seeds::ForgetStageSeed(&g_game->_seedEffects,g_game->_stage);
}
}
if (g_manager->_netplayManager != *GHIDRA_CAST<int *>((g_manager + 1))) {
NetplayManager::process_pending_joins(GHIDRA_CAST<NetplayManager *>(&g_manager->_netplayManager),0);
}
break;
}
if ((uVar4 != uVar5 - 1) || ((char)catchUpPlayer[1]._duration != '\0')) break;
bVar3 = Level::IsAscent(GHIDRA_CAST<Level *>(g_game));
bVar9 = bVar3 == 0;
LAB_0092fe68:
if (!bVar9) break;
}
else {
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((catchUpPlayer)) + 0x4)))) = 0;
*GHIDRA_CAST<uint32_t *>(catchUpPlayer) = 3;
if (uVar5 == 8) {
catchUpPlayer->_duration = 0xf;
}
game = g_game;
if (*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(catchUpPlayer[1])) + 0x4)))) == 1) {
playerSlot = (g_game->_playerManager)._playerList._begin;
if (playerSlot != (g_game->_playerManager)._playerList._end) {
do {
player = GHIDRA_CAST<Entity_Player *>(*playerSlot);
if ((player != GHIDRA_CAST<Entity_Player *>(0x0)) && (player->_variant == 0)) {
if (player == (game->_playerManager)._stageTransitionPlayer) {
Entity_Player::AnimateCollectible
(player,0x7f,GHIDRA_CAST<uint8_t *>("Pickup"),GHIDRA_CAST<uint8_t *>("PlayerPickupSparkle"));
}
else {
Entity_Player::PlayExtraAnimation(player,GHIDRA_CAST<uint8_t *>("Appear"));
}
game = g_game;
}
playerSlot = playerSlot + 1;
} while (playerSlot != (game->_playerManager)._playerList._end);
}
}
else if (((*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(catchUpPlayer[1])) + 0x4)))) != 5) &&
(bVar3 = Level::IsAscent(GHIDRA_CAST<Level *>(g_game)), bVar3 == 0)) &&
(playerSlot = (game->_playerManager)._playerList._begin,
playerSlot != (game->_playerManager)._playerList._end)) {
do {
player = GHIDRA_CAST<Entity_Player *>(*playerSlot);
if ((player != GHIDRA_CAST<Entity_Player *>(0x0)) && (player->_variant == 0)) {
Entity_Player::PlayExtraAnimation(player,GHIDRA_CAST<uint8_t *>("Appear"));
game = g_game;
}
playerSlot = playerSlot + 1;
} while (playerSlot != (game->_playerManager)._playerList._end);
}
EntityList::Update(GHIDRA_CAST<EntityList *>((GHIDRA_INT(game->_room) + 0x1218)),1);
playerIt = (g_game->_playerManager)._playerList._begin;
game = g_game;
if (playerIt != (g_game->_playerManager)._playerList._end) {
do {
piVar2 = GHIDRA_CAST<int *>(*playerIt);
if ((piVar2 != GHIDRA_CAST<int *>(0x0)) && (piVar2[0xb] == 0)) {
(**(code **)(*piVar2 + 0xc))();
game = g_game;
*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(piVar2) + 0x171)) = 1;
}
playerIt = playerIt + 1;
} while (playerIt != (game->_playerManager)._playerList._end);
}
if ((*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((game)) + 0x10))) == '\0') {
game->_stagesWithoutHeartsPicked = game->_stagesWithoutHeartsPicked + 1;
if (1 < game->_stagesWithoutHeartsPicked) {
PersistentGameData::TryUnlock(&g_manager->_persistentGameData,0x2a);
game = g_game;
}
}
else {
game->_stagesWithoutHeartsPicked = 0;
}
if ((game->_levelStateFlags & 0x20) == 0) {
game->_stagesWithoutDamage = game->_stagesWithoutDamage + 1;
if (1 < game->_stagesWithoutDamage) {
PersistentGameData::TryUnlock(&g_manager->_persistentGameData,0x43);
game = g_game;
}
}
else {
game->_stagesWithoutDamage = 0;
}
if ((((game->_difficulty != 2) && (game->_difficulty != 3)) && (game->_stage == 7)) &&
((game->_stageType == 4 || (game->_stageType == 5)))) {
PersistentGameData::TryUnlock(&g_manager->_persistentGameData,0x19b);
game = g_game;
}
if (*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(catchUpPlayer[1])) + 0x4)))) == 5) {
savedFlags = game->_gameStateFlags;
flagsHigh = GHIDRA_CAST<uint32_t *>((GHIDRA_INT(&game->_gameStateFlags) + 4));
*flagsHigh = *flagsHigh | 0x10000;
*GHIDRA_CAST<int *>(&game->_gameStateFlags) = GHIDRA_INT(savedFlags);
if (*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(catchUpPlayer[1])) + 0x4)))) != 5) goto LAB_0092fbfd;
LAB_0092fc1b:
manager = g_manager;
local_38 = GHIDRA_CAST<Entity_Player *>(0x267);
seed_fart_sound_override(GHIDRA_CAST<int *>(&local_38));
(GHIDRA_CAST<SoundEffects *>((&manager->_sfxManager)))->SoundEffects::Play(GHIDRA_INT(local_38),1.0,2,0,1.0,0.0);
game = g_game;
}
else {
LAB_0092fbfd:
if (((0 < game->_stage) && (game->_stage < 7)) &&
((game->_gameStateFlags & 0x1000000000000) != 0)) goto LAB_0092fc1b;
}
Level::Init(GHIDRA_CAST<Level *>(game),0);
Room::Update(g_game->_room);
Manager::save_game_state();
PlayerManager::trigger_new_room_effects(&g_game->_playerManager);
game = g_game;
if ((g_game->_challenge == 0x1f) && (g_game->_stage != 0xb)) {
playerIt = (g_game->_playerManager)._playerList._begin;
if (playerIt != (g_game->_playerManager)._playerList._end) {
do {
iVar6 = *playerIt;
if ((iVar6 != 0) && (*GHIDRA_CAST<int *>((iVar6 + 0x2c)) == 0)) {
*GHIDRA_CAST<uint8_t *>((iVar6 + 0x1398)) = 0;
*GHIDRA_CAST<uint8_t *>((iVar6 + 0x139a)) = 0;
}
playerIt = playerIt + 1;
} while (playerIt != (game->_playerManager)._playerList._end);
}
RoomTransition::start
(&g_game->_roomTransition,
g_game->_roomList[g_game->_lastBossRoomListIdx].GridIndex,-1,0xf,
GHIDRA_CAST<Entity_Player *>(0x0),-1);
RoomTransition::Update(&g_game->_roomTransition);
startingRoom = Level::GetRoomByIdx(GHIDRA_CAST<Level *>(g_game),g_game->_startingRoomIdx,-1);
game = g_game;
startingRoom->Flags = startingRoom->Flags & 0xfffffffe;
Game::UpdateVisibility(game);
*GHIDRA_CAST<uint32_t *>(catchUpPlayer) = 0;
}
if ((char)catchUpPlayer[1]._duration == '\0') break;
if ((0 < g_game->_stage) && (g_game->_stage < 7)) {
bVar9 = (g_game->_gameStateFlags & 0x1000000000000) == 0;
goto LAB_0092fe68;
}
}
manager = g_manager;
uVar1 = *GHIDRA_CAST<uint8_t *>((catchUpPlayer + 1));
g_manager->_isNightmarePending = 1;
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((manager)) + 0x4b2a5))) = uVar1;
break;
case 3:
uVar4 = *GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((catchUpPlayer)) + 0x4))));
if ((uVar4 == 2) && ((char)catchUpPlayer[1]._duration != '\0')) {
Room::PlayMusic(g_game->_room);
uVar4 = *GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((catchUpPlayer)) + 0x4))));
}
game = g_game;
if (GHIDRA_UINT(catchUpPlayer->_duration) <= uVar4) {
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((catchUpPlayer)) + 0x4)))) = 0;
*GHIDRA_CAST<uint32_t *>(catchUpPlayer) = 4;
Level::ShowName(GHIDRA_CAST<Level *>(game),0);
}
break;
case 4:
local_2e = '\x01';
EntityList::Update(GHIDRA_CAST<EntityList *>((GHIDRA_INT(g_game->_room) + 0x1218)),1);
playerIt = (g_game->_playerManager)._playerList._begin;
game = g_game;
if (playerIt == (g_game->_playerManager)._playerList._end) {
LAB_0092ff4d:
*GHIDRA_CAST<int *>(catchUpPlayer) = 0;
}
else {
cVar8 = local_2e;
do {
piVar2 = GHIDRA_CAST<int *>(*playerIt);
if ((piVar2 != GHIDRA_CAST<int *>(0x0)) && (piVar2[0xb] == 0)) {
(**(code **)(*piVar2 + 0xc))(uVar4);
if (((char)piVar2[0x4e6] == '\0') && (*GHIDRA_CAST<char *>((GHIDRA_CAST<char *>(piVar2) + 0x139a)) == '\0')) {
*GHIDRA_CAST<uint8_t *>((piVar2 + 0x104)) = 1;
}
else {
cVar8 = '\0';
}
game = g_game;
}
playerIt = playerIt + 1;
} while (playerIt != (game->_playerManager)._playerList._end);
catchUpPlayer = transition;
if (cVar8 != '\0') goto LAB_0092ff4d;
}
(GHIDRA_CAST<ItemOverlay *>((&game->_itemOverlay)))->ItemOverlay::Update(0);
}
*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((catchUpPlayer)) + 0x4)))) = *GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((catchUpPlayer)) + 0x4)))) + 1;
game = g_game;
if ((*GHIDRA_CAST<int *>(catchUpPlayer) == 3) || (*GHIDRA_CAST<int *>(catchUpPlayer) == 2)) {
(g_game->_hud)._hudRefreshType = 2;
(game->_hud)._hudRefreshCountdown = 2;
}
ExceptionList = local_10;
return;
}
// 0092ffc0
void StageTransition::Render()
{
int iVar1;
KColor fadeColor;
uint8_t local_78 [116];
iVar1 = *GHIDRA_CAST<int *>(this);
if (iVar1 == 3) {
fadeColor._alpha =
1.0 - (float)((double)*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x4)))) +
__uint_to_double_fixup[-(*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x4)))) >> 0x1f)]) /
(float)((double)this->_duration + __uint_to_double_fixup[-(this->_duration >> 0x1f)])
;
}
else if (iVar1 == 2) {
fadeColor._alpha =
(float)((double)*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x4)))) +
__uint_to_double_fixup[-(*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x4)))) >> 0x1f)]) /
(float)((double)this->_duration + __uint_to_double_fixup[-(this->_duration >> 0x1f)]);
}
else {
fadeColor._alpha = (float)&DAT_bf800000;
}
fadeColor._unk = 0;
fadeColor._red = 0.0;
fadeColor._green = 0.0;
fadeColor._blue = 0.0;
if (*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[1])) + 0x4)))) != 5) {
if ((((g_game->_stage < 1) || (6 < g_game->_stage)) ||
((g_game->_gameStateFlags & 0x1000000000000) == 0)) || (iVar1 == 2)) goto LAB_009300d4;
}
fadeColor._blue = 1.0;
fadeColor._green = 1.0;
fadeColor._red = 1.0;
LAB_009300d4:
g_graphicsManager_blendMode[1] = 1;
if (((uint8_t)g_graphicsManager_flags & 4) == 0) {
g_graphicsManager_blendMode[1] = 6;
}
g_graphicsManager_blendMode[0] = 0;
g_graphicsManager_blendMode[2] = 7;
g_graphicsManager_blendMode[3] = 1;
g_graphicsManager_blendMode[4] = 7;
render_quad_set_uniform_color(local_78,0.0,0.0,g_screenWidth,g_screenHeight,&fadeColor);
if ((*GHIDRA_CAST<int *>(this) == 2) || (*GHIDRA_CAST<int *>(this) == 3)) {
render_color_shader_pass(local_78);
}
return;
}
// 00930160
float StageTransition::get_fade_progress()
{
float fVar1;
int transitionState;
transitionState = *GHIDRA_CAST<int *>(this);
if ((transitionState != 3) && (transitionState != 2)) {
return -1.0;
}
fVar1 = (float)((double)*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x4)))) +
__uint_to_double_fixup[-(*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x4)))) >> 0x1f)]) /
(float)((double)this->_duration + __uint_to_double_fixup[-(this->_duration >> 0x1f)]);
if (transitionState == 3) {
return 1.0 - fVar1;
}
return fVar1;
}
-33
View File
@@ -8275,7 +8275,6 @@ void DailyChallenge::Init(uint32_t dailyDate) { generated_stub("DailyChallenge::
DamageInfo::DamageInfo() { generated_stub("DamageInfo::DamageInfo 006a8190"); }
void DateTime::set_from_yyyymmdd(void *dateTime, int yyyymmdd) { generated_stub("DateTime::set_from_yyyymmdd 0085af30"); }
void DateTime::constructor(uint8_t isNow) { generated_stub("DateTime::constructor 00a24270"); }
DeathmatchTypeBase::~DeathmatchTypeBase() { generated_stub("DeathmatchTypeBase::~DeathmatchTypeBase 0042a430"); }
void DeathmatchTypeBase::vfunc_1() { generated_stub("DeathmatchTypeBase::vfunc_1 00af05d3"); }
uint8_t DeathmatchTypeBase::Init() { generated_stub("DeathmatchTypeBase::Init 0042a4d0"); }
void DeathmatchTypeBase::guard_check_icall() { generated_stub("DeathmatchTypeBase::guard_check_icall 0040c200"); }
@@ -8329,7 +8328,6 @@ void DeathmatchTypeKnifeFight::FUN_0042c070(Entity_Player *param_1, uint64_t *pa
void DeathmatchTypeKnockout::vfunc_1() { generated_stub("DeathmatchTypeKnockout::vfunc_1 0042cef0"); }
long double DeathmatchTypeKnockout::FUN_0042bc10() { generated_stub("DeathmatchTypeKnockout::FUN_0042bc10 0042cf00"); }
void DeathmatchTypeKnockout::FUN_0042c070(Entity_Player *param_1, uint64_t *param_2) { generated_stub("DeathmatchTypeKnockout::FUN_0042c070 0042cf10"); }
DeathmatchTypeLudovico::~DeathmatchTypeLudovico() { generated_stub("DeathmatchTypeLudovico::~DeathmatchTypeLudovico 0042d0f0"); }
void DeathmatchTypeLudovico::vfunc_1() { generated_stub("DeathmatchTypeLudovico::vfunc_1 0042d1b0"); }
void DeathmatchTypeLudovico::vfunc_20() { generated_stub("DeathmatchTypeLudovico::vfunc_20 0042cb80"); }
void DeathmatchTypeLudovico::FUN_0042bc90() { generated_stub("DeathmatchTypeLudovico::FUN_0042bc90 0042d1c0"); }
@@ -8337,7 +8335,6 @@ void DeathmatchTypeLudovico::FUN_0042c070(Entity_Player *param_1, uint64_t *para
void DeathmatchTypeMachineGun::vfunc_1() { generated_stub("DeathmatchTypeMachineGun::vfunc_1 0042d660"); }
long double DeathmatchTypeMachineGun::FUN_0042bc10() { generated_stub("DeathmatchTypeMachineGun::FUN_0042bc10 0042d670"); }
void DeathmatchTypeMachineGun::FUN_0042c070(Entity_Player *param_1, uint64_t *param_2) { generated_stub("DeathmatchTypeMachineGun::FUN_0042c070 0042d680"); }
DeathmatchTypeNormal::~DeathmatchTypeNormal() { generated_stub("DeathmatchTypeNormal::~DeathmatchTypeNormal 0042d780"); }
void DeathmatchTypeNormal::vfunc_1() { generated_stub("DeathmatchTypeNormal::vfunc_1 0042d7e0"); }
uint8_t DeathmatchTypeNormal::Init() { generated_stub("DeathmatchTypeNormal::Init 0042d7f0"); }
void DeathmatchTypeNormal::Update() { generated_stub("DeathmatchTypeNormal::Update 0042d850"); }
@@ -9153,7 +9150,6 @@ void KAGE::Thread::vfunc_1() { generated_stub("KAGE::Thread::vfunc_1 00a5a570");
void KAGE::Thread::FUN_00a62830(uint32_t param_1, uint32_t param_2, uint32_t param_3, uint32_t param_4) { generated_stub("KAGE::Thread::FUN_00a62830 00a5a530"); }
void KAGE::Thread::vfunc_3() { generated_stub("KAGE::Thread::vfunc_3 00a5a700"); }
uint32_t KAGE::Util::String::CharacterIteratorUTF8::FUN_00a55aa0() { generated_stub("KAGE::Util::String::CharacterIteratorUTF8::FUN_00a55aa0 00a55aa0"); }
bool KAGE_Filesys_FileManager::OpenRead(int param_2, int param_3) { generated_stub("KAGE_Filesys_FileManager::OpenRead 005ca5a0"); }
uint32_t KAGE_Filesys_FileManager::GetPrimaryFilePathHash(uint8_t *filePath) { generated_stub("KAGE_Filesys_FileManager::GetPrimaryFilePathHash 00a159d0"); }
uint32_t KAGE_Filesys_FileManager::GetSecondaryFilePathHash() { generated_stub("KAGE_Filesys_FileManager::GetSecondaryFilePathHash 00a15ab0"); }
void KAGE_Filesys_FileManager::LoadArchiveFile(uint8_t *param_1, uint32_t *param_2, uint16_t param_3) { generated_stub("KAGE_Filesys_FileManager::LoadArchiveFile 00a179c0"); }
@@ -9435,9 +9431,6 @@ void Sprite::set_offset(Vector *offset) { generated_stub("Sprite::set_offset 004
long double Sprite::PlaybackSpeed() { generated_stub("Sprite::PlaybackSpeed 00456360"); }
Vector * Sprite::Offset() { generated_stub("Sprite::Offset 0049cb40"); }
SpriteTrailData::~SpriteTrailData() { generated_stub("SpriteTrailData::~SpriteTrailData 005d2370"); }
void StageTransition::Update() { generated_stub("StageTransition::Update 0092f1c0"); }
void StageTransition::Render() { generated_stub("StageTransition::Render 0092ffc0"); }
float StageTransition::get_fade_progress() { generated_stub("StageTransition::get_fade_progress 00930160"); }
void StatsPanel::add_stat_line() { generated_stub("StatsPanel::add_stat_line 0084dc00"); }
void StatsPanel::set(Entity_Player *player, uint8_t isGoldenTrinket) { generated_stub("StatsPanel::set 0084dea0"); }
void StatsPanel::snapshot_stats(uint32_t param_1) { generated_stub("StatsPanel::snapshot_stats 0084e9d0"); }
@@ -10042,7 +10035,6 @@ void FUN_0042a040(int *param_1, int *param_2) { generated_stub("FUN_0042a040 004
void FUN_0042a210() { generated_stub("FUN_0042a210 0042a210"); }
void FUN_0042a230() { generated_stub("FUN_0042a230 0042a230"); }
void FUN_0042a350() { generated_stub("FUN_0042a350 0042a350"); }
void FUN_0042a430(uint8_t param_1) { generated_stub("FUN_0042a430 0042a430"); }
void FUN_0042a490() { generated_stub("FUN_0042a490 0042a490"); }
void FUN_0042aca0() { generated_stub("FUN_0042aca0 0042aca0"); }
bool FUN_0042ae90() { generated_stub("FUN_0042ae90 0042ae90"); }
@@ -10097,13 +10089,11 @@ long double FUN_0042cf00() { generated_stub("FUN_0042cf00 0042cf00"); }
void FUN_0042cf10(Entity_Player *param_1, uint32_t param_2) { generated_stub("FUN_0042cf10 0042cf10"); }
int FUN_0042d040() { generated_stub("FUN_0042d040 0042d040"); }
void get_netplay_player_color(void *self, ColorMod *outColor, Entity_Player *player) { generated_stub("get_netplay_player_color 0042d060"); }
void FUN_0042d0f0(uint8_t param_1) { generated_stub("FUN_0042d0f0 0042d0f0"); }
uint32_t FUN_0042d1b0() { generated_stub("FUN_0042d1b0 0042d1b0"); }
void FUN_0042d5f0(Entity_Player *param_1, uint32_t param_2) { generated_stub("FUN_0042d5f0 0042d5f0"); }
uint32_t FUN_0042d660() { generated_stub("FUN_0042d660 0042d660"); }
long double FUN_0042d670() { generated_stub("FUN_0042d670 0042d670"); }
void FUN_0042d680(Entity_Player *param_1, uint32_t param_2) { generated_stub("FUN_0042d680 0042d680"); }
void FUN_0042d780(uint8_t param_1) { generated_stub("FUN_0042d780 0042d780"); }
uint32_t FUN_0042d7e0() { generated_stub("FUN_0042d7e0 0042d7e0"); }
uint8_t FUN_0042d7f0() { generated_stub("FUN_0042d7f0 0042d7f0"); }
void FUN_0042d850() { generated_stub("FUN_0042d850 0042d850"); }
@@ -10259,8 +10249,6 @@ void NpcAI::ENTITY_LARRYJR(Entity_NPC *npc) { generated_stub("NpcAI::ENTITY_LARR
void NpcAI::ENTITY_MONSTRO(Entity_NPC *npc) { generated_stub("NpcAI::ENTITY_MONSTRO 0046c0a0"); }
void NpcAI::ENTITY_DUKE(Entity_NPC *npc) { generated_stub("NpcAI::ENTITY_DUKE 0046e290"); }
void NpcAI::ENTITY_WIDOW(Entity_NPC *npc) { generated_stub("NpcAI::ENTITY_WIDOW 0046fbe0"); }
void NpcAI::ENTITY_GEMINI(Entity_NPC *npc) { generated_stub("NpcAI::ENTITY_GEMINI 00471050"); }
void NpcAI::ENTITY_GEMINI_baby(Entity_NPC *npc) { generated_stub("NpcAI::ENTITY_GEMINI_baby 00471cc0"); }
void NpcAI::ENTITY_BLASTOCYST_BIG(Entity_NPC *npc) { generated_stub("NpcAI::ENTITY_BLASTOCYST_BIG 00472c40"); }
void NpcAI::ENTITY_SLOTH(Entity_NPC *npc) { generated_stub("NpcAI::ENTITY_SLOTH 004741f0"); }
void NpcAI::ENTITY_LUST(Entity_NPC *npc) { generated_stub("NpcAI::ENTITY_LUST 00474e00"); }
@@ -10462,10 +10450,7 @@ void NpcAI::ENTITY_STONE_EYE(Entity_NPC *npc) { generated_stub("NpcAI::ENTITY_ST
void NpcAI::ENTITY_CONSTANT_STONE_SHOOTER(Entity_NPC *npc) { generated_stub("NpcAI::ENTITY_CONSTANT_STONE_SHOOTER 00506320"); }
void NpcAI::ENTITY_EMBRYO(Entity_NPC *npc) { generated_stub("NpcAI::ENTITY_EMBRYO 0050a6b0"); }
void NpcAI::ENTITY_ETERNALFLY(Entity_NPC *npc) { generated_stub("NpcAI::ENTITY_ETERNALFLY 0050a8a0"); }
void NpcAI::ENTITY_GUSHER(Entity_NPC *npc) { generated_stub("NpcAI::ENTITY_GUSHER 0050af90"); }
void NpcAI::ENTITY_MULLIGAN(Entity_NPC *npc) { generated_stub("NpcAI::ENTITY_MULLIGAN 0050bbe0"); }
void NpcAI::ENTITY_HIVE(Entity_NPC *npc) { generated_stub("NpcAI::ENTITY_HIVE 0050c370"); }
void NpcAI::ENTITY_CLOTTY(Entity_NPC *npc) { generated_stub("NpcAI::ENTITY_CLOTTY 0050d370"); }
void NpcAI::ENTITY_GLOBIN(Entity_NPC *npc) { generated_stub("NpcAI::ENTITY_GLOBIN 0050e4d0"); }
uint32_t NpcAI::ENTITY_BOOMFLY(Entity_NPC *npc) { generated_stub("NpcAI::ENTITY_BOOMFLY 0050f280"); }
void NpcAI::ENTITY_MAW(Entity_NPC *npc) { generated_stub("NpcAI::ENTITY_MAW 00510ae0"); }
@@ -10785,7 +10770,6 @@ void FUN_005d2270() { generated_stub("FUN_005d2270 005d2270"); }
void FUN_005d2300() { generated_stub("FUN_005d2300 005d2300"); }
void FUN_005d2370(uint8_t param_1) { generated_stub("FUN_005d2370 005d2370"); }
void FUN_005d23a0(uint8_t param_1) { generated_stub("FUN_005d23a0 005d23a0"); }
void FUN_005d29b0() { generated_stub("FUN_005d29b0 005d29b0"); }
void FUN_005d4210() { generated_stub("FUN_005d4210 005d4210"); }
void FUN_00607540() { generated_stub("FUN_00607540 00607540"); }
void room_perimeter_to_position(float *param_1, float *param_2) { generated_stub("room_perimeter_to_position 0060ac70"); }
@@ -10989,7 +10973,6 @@ float normalize_angle_degrees(float angle) { generated_stub("normalize_angle_deg
float angle_difference(float from, float to) { generated_stub("angle_difference 006827a0"); }
void FUN_00682a20() { generated_stub("FUN_00682a20 00682a20"); }
float approach_angle(float current, float target, float maxStep) { generated_stub("approach_angle 00682a50"); }
void FUN_00683010(int param_1, int param_2, int param_3) { generated_stub("FUN_00683010 00683010"); }
uint32_t checksum_stream(void *stream, int offset, int trailingSize) { generated_stub("checksum_stream 00683580"); }
void FUN_00683680() { generated_stub("FUN_00683680 00683680"); }
void pop_render_target() { generated_stub("pop_render_target 006836c0"); }
@@ -11127,12 +11110,10 @@ uint32_t * FUN_006a13b0(uint32_t *param_1) { generated_stub("FUN_006a13b0 006a13
uint32_t * FUN_006a1420(uint32_t *param_1) { generated_stub("FUN_006a1420 006a1420"); }
void FUN_006a14f0(uint32_t param_1, uint32_t *param_2) { generated_stub("FUN_006a14f0 006a14f0"); }
void FUN_006a1e00(uint32_t *param_1) { generated_stub("FUN_006a1e00 006a1e00"); }
void FUN_006a1e80() { generated_stub("FUN_006a1e80 006a1e80"); }
void FUN_006a1fc0() { generated_stub("FUN_006a1fc0 006a1fc0"); }
void FUN_006a6910(uint32_t param_1, uint32_t param_2, uint32_t param_3, uint32_t param_4) { generated_stub("FUN_006a6910 006a6910"); }
void FUN_006a6930() { generated_stub("FUN_006a6930 006a6930"); }
void FUN_006a6940() { generated_stub("FUN_006a6940 006a6940"); }
std_string * resolve_resource_path(std_string *outPath, std_string *path, void *suffixes) { generated_stub("resolve_resource_path 006a69e0"); }
void FUN_006a7ec0() { generated_stub("FUN_006a7ec0 006a7ec0"); }
void FUN_006a80d0() { generated_stub("FUN_006a80d0 006a80d0"); }
void FUN_006a8180(uint32_t param_1) { generated_stub("FUN_006a8180 006a8180"); }
@@ -11260,16 +11241,13 @@ Entity_Player * FUN_007103c0(uint32_t *param_1) { generated_stub("FUN_007103c0 0
uint32_t FUN_00710f70(int param_1) { generated_stub("FUN_00710f70 00710f70"); }
void FUN_00711530(int param_1) { generated_stub("FUN_00711530 00711530"); }
uint32_t FUN_00711740() { generated_stub("FUN_00711740 00711740"); }
uint32_t FUN_00711fd0() { generated_stub("FUN_00711fd0 00711fd0"); }
void FUN_007135d0(uint32_t param_1, uint8_t param_2, int *param_3) { generated_stub("FUN_007135d0 007135d0"); }
void spawn_poop_rewards(uint32_t param_1, int param_2, int param_3, char param_4, uint32_t param_5, int param_6) { generated_stub("spawn_poop_rewards 00716db0"); }
void FUN_00718d20(float *param_1) { generated_stub("FUN_00718d20 00718d20"); }
void FUN_00718ed0(uint32_t param_1) { generated_stub("FUN_00718ed0 00718ed0"); }
uint32_t FUN_00718ee0() { generated_stub("FUN_00718ee0 00718ee0"); }
void grid_mark_neighbors_dirty(int gridIndex) { generated_stub("grid_mark_neighbors_dirty 0071dee0"); }
void FUN_0071df70(uint8_t param_1) { generated_stub("FUN_0071df70 0071df70"); }
int FUN_0071df80() { generated_stub("FUN_0071df80 0071df80"); }
void FUN_0071f4b0(uint32_t param_1) { generated_stub("FUN_0071f4b0 0071f4b0"); }
uint32_t FUN_00721b70(int param_1) { generated_stub("FUN_00721b70 00721b70"); }
void FUN_00721e60(int param_1, int param_2, int param_3, int param_4, int param_5, int param_6) { generated_stub("FUN_00721e60 00721e60"); }
void FUN_00721eb0() { generated_stub("FUN_00721eb0 00721eb0"); }
@@ -11368,7 +11346,6 @@ void FUN_007530c0() { generated_stub("FUN_007530c0 007530c0"); }
void std_deque_growmap(void *self, uint32_t count) { generated_stub("std_deque_growmap 007530f0"); }
void FUN_00753230(uint32_t param_1) { generated_stub("FUN_00753230 00753230"); }
void FUN_00753550() { generated_stub("FUN_00753550 00753550"); }
uint8_t FUN_00753560() { generated_stub("FUN_00753560 00753560"); }
void FUN_00753620() { generated_stub("FUN_00753620 00753620"); }
bool FUN_00753630() { generated_stub("FUN_00753630 00753630"); }
bool FUN_00753640() { generated_stub("FUN_00753640 00753640"); }
@@ -11423,7 +11400,6 @@ Entity_Player * FUN_007a1020() { generated_stub("FUN_007a1020 007a1020"); }
uint32_t FUN_007ab0e0() { generated_stub("FUN_007ab0e0 007ab0e0"); }
void FUN_007ad610() { generated_stub("FUN_007ad610 007ad610"); }
uint32_t FUN_007ad720(uint32_t param_1, uint8_t *param_2) { generated_stub("FUN_007ad720 007ad720"); }
void FUN_007ae430(short *param_1) { generated_stub("FUN_007ae430 007ae430"); }
void FUN_007b8c00(int param_1) { generated_stub("FUN_007b8c00 007b8c00"); }
void FUN_007b9a60() { generated_stub("FUN_007b9a60 007b9a60"); }
void FUN_007b9aa0() { generated_stub("FUN_007b9aa0 007b9aa0"); }
@@ -11551,22 +11527,15 @@ void FUN_007e9170(char param_1) { generated_stub("FUN_007e9170 007e9170"); }
void FUN_007e92e0(uint32_t param_1, uint32_t param_2) { generated_stub("FUN_007e92e0 007e92e0"); }
void FUN_007e93d0(int param_1) { generated_stub("FUN_007e93d0 007e93d0"); }
void FUN_007ea0c0() { generated_stub("FUN_007ea0c0 007ea0c0"); }
void FUN_007ea5d0() { generated_stub("FUN_007ea5d0 007ea5d0"); }
void FUN_007ebc40() { generated_stub("FUN_007ebc40 007ebc40"); }
uint32_t FUN_007ed240() { generated_stub("FUN_007ed240 007ed240"); }
float get_angel_room_chance() { generated_stub("get_angel_room_chance 007f96f0"); }
void FUN_007fa2a0(float *param_1) { generated_stub("FUN_007fa2a0 007fa2a0"); }
void FUN_007fa7d0() { generated_stub("FUN_007fa7d0 007fa7d0"); }
int RoomClear_PickVariant(RNG *rng, uint8_t isForcePickup) { generated_stub("RoomClear_PickVariant 007fa920"); }
void FUN_00812ea0(float *param_1, int *param_2, int *param_3) { generated_stub("FUN_00812ea0 00812ea0"); }
uint32_t FUN_00813420(int param_1, int param_2) { generated_stub("FUN_00813420 00813420"); }
void pickup_roll_random_variant(void *papersOwner, int shopItemId, int *variant, uint32_t *subType, uint32_t seed) { generated_stub("pickup_roll_random_variant 00814a50"); }
int _Room::ResolveHeartSubType(uint32_t param_1, int param_2, Entity_Player *param_3) { generated_stub("_Room::ResolveHeartSubType 00816250"); }
uint32_t FUN_0081e220() { generated_stub("FUN_0081e220 0081e220"); }
void FUN_0081fae0(uint32_t *param_1) { generated_stub("FUN_0081fae0 0081fae0"); }
uint32_t FUN_008207a0() { generated_stub("FUN_008207a0 008207a0"); }
void FUN_00821940() { generated_stub("FUN_00821940 00821940"); }
int FUN_00823ec0() { generated_stub("FUN_00823ec0 00823ec0"); }
uint32_t FUN_00827180(float *param_1) { generated_stub("FUN_00827180 00827180"); }
void FUN_00827f30() { generated_stub("FUN_00827f30 00827f30"); }
void FUN_00828010(uint32_t *param_1) { generated_stub("FUN_00828010 00828010"); }
@@ -11592,7 +11561,6 @@ void FUN_0082e290(int param_1, int param_2, int param_3) { generated_stub("FUN_0
void Catch_All_0082e7ec() { generated_stub("Catch_All_0082e7ec 0082e7ec"); }
void FUN_0082ea50(uint32_t param_1, uint32_t *param_2, code *param_3) { generated_stub("FUN_0082ea50 0082ea50"); }
void FUN_0082eb20(uint32_t *param_1, code *param_2) { generated_stub("FUN_0082eb20 0082eb20"); }
void FUN_00831780(int *param_1, uint8_t *param_2, uint8_t *param_3, uint8_t *param_4) { generated_stub("FUN_00831780 00831780"); }
void FUN_008332a0(char param_1) { generated_stub("FUN_008332a0 008332a0"); }
uint64_t * FUN_00834c60(uint64_t *param_1, uint64_t *param_2) { generated_stub("FUN_00834c60 00834c60"); }
void Catch_All_00834f6f() { generated_stub("Catch_All_00834f6f 00834f6f"); }
@@ -13972,7 +13940,6 @@ void FUN_00950eb0() { generated_stub("FUN_00950eb0 00950eb0"); }
void FUN_00951090() { generated_stub("FUN_00951090 00951090"); }
void FUN_009510f0() { generated_stub("FUN_009510f0 009510f0"); }
void FUN_00951130() { generated_stub("FUN_00951130 00951130"); }
uint8_t input_is_action_pressed(int action, int controllerIndex, Entity *entity, int unused) { generated_stub("input_is_action_pressed 00956110"); }
uint8_t is_any_player_restart_held() { generated_stub("is_any_player_restart_held 009563b0"); }
uint32_t FUN_00956750() { generated_stub("FUN_00956750 00956750"); }
uint8_t * FUN_009587e0(StringTable *param_1, uint8_t *param_2, uint8_t *param_3) { generated_stub("FUN_009587e0 009587e0"); }