//
// sub_100890490 from 0x100890490 to 0x1008904de (78 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ba7428
//
// 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 12:37:04 +0000
//
void __fastcall sub_100890490(unsigned int *__p)
{
_QWORD *v2; // rax
_DWORD *v3; // rdi
*(_QWORD *)__p = off_100BA7418;
if ( __p[24] )
{
v2 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v2 + 32LL))(*v2, __p[24]);
}
v3 = *((_DWORD **)__p + 11);
if ( v3 )
cocos2d::CCObject::release(v3);
sub_1006C6F90((__int64)__p);
operator delete(__p);
}