//
// cocos2d::CCEGLViewProtocol::getVisibleOrigin from 0xd7a9b0 to 0xd7aa3c (140 bytes)
//
// 3 xrefs:
// > ??> @ 0x47320
// > ??> @ 0x152dac8
// > ??> @ 0x152dbb8
//
// 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:06 +0000
//
float *__usercall cocos2d::CCEGLViewProtocol::getVisibleOrigin@(
cocos2d::CCEGLViewProtocol *this@,
float *a2@)
{
if ( *((_DWORD *)this + 27) == 1 )
cocos2d::CCPoint::CCPoint(
a2,
(float)(*((float *)this + 6) - (float)(*((float *)this + 4) / *((float *)this + 25))) * 0.5,
(float)(*((float *)this + 7) - (float)(*((float *)this + 5) / *((float *)this + 26))) * 0.5);
else
cocos2d::CCPoint::CCPoint(a2, (const cocos2d::CCPoint *)&unk_1560650);
return a2;
}