//
// cocos2d::CCEGLView::getMousePosition from 0xd7b7ec to 0xd7b854 (104 bytes)
//
// 2 xrefs:
// > ??> @ 0xc3448
// > ??> @ 0x152dc28
//
// 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:07 +0000
//
float *__usercall cocos2d::CCEGLView::getMousePosition@(cocos2d::CCEGLView *this@, float *a2@)
{
float v2; // s2
float v3; // s3
v2 = *((float *)this + 25);
if ( v2 == 0.0 )
v2 = 1.0;
v3 = *((float *)this + 26);
if ( v3 == 0.0 )
v3 = 1.0;
cocos2d::CCPoint::CCPoint(
a2,
(float)(*((float *)this + 29) - *((float *)this + 8)) / v2,
(float)(*((float *)this + 30) - *((float *)this + 9)) / v3);
return a2;
}