//
// cocos2d::CCCallFuncO::dCCCallFuncO from 0x100890cb0 to 0x100890d1c (108 bytes)
//
// 2 xrefs:
// > sub_100890D30 @ 0x100890d35
// > sub_100890D40 @ 0x100890d49
//
// 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 cocos2d::CCCallFuncO::dCCCallFuncO(__int64 a1)
{
_DWORD *v2; // rdi
_QWORD *v3; // rax
_DWORD *v4; // rdi
*(_QWORD *)a1 = off_100BA74B0;
*(_QWORD *)(a1 + 120) = &off_100BA7558;
v2 = *(_DWORD **)(a1 + 128);
if ( v2 )
cocos2d::CCObject::release(v2);
*(_QWORD *)a1 = off_100BA7418;
if ( *(_DWORD *)(a1 + 96) )
{
v3 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v3 + 32LL))(*v3, *(unsigned int *)(a1 + 96));
}
v4 = *(_DWORD **)(a1 + 88);
if ( v4 )
cocos2d::CCObject::release(v4);
return sub_1006C6F90(a1);
}