//
// cocos2d::CCEGLViewProtocol::getScissorRect from 0x100381d58 to 0x100381de8 (144 bytes)
//
// 2 xrefs:
// > ??> @ 0x1008e0dd8
// > ??> @ 0x10093cf88
//
// This function is hookable on this platform (idp: arm, 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:03:30 +0000
//
float *__usercall cocos2d::CCEGLViewProtocol::getScissorRect@(float *a1@, float *a2@)
{
GLfloat params[4]; // [xsp+8h] [xbp-28h] BYREF
glGetFloatv(0xC10u, params);
return sub_1000262CC(
a2,
(float)(params[0] - a1[8]) / a1[25],
(float)(params[1] - a1[9]) / a1[26],
params[2] / a1[25],
params[3] / a1[26]);
}