//
// GameLevelManager::getDailyID from 0x100580fd0 to 0x100580ffc (44 bytes)
//
// 8 xrefs:
// > DailyLevelPage::createDailyNode @ 0x100215c96
// > DailyLevelPage::dailyStatusFinished @ 0x100215e51
// > DailyLevelPage::dailyStatusFinished @ 0x100215e76
// > DailyLevelPage::levelDownloadFinished @ 0x1002164a4
// > DailyLevelPage::createNodeIfLoaded @ 0x1002165af
// > DailyLevelPage::createNodeIfLoaded @ 0x1002165ce
// > DailyLevelPage::claimLevelReward @ 0x100216ac8
// > DailyLevelPage::skipDailyLevel @ 0x100216bcb
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:32:20 +0000
//
__int64 __fastcall GameLevelManager::getDailyID(unsigned int *a1, int a2)
{
__int64 result; // rax
if ( a2 == 2 )
return a1[221];
if ( a2 == 1 )
return a1[218];
result = 0;
if ( !a2 )
return a1[215];
return result;
}