//
// sub_10058C400 from 0x10058c400 to 0x10058c464 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b6de10
//
// This function is hookable on this platform (idp: pc, 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 12:32:24 +0000
//
void __fastcall sub_10058C400(__int64 __p)
{
_DWORD *v2; // rdi
*(_QWORD *)__p = off_100B6DE00;
v2 = *(_DWORD **)(__p + 320);
if ( v2 )
cocos2d::CCObject::release(v2);
if ( (*(_BYTE *)(__p + 368) & 1) != 0 )
operator delete(*(void **)(__p + 384));
if ( (*(_BYTE *)(__p + 344) & 1) != 0 )
operator delete(*(void **)(__p + 360));
cocos2d::CCNode::dCCNode(__p);
operator delete((void *)__p);
}