//
// cocos2d::CCScriptEngineManager::removeScriptEngine from 0x10031bf00 to 0x10031bf25 (37 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::removeScriptEngine(cocos2d::CCScriptEngineManager *a1)
{
__int64 v2; // rdi
v2 = *(_QWORD *)a1;
if ( v2 )
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 8LL))(v2);
*(_QWORD *)a1 = 0;
}
}