//
// sub_1002EC424 from 0x1002ec424 to 0x1002ec4c0 (156 bytes)
//
// 4 xrefs:
// > LevelLeaderboard::dLevelLeaderboard @ 0x1002ec4c4
// > sub_1002EC4C8 @ 0x1002ec4cc
// > sub_1002EC4D0 @ 0x1002ec4d8
// > sub_1002EC4E4 @ 0x1002ec4f0
//
// 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 11:02:53 +0000
//
__int64 __fastcall sub_1002EC424(_QWORD *a1)
{
_DWORD *v2; // x0
*a1 = off_100927490;
a1[40] = off_100927A08;
a1[41] = &off_100927A78;
a1[42] = off_100927A90;
a1[43] = off_100927AB0;
a1[44] = off_100927AD8;
a1[51] = off_100927B08;
a1[54] = off_100927B88;
a1[68] = off_100927BA8;
a1[83] = off_100927BF0;
a1[84] = &off_100927C20;
if ( *(_QWORD **)(GameLevelManager::sharedState() + 1296) == a1 + 83 )
*(_QWORD *)(GameLevelManager::sharedState() + 1296) = 0;
v2 = (_DWORD *)a1[85];
if ( v2 )
cocos2d::CCObject::release(v2);
return sub_10034A834(a1);
}