//
// sub_1003BEC2C from 0x1003bec2c to 0x1003bec8c (96 bytes)
//
// 1 xrefs:
// > sub_1003BE1A8 @ 0x1003be590
//
// 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:04:01 +0000
//
void *__fastcall sub_1003BEC2C(__int64 a1)
{
void *v2; // x19
v2 = operator new(0x2A0u);
sub_1003C04E0();
if ( (unsigned int)sub_1003C0248(v2, a1) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}