//
// GJBaseGameLayer::updateTimeMod from 0x85b220 to 0x85b298 (120 bytes)
//
// 7 xrefs:
// > EffectGameObject::triggerObject @ 0x770034
// > GJBaseGameLayer::setupLevelStart @ 0x88a704
// > GJBaseGameLayer::setupLevelStart @ 0x88a724
// > GJBaseGameLayer::setupLevelStart @ 0x88a744
// > GJBaseGameLayer::setupLevelStart @ 0x88a764
// > GJBaseGameLayer::update @ 0x89e34c
// > ??> @ 0x460f8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void GJBaseGameLayer::updateTimeMod(GJBaseGameLayer *a1, float a2, bool a3, bool a4)
{
PlayerObject *m_player1; // x0
if ( a3 )
{
m_player1 = a1->m_player1;
a1->m_gameState.m_timeModRelated2 = 0;
a1->m_gameState.m_timeModRelated = 0.0;
PlayerObject::updateTimeMod(m_player1, a2, a4);
if ( a1->m_gameState.m_isDualMode )
PlayerObject::updateTimeMod(a1->m_player2, a2, a4);
}
else
{
a1->m_gameState.m_timeModRelated2 = a4;
a1->m_gameState.m_timeModRelated = a2;
}
}