//
// cocos2d::CCScriptEngineManager::removeScriptEngine from 0x5e3cb4 to 0x5e3cc8 (20 bytes)
//
// 2 xrefs:
// > cocos2d::CCScriptEngineManager::~CCScriptEngineManager @ 0x5e3ccc
// > cocos2d::CCScriptEngineManager::setScriptEngine @ 0x5e3cda
//
// 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 cocos2d::CCScriptEngineManager::removeScriptEngine(cocos2d::CCScriptEngineManager *a1)
{
int v2; // r0
v2 = *(_DWORD *)a1;
if ( v2 )
{
(*(void (__fastcall **)(int))(*(_DWORD *)v2 + 4))(v2);
*(_DWORD *)a1 = 0;
}
}