//
// GameLevelManager::resetDailyLevelState from 0x3c4534 to 0x3c4564 (48 bytes)
//
// 2 xrefs:
// > DailyLevelPage::init @ 0x4d5400
// > DailyLevelPage::updateTimers @ 0x4d597c
//
// 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 GameLevelManager::resetDailyLevelState(GameLevelManager *a1, GJTimedLevelType a2)
{
if ( a2 == 1 )
{
a1->m_weeklyTimeLeft = 0;
a1->m_weeklyID = 0;
}
else if ( a2 )
{
if ( a2 == Event )
{
a1->m_eventTimeLeft = 0;
a1->m_eventID = 0;
}
}
else
{
a1->m_dailyTimeLeft = 0;
a1->m_dailyID = 0;
}
}