//
// cocos2d::CCCallFunc::execute from 0x7bb9f2 to 0x7bba30 (62 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:16 +0000
//
int __fastcall cocos2d::CCCallFunc::execute(cocos2d::CCCallFunc *this, int a2)
{
int (__fastcall *v3)(int); // r3
int result; // r0
int v5; // r2
bool v6; // zf
int v7; // r0
int v8; // r0
_DWORD *v9; // r0
v3 = *((int (__fastcall **)(int))this + 20);
result = *((_DWORD *)this + 21);
if ( v3 || (result & 1) != 0 )
{
v5 = *((_DWORD *)this + 18);
v6 = (result & 1) == 0;
v7 = result >> 1;
if ( !v6 )
a2 = *(_DWORD *)(v5 + v7);
v8 = v7 + v5;
if ( !v6 )
v3 = *(int (__fastcall **)(int))((char *)v3 + a2);
result = v3(v8);
}
if ( *((_DWORD *)this + 19) )
{
v9 = (_DWORD *)cocos2d::CCScriptEngineManager::sharedManager((cocos2d::CCScriptEngineManager *)result);
return (*(int (__fastcall **)(_DWORD, cocos2d::CCCallFunc *, _DWORD))(*(_DWORD *)*v9 + 48))(*v9, this, 0);
}
return result;
}