// // cocos2d::extension::CCInvocation::invoke from 0xaa0890 to 0xaa08e0 (80 bytes) // // 2 xrefs: // > cocos2d::extension::CCControl::sendActionsForControlEvents @ 0xa99fb8 // > @ 0x70a28 // // 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) { cocos2d::CCObject *m_target; // x4 void (__cdecl *ptr)(cocos2d::CCObject *, cocos2d::CCControlEvent); // x3 signed __int64 adj; // x2 m_target = a1->m_target; if ( m_target ) { ptr = a1->m_action.ptr; adj = a1->m_action.adj; if ( ptr ) { if ( (adj & 1) == 0 ) { ((void (__fastcall *)(char *, cocos2d::CCObject *, _QWORD))ptr)( (char *)m_target + (adj >> 1), a2, a1->m_controlEvent); return; } LABEL_7: (*(void (__fastcall **)(__int64, cocos2d::CCObject *, _QWORD))((char *)&(*(cocos2d::CCObject_vtbl **)((char *)&m_target->__vftable + (adj >> 1)))->copyWithZone + (unsigned __int64)ptr))( (__int64)m_target + (adj >> 1), a2, a1->m_controlEvent); return; } if ( (adj & 1) != 0 ) goto LABEL_7; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source