//
// cocos2d::CCScriptEngineManager::purgeSharedManager from 0x10031bf90 to 0x10031bfca (58 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
//
void __fastcall cocos2d::CCScriptEngineManager::purgeSharedManager()
{
void *v0; // rbx
v0 = _p;
if ( _p )
{
if ( *(_QWORD *)_p )
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)_p + 8LL))(*(_QWORD *)_p);
operator delete(v0);
_p = nullptr;
}
}