//
// cocos2d::CCEGLViewProtocol::getVisibleSize from 0x1002e6c0c to 0x1002e6c3c (48 bytes)
//
// 2 xrefs:
// > ??> @ 0x100791868
// > ??> @ 0x1007e5640
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
cocos2d::CCSize __fastcall cocos2d::CCEGLViewProtocol::getVisibleSize(cocos2d::CCEGLViewProtocol *a1)
{
float *v1; // x8
double v2; // d0
cocos2d::CCSize result; // 0:s0.4,4:s1.4
if ( a1->m_eResolutionPolicy == kResolutionNoBorder )
sub_100022988(v1, a1->m_obScreenSize.width / a1->m_fScaleX, a1->m_obScreenSize.height / a1->m_fScaleY);
else
v2 = sub_100022AFC(v1, (double *)&a1->m_obDesignResolutionSize);
result.width = *(float *)&v2;
return result;
}