//
// cocos2d::CCCallFunc::execute from 0x1001adeb0 to 0x1001adf20 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007aee40
//
// 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 __fastcall cocos2d::CCCallFunc::execute(cocos2d::CCCallFunc *a1)
{
unsigned __int64 v2; // x8
__int64 v3; // x10
_QWORD *v4; // x0
cocos2d::CCScriptEngineManager *v5; // x0
v2 = *(_QWORD *)&a1[1].cocos2d::CCActionInstant::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag;
v3 = *(_QWORD *)&a1[1].m_uAutoReleaseCount;
if ( v3 & 1 | v2 )
{
v4 = (cocos2d::CCObject *(__cdecl **)(cocos2d::CCCallFunc *__hidden, cocos2d::CCZone *))((char *)&a1[1].copyWithZone
+ (v3 >> 1));
if ( (v3 & 1) != 0 )
v2 = *(_QWORD *)(*v4 + (unsigned int)v2);
((void (__fastcall *)(_QWORD *))v2)(v4);
}
if ( a1[1].m_uID )
{
v5 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, cocos2d::CCCallFunc *, _QWORD))(**(_QWORD **)v5 + 96LL))(*(_QWORD *)v5, a1, 0);
}
}