//
// sub_1000CD798 from 0x1000cd798 to 0x1000cd7cc (52 bytes)
//
// 2 xrefs:
// > DailyLevelPage::init @ 0x10024f4e4
// > sub_100250530 @ 0x100250578
//
// This function is hookable on this platform (idp: arm, 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 10:58:52 +0000
//
__int64 __fastcall sub_1000CD798(unsigned int *a1, int a2)
{
if ( a2 == 2 )
return a1[220];
if ( a2 == 1 )
return a1[217];
if ( a2 )
return 0;
return a1[214];
}