//
// cocos2d::CCScriptEngineManager::removeScriptEngine from 0xd81ed8 to 0xd81f10 (56 bytes)
//
// 3 xrefs:
// > cocos2d::CCScriptEngineManager::~CCScriptEngineManager @ 0xd81f10
// > cocos2d::CCScriptEngineManager::setScriptEngine @ 0xd81f28
// > ??> @ 0xa0738
//
// This function is hookable on this platform (idp: arm, 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 13:08:10 +0000
//
_QWORD *__fastcall cocos2d::CCScriptEngineManager::removeScriptEngine(_QWORD *this)
{
_QWORD *v1; // x19
if ( *this )
{
v1 = this;
this = (_QWORD *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)*this + 8LL))(*this);
*v1 = 0;
}
return this;
}