// // cocos2d::CCMouseDispatcher::dispatchRightClick from 0xdb44f0 to 0xdb45b0 (192 bytes) // // 2 xrefs: // > cocos2d::CCEGLViewProtocol::handleRightClick @ 0xd7afe0 // > @ 0xc2488 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:08:41 +0000 // __int64 __fastcall cocos2d::CCMouseDispatcher::dispatchRightClick(cocos2d::CCArray **this, float a2, float a3) { cocos2d::CCDirector *v6; // x0 cocos2d::CCArray *v7; // x0 unsigned int v8; // w19 int i; // w22 cocos2d::CCArray *v10; // x20 int v11; // w0 int v12; // w1 cocos2d::CCMouseHandler *v13; // x0 __int64 Delegate; // x0 v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)this); cocos2d::CCDirector::noteInput(v6); v7 = *(this + 7); *((_BYTE *)this + 64) = 1; if ( (unsigned int)cocos2d::CCArray::count(v7) ) { v8 = 0; for ( i = 0; v8 < (unsigned int)cocos2d::CCArray::count(*(this + 7)); i = (*(unsigned __int8 (__fastcall **)(__int64, float, float))(*(_QWORD *)Delegate + 24LL))(Delegate, a2, a3) ) { v10 = *(this + 7); v11 = cocos2d::CCArray::count(v10); v12 = ~v8++; v13 = (cocos2d::CCMouseHandler *)cocos2d::CCArray::objectAtIndex(v10, v11 + v12); if ( i || !v13 ) break; Delegate = cocos2d::CCMouseHandler::getDelegate(v13); } } *((_BYTE *)this + 64) = 0; cocos2d::CCMouseDispatcher::flushPendingDelegates((cocos2d::CCMouseDispatcher *)this); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source