//
// cocos2d::CCScriptEngineManager::removeScriptEngine from 0x1800b6480 to 0x1800b64a8 (40 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b8b20
//
// 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
//
// Alternative name is '??1CCScriptEngineManager@cocos2d@@QEAA@XZ'
void __fastcall cocos2d::CCScriptEngineManager::removeScriptEngine(cocos2d::CCScriptEngineManager *this)
{
void (__fastcall ***v2)(_QWORD, __int64); // rcx
v2 = *(void (__fastcall ****)(_QWORD, __int64))this;
if ( v2 )
{
(**v2)(v2, 1);
*(_QWORD *)this = 0;
}
}