//
// GJBaseGameLayer::updateTimeMod from 0x46fc4c to 0x46fc8c (64 bytes)
//
// 3 xrefs:
// > EffectGameObject::triggerObject @ 0x3ee554
// > GJBaseGameLayer::setupLevelStart @ 0x491ae0
// > GJBaseGameLayer::update @ 0x497676
//
// 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)
{
if ( a3 )
{
a1->m_gameState.m_timeModRelated = 0.0;
a1->m_gameState.m_timeModRelated2 = 0;
PlayerObject::updateTimeMod(a1->m_player1, a2, a4);
if ( a1->m_gameState.m_isDualMode )
PlayerObject::updateTimeMod(a1->m_player2, a2, a4);
}
else
{
a1->m_gameState.m_timeModRelated = a2;
a1->m_gameState.m_timeModRelated2 = a4;
}
}