//
// sub_1006045A0 from 0x1006045a0 to 0x100604604 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x10097e930
//
// 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
//
void __fastcall sub_1006045A0(_QWORD *__p)
{
void *v2; // rdi
cocos2d::CCObject *v3; // rdi
*__p = off_10097E920;
__p[40] = off_10097ED30;
v2 = (void *)__p[46];
if ( v2 )
{
free(v2);
__p[46] = 0;
}
v3 = (cocos2d::CCObject *)__p[44];
if ( v3 )
cocos2d::CCObject::release(v3);
cocos2d::CCNodeRGBA::dCCNodeRGBA((__int64)__p);
operator delete(__p);
}