//
// cocos2d::CCEGLViewProtocol::handleRightClick from 0x18006db30 to 0x18006db96 (102 bytes)
//
// 3 xrefs:
// > cocos2d::CCEGLView::pumpRawInput @ 0x18007b405
// > ??> @ 0x18014cf68
// > ??> @ 0x1801be170
//
// This function is hookable on this platform (idp: pc, 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 11:21:55 +0000
//
void __fastcall cocos2d::CCEGLViewProtocol::handleRightClick(cocos2d::CCEGLViewProtocol *this, float a2, float a3)
{
struct cocos2d::CCDirector *v3; // rax
struct cocos2d::CCDirector *v4; // rax
cocos2d::CCMouseDispatcher *v5; // rax
float v6; // [rsp+30h] [rbp+8h] BYREF
float v7; // [rsp+34h] [rbp+Ch]
float v8; // [rsp+48h] [rbp+20h] BYREF
kmVec2Fill(
&v8,
(float)(a2 - *((float *)this + 8)) / *((float *)this + 25),
(float)(a3 - *((float *)this + 9)) / *((float *)this + 26));
v3 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::convertToGL(v3, &v6, &v8);
v4 = cocos2d::CCDirector::sharedDirector();
v5 = (cocos2d::CCMouseDispatcher *)(*(__int64 (__fastcall **)(struct cocos2d::CCDirector *))(*(_QWORD *)v4 + 192LL))(v4);
cocos2d::CCMouseDispatcher::dispatchRightClick(v5, v6, v7);
}