//
// cocos2d::CCDirector::getVisibleOrigin from 0xad6bd0 to 0xad6c28 (88 bytes)
//
// 1 xrefs:
// > ??> @ 0x54ea0
//
// 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::CCDirector::getVisibleOrigin(cocos2d::CCDirector *a1)
{
cocos2d::CCPoint *v1; // x8
cocos2d::CCEGLView *m_pobOpenGLView; // x0
cocos2d::CCPoint v5; // 0:kr00_8.8
cocos2d::CCPoint result; // 0:s0.4,4:s1.4
m_pobOpenGLView = a1->m_pobOpenGLView;
if ( m_pobOpenGLView )
{
v5 = m_pobOpenGLView->getVisibleOrigin(m_pobOpenGLView);
result.x = v5.x;
result.y = v5.y;
}
else
{
cocos2d::CCPoint::CCPoint(v1, &stru_1245158);
}
return result;
}