//
// GameLevelManager::hasDailyStateBeenLoaded from 0x100559e20 to 0x100559e5a (58 bytes)
//
// 2 xrefs:
// > DailyLevelPage::init @ 0x100230c83
// > DailyLevelPage::updateTimers @ 0x10023137e
//
// 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 __fastcall GameLevelManager::hasDailyStateBeenLoaded(GameLevelManager *a1, GJTimedLevelType a2)
{
if ( a2 == Event )
return a1->m_eventTimeLeft > 0;
if ( a2 == 1 )
return a1->m_weeklyTimeLeft > 0;
if ( a2 )
return 0;
return a1->m_dailyTimeLeft > 0;
}