//
// cocos2d::extension::CCInvocation::invoke from 0x100213ee0 to 0x100213f18 (56 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCControl::sendActionsForControlEvents @ 0x1001a5ab8
//
// 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::extension::CCInvocation::invoke(cocos2d::extension::CCInvocation *a1, cocos2d::CCObject *a2)
{
cocos2d::CCObject *m_target; // x8
void (__cdecl *ptr)(cocos2d::CCObject *, cocos2d::CCControlEvent); // x3
signed __int64 adj; // x10
_QWORD *v5; // x8
m_target = a1->m_target;
if ( m_target )
{
ptr = a1->m_action.ptr;
adj = a1->m_action.adj;
if ( adj & 1 | (unsigned __int64)ptr )
{
v5 = (cocos2d::CCObject_vtbl **)((char *)&m_target->__vftable + (adj >> 1));
if ( (adj & 1) != 0 )
ptr = *(void (__cdecl **)(cocos2d::CCObject *, cocos2d::CCControlEvent))(*v5 + (unsigned int)ptr);
((void (__fastcall *)(_QWORD *, cocos2d::CCObject *, _QWORD))ptr)(v5, a2, a1->m_controlEvent);
}
}
}