//
// sub_10024A258 from 0x10024a258 to 0x10024a2d0 (120 bytes)
//
// 6 xrefs:
// > FMODAudioEngine::setup @ 0x1001381f4
// > sub_10016EA2C @ 0x10016ed18
// > sub_10016F164 @ 0x100171a6c
// > DemonInfoPopup::init @ 0x10019d2c4
// > cocos2d::CCMenu::createWithItems @ 0x1001d7f14
// > GameManager::verifyCoinUnlocks @ 0x100314f2c
//
// 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
//
cocos2d::CCObject *__fastcall sub_10024A258(
__int64 a1,
__int64 a2,
__int64 a3,
__int64 a4,
__int64 a5,
__int64 a6,
__int64 a7,
__int64 a8,
char a9)
{
cocos2d::CCObject *v10; // x0
cocos2d::CCObject *v11; // x19
cocos2d::CCObject_vtbl *i; // x0
char *v13; // x8
char *v15; // [xsp+8h] [xbp-18h]
v15 = &a9;
v10 = sub_10024A15C();
v11 = v10;
if ( a1 )
{
for ( i = v10[1].__vftable; ; i = v11[1].__vftable )
{
sub_100353730(i);
v13 = v15;
v15 += 8;
if ( !*(_QWORD *)v13 )
break;
}
}
else
{
((void (__fastcall *)(cocos2d::CCObject *))v10->~CCObject_0)(v10);
return nullptr;
}
return v11;
}