//
// GameLevelManager::getDailyID from 0x100559e60 to 0x100559e8c (44 bytes)
//
// 7 xrefs:
// > DailyLevelPage::createDailyNode @ 0x100231656
// > DailyLevelPage::dailyStatusFinished @ 0x100231811
// > DailyLevelPage::dailyStatusFinished @ 0x100231836
// > DailyLevelPage::createNodeIfLoaded @ 0x100231f5f
// > DailyLevelPage::createNodeIfLoaded @ 0x100231f7e
// > DailyLevelPage::claimLevelReward @ 0x100232478
// > DailyLevelPage::skipDailyLevel @ 0x10023257b
//
// 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
//
int __fastcall GameLevelManager::getDailyID(GameLevelManager *a1, GJTimedLevelType a2)
{
int result; // eax
if ( a2 == Event )
return a1->m_eventID;
if ( a2 == 1 )
return a1->m_weeklyID;
result = 0;
if ( a2 == Daily )
return a1->m_dailyID;
return result;
}