//
// cocos2d::CCEGLViewProtocol::getVisibleSize from 0xd7a944 to 0xd7a9b0 (108 bytes)
//
// 3 xrefs:
// > ??> @ 0x5f848
// > ??> @ 0x152dac0
// > ??> @ 0x152dbb0
//
// 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::getVisibleSize@(
cocos2d::CCEGLViewProtocol *this@,
float *a2@)
{
if ( *((_DWORD *)this + 27) == 1 )
cocos2d::CCSize::CCSize(
a2,
*((float *)this + 4) / *((float *)this + 25),
*((float *)this + 5) / *((float *)this + 26));
else
cocos2d::CCSize::CCSize(a2, (cocos2d::CCEGLViewProtocol *)((char *)this + 24));
return a2;
}