//
// GameLevelManager::hasDailyStateBeenLoaded from 0x3c4564 to 0x3c458c (40 bytes)
//
// 2 xrefs:
// > DailyLevelPage::init @ 0x4d5412
// > DailyLevelPage::updateTimers @ 0x4d5906
//
// 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
//
bool GameLevelManager::hasDailyStateBeenLoaded(GameLevelManager *a1, GJTimedLevelType a2)
{
int m_weeklyTimeLeft; // r0
switch ( a2 )
{
case 1:
m_weeklyTimeLeft = a1->m_weeklyTimeLeft;
return m_weeklyTimeLeft > 0;
case 0:
m_weeklyTimeLeft = a1->m_dailyTimeLeft;
return m_weeklyTimeLeft > 0;
case 2:
m_weeklyTimeLeft = a1->m_eventTimeLeft;
return m_weeklyTimeLeft > 0;
}
return 0;
}