//
// cocos2d::CCScriptEngineManager::removeScriptEngine from 0x1800ba030 to 0x1800ba058 (40 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c2e38
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:22:23 +0000
//
// 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;
}
}