//
// cocos2d::CCEGLViewProtocol::getVisibleOrigin from 0x7ea0bc to 0x7ea114 (88 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
//
cocos2d::CCEGLViewProtocol *__fastcall cocos2d::CCEGLViewProtocol::getVisibleOrigin(
cocos2d::CCEGLViewProtocol *this,
int a2)
{
if ( *(_DWORD *)(a2 + 100) == 1 )
cocos2d::CCPoint::CCPoint(
(float *)this,
(float)(*(float *)(a2 + 16) - (float)(*(float *)(a2 + 8) / *(float *)(a2 + 92))) * 0.5,
(float)(*(float *)(a2 + 20) - (float)(*(float *)(a2 + 12) / *(float *)(a2 + 96))) * 0.5);
else
cocos2d::CCPoint::CCPoint(this, (const cocos2d::CCPoint *)&unk_D2F674);
return this;
}