//
// cocos2d::CCEGLViewProtocol::handleRightClick from 0x7ea554 to 0x7ea5ca (118 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:58 +0000
//
int __fastcall cocos2d::CCEGLViewProtocol::handleRightClick(cocos2d::CCEGLViewProtocol *this, float a2, float a3)
{
float *v3; // r0
const cocos2d::CCPoint *v4; // r0
cocos2d::CCDirector *v5; // r0
int v6; // r0
cocos2d::CCMouseDispatcher *v7; // r0
float v9[2]; // [sp+4h] [bp-18h] BYREF
float v10[2]; // [sp+Ch] [bp-10h] BYREF
v3 = cocos2d::CCPoint::CCPoint(
v9,
(float)(a2 - *((float *)this + 6)) / *((float *)this + 23),
(float)(a3 - *((float *)this + 7)) / *((float *)this + 24));
v4 = (const cocos2d::CCPoint *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)v3);
v5 = cocos2d::CCDirector::convertToGL((cocos2d::CCDirector *)v10, v4, v9);
v6 = cocos2d::CCDirector::sharedDirector(v5);
v7 = (cocos2d::CCMouseDispatcher *)(*(int (__fastcall **)(int))(*(_DWORD *)v6 + 104))(v6);
return cocos2d::CCMouseDispatcher::dispatchRightClick(v7, v10[0], v10[1]);
}