//
// cocos2d::CCEGLViewProtocol::setViewPortInPoints from 0x18006e430 to 0x18006e487 (87 bytes)
//
// 4 xrefs:
// > ??> @ 0x180106928
// > ??> @ 0x18014cf68
// > ??> @ 0x1801be200
// > ??> @ 0x1801be20c
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:21:55 +0000
//
void __fastcall cocos2d::CCEGLViewProtocol::setViewPortInPoints(
cocos2d::CCEGLViewProtocol *this,
float a2,
float a3,
float a4,
float a5)
{
glViewport(
(int)(float)((float)(*((float *)this + 25) * a2) + *((float *)this + 8)),
(int)(float)((float)(*((float *)this + 26) * a3) + *((float *)this + 9)),
(int)(float)(*((float *)this + 25) * a4),
(int)(float)(*((float *)this + 26) * a5));
}