//
// cocos2d::CCDirector::getVisibleSize from 0xad6b78 to 0xad6bd0 (88 bytes)
//
// 1 xrefs:
// > ??> @ 0x548a0
//
// 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::CCDirector::getVisibleSize(cocos2d::CCDirector *a1)
{
cocos2d::CCSize *v1; // x8
cocos2d::CCEGLView *m_pobOpenGLView; // x0
cocos2d::CCSize v5; // 0:kr00_8.8
cocos2d::CCSize result; // 0:s0.4,4:s1.4
m_pobOpenGLView = a1->m_pobOpenGLView;
if ( m_pobOpenGLView )
{
v5 = m_pobOpenGLView->getVisibleSize(m_pobOpenGLView);
result.width = v5.width;
result.height = v5.height;
}
else
{
cocos2d::CCSize::CCSize(v1, &stru_1245150);
}
return result;
}