//
// cocos2d::CCCallFunc::execute from 0x100242c90 to 0x100242d00 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x100906248
//
// 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 11:01:25 +0000
//
_QWORD *__fastcall cocos2d::CCCallFunc::execute(_QWORD *result)
{
_QWORD *v1; // x19
unsigned __int64 v2; // x8
__int64 v3; // x10
_QWORD *v4; // x0
_QWORD *v5; // x0
v1 = result;
v2 = result[13];
v3 = result[14];
if ( v3 & 1 | v2 )
{
v4 = (_QWORD *)(result[11] + (v3 >> 1));
if ( (v3 & 1) != 0 )
v2 = *(_QWORD *)(*v4 + (unsigned int)v2);
result = (_QWORD *)((__int64 (__fastcall *)(_QWORD *))v2)(v4);
}
if ( *((_DWORD *)v1 + 24) )
{
v5 = (_QWORD *)cocos2d::CCScriptEngineManager::sharedManager(result);
return (_QWORD *)(*(__int64 (__fastcall **)(_QWORD, _QWORD *, _QWORD))(*(_QWORD *)*v5 + 96LL))(*v5, v1, 0);
}
return result;
}