//
// sub_1003A01A4 from 0x1003a01a4 to 0x1003a0214 (112 bytes)
//
// 2 xrefs:
// > sub_1003A0218 @ 0x1003a0218
// > sub_1003A021C @ 0x1003a0224
//
// 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_1003A01A4(__int64 a1)
{
cocos2d::CCObject *v2; // x0
*(_QWORD *)a1 = off_10080BE08;
qword_10086E4E0 = 0;
v2 = *(cocos2d::CCObject **)(a1 + 320);
if ( v2 )
cocos2d::CCObject::release(v2);
if ( *(char *)(a1 + 471) < 0 )
operator delete(*(void **)(a1 + 448));
if ( *(char *)(a1 + 391) < 0 )
operator delete(*(void **)(a1 + 368));
if ( *(char *)(a1 + 351) < 0 )
operator delete(*(void **)(a1 + 328));
return cocos2d::CCNode::dCCNode((cocos2d::CCNode *)a1);
}