//
// cocos2d::CCEGLViewProtocol::getVisibleSize from 0xb09bf4 to 0xb09c60 (108 bytes)
//
// 3 xrefs:
// > ??> @ 0x42d98
// > ??> @ 0x1217c80
// > ??> @ 0x1217d70
//
// 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 cocos2d::CCEGLViewProtocol::getVisibleSize(cocos2d::CCEGLViewProtocol *a1)
{
cocos2d::CCSize *v1; // x8
cocos2d::CCSize result; // 0:s0.4,4:s1.4
if ( a1->m_eResolutionPolicy == kResolutionNoBorder )
cocos2d::CCSize::CCSize(v1, a1->m_obScreenSize.width / a1->m_fScaleX, a1->m_obScreenSize.height / a1->m_fScaleY);
else
cocos2d::CCSize::CCSize(v1, &a1->m_obDesignResolutionSize);
return result;
}