//
// cocos2d::CCDirector::setViewport from 0xad62e4 to 0xad6360 (124 bytes)
//
// 3 xrefs:
// > cocos2d::CCDirector::setProjection @ 0xad63c8
// > cocos2d::CCRenderTexture::end @ 0xaf9fa8
// > ??> @ 0x82308
//
// 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
//
void cocos2d::CCDirector::setViewport(cocos2d::CCDirector *a1)
{
cocos2d::CCSize v2; // [xsp+20h] [xbp+20h] BYREF
if ( a1->m_pobOpenGLView )
{
cocos2d::CCSize::CCSize(&v2, &a1->m_obWinSizeInPoints);
a1->m_pobOpenGLView->setViewPortInPoints(a1->m_pobOpenGLView, 0.0, 0.0, v2.width, v2.height);
}
}