//
// sub_100598CB0 from 0x100598cb0 to 0x100598ce7 (55 bytes)
//
// 0 xrefs:
//
// 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_100598CB0(__int64 a1)
{
*(_QWORD *)a1 = off_100970878;
if ( (*(_BYTE *)(a1 + 80) & 1) != 0 )
operator delete(*(void **)(a1 + 96));
return cocos2d::CCObject::dCCObject((cocos2d::CCObject *)a1);
}