//
// cocos2d::CCEGLViewProtocol::getVisibleOrigin from 0xb09c60 to 0xb09cec (140 bytes)
//
// 3 xrefs:
// > ??> @ 0x2f928
// > ??> @ 0x1217c88
// > ??> @ 0x1217d78
//
// 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::CCEGLViewProtocol *a1)
{
cocos2d::CCPoint *v1; // x8
cocos2d::CCPoint result; // 0:s0.4,4:s1.4
if ( a1->m_eResolutionPolicy == kResolutionNoBorder )
cocos2d::CCPoint::CCPoint(
v1,
(float)(a1->m_obDesignResolutionSize.width - (float)(a1->m_obScreenSize.width / a1->m_fScaleX)) * 0.5,
(float)(a1->m_obDesignResolutionSize.height - (float)(a1->m_obScreenSize.height / a1->m_fScaleY)) * 0.5);
else
cocos2d::CCPoint::CCPoint(v1, &stru_12456B0);
return result;
}