//
// cocos2d::CCEGLViewProtocol::setViewPortInPoints from 0x18006c1d0 to 0x18006c227 (87 bytes)
//
// 3 xrefs:
// > ??> @ 0x1801002d8
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b3eb8
//
// 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 __fastcall cocos2d::CCEGLViewProtocol::setViewPortInPoints(
cocos2d::CCEGLViewProtocol *this,
float a2,
float a3,
float a4,
float a5)
{
glViewport(
(int)(float)((float)(this->m_fScaleX * a2) + this->m_obViewPortRect.origin.x),
(int)(float)((float)(this->m_fScaleY * a3) + this->m_obViewPortRect.origin.y),
(int)(float)(this->m_fScaleX * a4),
(int)(float)(this->m_fScaleY * a5));
}