//
// cocos2d::CCEGLViewProtocol::getScissorRect from 0x7ea1e8 to 0x7ea264 (124 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:58 +0000
//
cocos2d::CCEGLViewProtocol *__fastcall cocos2d::CCEGLViewProtocol::getScissorRect(
cocos2d::CCEGLViewProtocol *this,
float *a2)
{
GLfloat params[4]; // [sp+Ch] [bp-14h] BYREF
glGetFloatv(0xC10u, params);
cocos2d::CCRect::CCRect(
this,
(float)(params[0] - a2[6]) / a2[23],
(float)(params[1] - a2[7]) / a2[24],
params[2] / a2[23],
params[3] / a2[24]);
return this;
}