//
// GameLevelManager::getActiveDailyID from 0x1005584d0 to 0x1005584fc (44 bytes)
//
// 5 xrefs:
// > DailyLevelPage::init @ 0x10021529c
// > DailyLevelPage::dailyStatusFinished @ 0x100215e8c
// > DailyLevelPage::levelDownloadFinished @ 0x1002164cb
// > DailyLevelPage::skipDailyLevel @ 0x100216b99
// > DailyLevelPage::skipDailyLevel @ 0x100216bb5
//
// 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:06 +0000
//
__int64 __fastcall GameLevelManager::getActiveDailyID(unsigned int *a1, int a2)
{
__int64 result; // rax
if ( a2 == 2 )
return a1[222];
if ( a2 == 1 )
return a1[219];
result = 0;
if ( !a2 )
return a1[216];
return result;
}