//
// cocos2d::CCScriptEngineManager::setScriptEngine from 0x1800ba550 to 0x1800ba580 (48 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c2ebc
//
// 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
//
void __fastcall cocos2d::CCScriptEngineManager::setScriptEngine(
cocos2d::CCScriptEngineManager *this,
struct cocos2d::CCScriptEngineProtocol *a2)
{
void (__fastcall ***v4)(_QWORD, __int64); // rcx
v4 = *(void (__fastcall ****)(_QWORD, __int64))this;
if ( v4 )
(**v4)(v4, 1);
*(_QWORD *)this = a2;
}