//
// sub_100358080 from 0x100358080 to 0x1003580dc (92 bytes)
//
// 1 xrefs:
// > ??> @ 0x100917218
//
// 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_100358080(__int64 a1)
{
cocos2d::CCObject *v2; // rdi
*(_QWORD *)a1 = off_100917210;
v2 = *(cocos2d::CCObject **)(a1 + 128);
if ( v2 )
cocos2d::CCObject::release(v2);
if ( (*(_BYTE *)(a1 + 160) & 1) != 0 )
operator delete(*(void **)(a1 + 176));
if ( (*(_BYTE *)(a1 + 136) & 1) != 0 )
operator delete(*(void **)(a1 + 152));
return cocos2d::CCObject::dCCObject(a1);
}