// // cocos2d::extension::CCInvocation::invoke from 0x5a51dc to 0x5a520c (48 bytes) // // 1 xrefs: // > cocos2d::extension::CCControl::sendActionsForControlEvents @ 0x5a0e34 // // 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::extension::CCInvocation::invoke(cocos2d::extension::CCInvocation *a1, cocos2d::CCObject *a2) { signed int v2; // r5 cocos2d::CCObject *m_target; // r0 void (__cdecl *ptr)(cocos2d::CCObject *, cocos2d::CCControlEvent); // r4 signed int adj; // r3 bool v7; // zf int v8; // r3 cocos2d::CCControlEvent m_controlEvent; // r2 char *v10; // r0 m_target = a1->m_target; if ( m_target ) { ptr = a1->m_action.ptr; adj = a1->m_action.adj; if ( ptr || (v2 = adj << 31, (adj & 1) != 0) ) { v7 = (a1->m_action.adj & 1) == 0; v8 = adj >> 1; m_controlEvent = a1->m_controlEvent; if ( !v7 ) v2 = *(signed int *)((char *)&m_target->__vftable + v8); v10 = (char *)m_target + v8; if ( !v7 ) ptr = *(void (__cdecl **)(cocos2d::CCObject *, cocos2d::CCControlEvent))((char *)ptr + v2); ((void (__fastcall *)(char *, cocos2d::CCObject *, cocos2d::CCControlEvent))ptr)(v10, a2, m_controlEvent); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source