//
// SecretGame01Layer::resetGameTimer from 0x59e414 to 0x59e454 (64 bytes)
//
// 1 xrefs:
// > SecretGame01Layer::gameStep02 @ 0x59e474
//
// 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 SecretGame01Layer::resetGameTimer(SecretGame01Layer *a1)
{
int TimeForDifficulty; // r0
void (__fastcall *update)(SecretGame01Layer *__hidden, float); // r3
a1->m_gameActive = 1;
a1->m_timeElapsed = 0.0;
TimeForDifficulty = SecretGame01Layer::getTimeForDifficulty(a1, a1->m_gameDifficulty);
update = a1->update;
a1->m_gameTime = (float)TimeForDifficulty;
((void (__fastcall *)(SecretGame01Layer *, _DWORD))update)(a1, 0);
a1->m_timeBarSprite->setVisible(a1->m_timeBarSprite, 1);
}