//
// cocos2d::CCCallFuncND::execute from 0xd2eca8 to 0xd2ed00 (88 bytes)
//
// 2 xrefs:
// > ??> @ 0x9ad80
// > ??> @ 0x15134c0
//
// 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 13:07:19 +0000
//
_QWORD *__fastcall cocos2d::CCCallFuncND::execute(_QWORD *this)
{
char *v1; // x3
__int64 v2; // x1
v1 = (char *)*(this + 13);
v2 = *(this + 14);
if ( v1 )
{
if ( (v2 & 1) == 0 )
return (_QWORD *)((__int64 (__fastcall *)(__int64, _QWORD, _QWORD))v1)(
*(this + 11) + (v2 >> 1),
*(this + 8),
*(this + 16));
return (_QWORD *)(*(__int64 (__fastcall **)(__int64, _QWORD, _QWORD))&v1[*(_QWORD *)(*(this + 11) + (v2 >> 1))])(
*(this + 11) + (v2 >> 1),
*(this + 8),
*(this + 16));
}
if ( (v2 & 1) != 0 )
return (_QWORD *)(*(__int64 (__fastcall **)(__int64, _QWORD, _QWORD))&v1[*(_QWORD *)(*(this + 11) + (v2 >> 1))])(
*(this + 11) + (v2 >> 1),
*(this + 8),
*(this + 16));
return this;
}