{"type": "func", "start": 6442956512, "end": 6442956707, "name": "cocos2d::CCEGLView::setScissorInPoints", "pseudocode": "// \n// cocos2d::CCEGLView::setScissorInPoints from 0x18007b6e0 to 0x18007b7a3 (195 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x180107028\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801beda0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:00 +0000\n// \n\nvoid __fastcall cocos2d::CCEGLView::setScissorInPoints(\n        cocos2d::CCEGLView *this,\n        float a2,\n        float a3,\n        float a4,\n        float a5)\n{\n  float v5; // xmm6_4\n  float v6; // xmm8_4\n\n  v5 = *((float *)this + 48);\n  v6 = (float)*((int *)this + 45);\n  glScissor(\n    (int)(float)((float)((float)((float)(*((float *)this + 25) * a2) * v6) * v5)\n               + (float)((float)(v6 * *((float *)this + 8)) * v5)),\n    (int)(float)((float)((float)((float)(*((float *)this + 26) * a3) * v6) * v5)\n               + (float)((float)(v6 * *((float *)this + 9)) * v5)),\n    (int)(float)((float)((float)(*((float *)this + 25) * a4) * v6) * v5),\n    (int)(float)((float)((float)(*((float *)this + 26) * a5) * v6) * v5));\n}", "assembly": "; \n; cocos2d::CCEGLView::setScissorInPoints from 0x18007b6e0 to 0x18007b7a3 (195 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x180107028\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801beda0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:00 +0000\n; \nsub     rsp, 58h                                                       ; +0x0, 0x18007b6e0\nmovss   xmm5, dword ptr [rcx+68h]                                      ; +0x4, 0x18007b6e4\nmovaps  xmm4, xmm2                                                     ; +0x9, 0x18007b6e9\nmovaps  xmm0, xmm5                                                     ; +0xc, 0x18007b6ec\nmovaps  [rsp+58h+var_18], xmm6                                         ; +0xf, 0x18007b6ef\nmovss   xmm6, dword ptr [rcx+0C0h]                                     ; +0x14, 0x18007b6f4\nmulss   xmm0, [rsp+58h+arg_20]                                         ; +0x1c, 0x18007b6fc\nmovaps  [rsp+58h+var_28], xmm7                                         ; +0x25, 0x18007b705\nmovss   xmm7, dword ptr [rcx+64h]                                      ; +0x2a, 0x18007b70a\nmovaps  xmm2, xmm7                                                     ; +0x2f, 0x18007b70f\nmovaps  [rsp+58h+var_38], xmm8                                         ; +0x32, 0x18007b712\nxorps   xmm8, xmm8                                                     ; +0x38, 0x18007b718\nmulss   xmm5, xmm4                                                     ; +0x3c, 0x18007b71c\ncvtsi2ss xmm8, dword ptr [rcx+0B4h]                                    ; +0x40, 0x18007b720\nmulss   xmm7, xmm1                                                     ; +0x49, 0x18007b729\nmulss   xmm0, xmm8                                                     ; +0x4d, 0x18007b72d\nmulss   xmm5, xmm8                                                     ; +0x52, 0x18007b732\nmulss   xmm0, xmm6                                                     ; +0x57, 0x18007b737\nmulss   xmm7, xmm8                                                     ; +0x5b, 0x18007b73b\ncvttss2si r9d, xmm0                                                    ; +0x60, 0x18007b740\nmovaps  xmm0, xmm8                                                     ; +0x65, 0x18007b745\nmulss   xmm2, xmm3                                                     ; +0x69, 0x18007b749\nmulss   xmm0, dword ptr [rcx+24h]                                      ; +0x6d, 0x18007b74d\nmulss   xmm2, xmm8                                                     ; +0x72, 0x18007b752\nmulss   xmm8, dword ptr [rcx+20h]                                      ; +0x77, 0x18007b757\nmulss   xmm0, xmm6                                                     ; +0x7d, 0x18007b75d\nmulss   xmm5, xmm6                                                     ; +0x81, 0x18007b761\nmulss   xmm7, xmm6                                                     ; +0x85, 0x18007b765\nmulss   xmm8, xmm6                                                     ; +0x89, 0x18007b769\naddss   xmm5, xmm0                                                     ; +0x8e, 0x18007b76e\nmulss   xmm2, xmm6                                                     ; +0x92, 0x18007b772\naddss   xmm7, xmm8                                                     ; +0x96, 0x18007b776\ncvttss2si edx, xmm5                                                    ; +0x9b, 0x18007b77b\ncvttss2si r8d, xmm2                                                    ; +0x9f, 0x18007b77f\ncvttss2si ecx, xmm7                                                    ; +0xa4, 0x18007b784\nmovaps  xmm6, [rsp+58h+var_18]                                         ; +0xa8, 0x18007b788\nmovaps  xmm7, [rsp+58h+var_28]                                         ; +0xad, 0x18007b78d\nmovaps  xmm8, [rsp+58h+var_38]                                         ; +0xb2, 0x18007b792\nadd     rsp, 58h                                                       ; +0xb8, 0x18007b798\njmp     cs:glScissor                                                   ; +0xbc, 0x18007b79c", "xrefs": ["<???> @ 0x180107028", "<???> @ 0x18014cf68", "<???> @ 0x1801beda0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}