//
// sub_100598CF0 from 0x100598cf0 to 0x100598d27 (55 bytes)
//
// 1 xrefs:
// > ??> @ 0x100970880
//
// 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::CCScriptEngineManager *__fastcall sub_100598CF0(__int64 a1)
{
*(_QWORD *)a1 = off_100970878;
if ( (*(_BYTE *)(a1 + 80) & 1) != 0 )
operator delete(*(void **)(a1 + 96));
return cocos2d::CCObject::dCCObject((cocos2d::CCObject *)a1);
}