//
// cocos2d::CCEGLViewProtocol::getVisibleSize from 0x5e0600 to 0x5e063a (58 bytes)
//
// 0 xrefs:
//
// 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::CCSize *__return_ptr retstr,
cocos2d::CCEGLViewProtocol *a2)
{
if ( a2->m_eResolutionPolicy == kResolutionNoBorder )
cocos2d::CCSize::CCSize(retstr, a2->m_obScreenSize.width / a2->m_fScaleX, a2->m_obScreenSize.height / a2->m_fScaleY);
else
cocos2d::CCSize::CCSize(retstr, &a2->m_obDesignResolutionSize);
return retstr;
}