//
// SecretGame01Layer::resetGameTimer from 0x100480370 to 0x1004803de (110 bytes)
//
// 0 xrefs:
//
// 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 __fastcall SecretGame01Layer::resetGameTimer(SecretGame01Layer *a1)
{
unsigned __int64 m_gameDifficulty; // rax
float v2; // xmm0_4
a1->m_gameActive = 1;
a1->m_timeElapsed = 0.0;
m_gameDifficulty = (unsigned int)a1->m_gameDifficulty;
if ( m_gameDifficulty > 0xC )
v2 = 10.0;
else
v2 = flt_10081CA30[m_gameDifficulty];
a1->m_gameTime = v2;
((void (__fastcall *)(SecretGame01Layer *, double))a1->update)(a1, 0.0);
((void (__fastcall *)(cocos2d::CCSprite *, __int64))a1->m_timeBarSprite->setVisible)(a1->m_timeBarSprite, 1);
}