//
// cocos2d::CCEGLView::setScissorInPoints from 0x1005025a0 to 0x100502687 (231 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b64b68
//
// 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 12:31:30 +0000
//
void __fastcall cocos2d::CCEGLView::setScissorInPoints(float *a1, float a2, float a3, float a4, float a5)
{
id v5; // rax
id v6; // rax
float v7; // xmm0_4
v5 = +[EAGLView sharedEGLView](&OBJC_CLASS___EAGLView, "sharedEGLView");
objc_msgSend(v5, "frameZoomFactor");
v6 = +[EAGLView sharedEGLView](&OBJC_CLASS___EAGLView, "sharedEGLView");
objc_msgSend(v6, "getBackingFactor");
v7 = a2 * a2;
glScissor(
(int)(float)((float)((float)(a2 * a1[25]) * v7) + (float)(a1[8] * v7)),
(int)(float)((float)((float)(a3 * a1[26]) * v7) + (float)(a1[9] * v7)),
(int)(float)((float)(a4 * a1[25]) * v7),
(int)(float)((float)(a5 * a1[26]) * v7));
}