//
// sub_1004E51C0 from 0x1004e51c0 to 0x1004e520e (78 bytes)
//
// 1 xrefs:
// > ??> @ 0x100955e78
//
// 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
//
__int64 __fastcall sub_1004E51C0(_QWORD *a1)
{
cocos2d::CCObject *v2; // rdi
cocos2d::CCObject *v3; // rdi
*a1 = off_100955E70;
qword_1009A21B8 = 0;
v2 = (cocos2d::CCObject *)a1[40];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = (cocos2d::CCObject *)a1[41];
if ( v3 )
cocos2d::CCObject::release(v3);
return cocos2d::CCNode::dCCNode((__int64)a1);
}