//
// sub_1005F4980 from 0x1005f4980 to 0x1005f49b9 (57 bytes)
//
// 1 xrefs:
// > ??> @ 0x10097b9b8
//
// 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_1005F4980(__int64 a1)
{
cocos2d::CCObject *v2; // rdi
*(_QWORD *)a1 = off_10097B9B0;
v2 = *(cocos2d::CCObject **)(a1 + 80);
if ( v2 )
cocos2d::CCObject::release(v2);
*(_QWORD *)a1 = off_10097B8A8;
return cocos2d::CCObject::dCCObject((cocos2d::CCObject *)a1);
}