//
// cocos2d::CCEGLViewProtocol::getScissorRect from 0xd7aaf4 to 0xd7ab90 (156 bytes)
//
// 3 xrefs:
// > ??> @ 0x65248
// > ??> @ 0x152db00
// > ??> @ 0x152dbf0
//
// 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 13:08:06 +0000
//
cocos2d::CCRect *__usercall cocos2d::CCEGLViewProtocol::getScissorRect@(
cocos2d::CCEGLViewProtocol *this@,
cocos2d::CCRect *a2@)
{
float v5; // [xsp+38h] [xbp+38h]
float v6; // [xsp+3Ch] [xbp+3Ch]
float v7; // [xsp+40h] [xbp+40h]
float v8; // [xsp+44h] [xbp+44h]
glGetFloatv();
cocos2d::CCRect::CCRect(
a2,
(float)(v5 - *((float *)this + 8)) / *((float *)this + 25),
(float)(v6 - *((float *)this + 9)) / *((float *)this + 26),
v7 / *((float *)this + 25),
v8 / *((float *)this + 26));
return a2;
}