//
// cocos2d::CCCallFunc::execute from 0xabd588 to 0xabd604 (124 bytes)
//
// 2 xrefs:
// > ??> @ 0x42618
// > ??> @ 0x11fda50
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void cocos2d::CCCallFunc::execute(cocos2d::CCCallFunc *a1)
{
void (__fastcall *v2)(char *); // x2
__int64 v3; // x0
cocos2d::CCScriptEngineManager *v4; // x0
v2 = *(void (__fastcall **)(char *))&a1[1].cocos2d::CCActionInstant::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag;
v3 = *(_QWORD *)&a1[1].m_uAutoReleaseCount;
if ( v2 )
{
if ( (v3 & 1) == 0 )
{
v2((char *)a1[1].__vftable + (v3 >> 1));
goto LABEL_4;
}
}
else if ( (v3 & 1) == 0 )
{
goto LABEL_4;
}
(*(void (__fastcall **)(char *))(*(char **)((char *)&a1[1].copyWithZone + (v3 >> 1)) + (unsigned __int64)v2))((char *)a1[1].__vftable + (v3 >> 1));
LABEL_4:
if ( a1[1].m_uID )
{
v4 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, cocos2d::CCCallFunc *, _QWORD))(**(_QWORD **)v4 + 96LL))(*(_QWORD *)v4, a1, 0);
}
}