//
// cocos2d::CCEGLViewProtocol::getVisibleOrigin from 0x5e063c to 0x5e0694 (88 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::CCPoint *cocos2d::CCEGLViewProtocol::getVisibleOrigin(
cocos2d::CCPoint *__return_ptr retstr,
cocos2d::CCEGLViewProtocol *a2)
{
if ( a2->m_eResolutionPolicy == kResolutionNoBorder )
cocos2d::CCPoint::CCPoint(
retstr,
(float)(a2->m_obDesignResolutionSize.width - (float)(a2->m_obScreenSize.width / a2->m_fScaleX)) * 0.5,
(float)(a2->m_obDesignResolutionSize.height - (float)(a2->m_obScreenSize.height / a2->m_fScaleY)) * 0.5);
else
cocos2d::CCPoint::CCPoint(retstr, &stru_AC8F24);
return retstr;
}