//
// SecretGame01Layer::resetGameTimer from 0xa948a0 to 0xa9490c (108 bytes)
//
// 2 xrefs:
// > SecretGame01Layer::gameStep02 @ 0xa94a0c
// > ??> @ 0xbd108
//
// 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)
{
long double v1; // q0
int m_gameDifficulty; // w1
int TimeForDifficulty; // w0
void (__fastcall *update)(SecretGame01Layer *__hidden, float); // x1
long double v6; // [xsp+20h] [xbp+20h]
LODWORD(v1) = 0;
m_gameDifficulty = a1->m_gameDifficulty;
a1->m_gameActive = 1;
v6 = v1;
a1->m_timeElapsed = 0.0;
TimeForDifficulty = SecretGame01Layer::getTimeForDifficulty(a1, m_gameDifficulty);
update = a1->update;
a1->m_gameTime = (float)TimeForDifficulty;
update(a1, v6);
a1->m_timeBarSprite->setVisible(a1->m_timeBarSprite, 1);
}