//
// sub_100890440 from 0x100890440 to 0x100890486 (70 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ba7420
//
// 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
//
__int64 *__fastcall sub_100890440(__int64 a1)
{
_QWORD *v2; // rax
_DWORD *v3; // rdi
*(_QWORD *)a1 = off_100BA7418;
if ( *(_DWORD *)(a1 + 96) )
{
v2 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v2 + 32LL))(*v2, *(unsigned int *)(a1 + 96));
}
v3 = *(_DWORD **)(a1 + 88);
if ( v3 )
cocos2d::CCObject::release(v3);
return sub_1006C6F90(a1);
}