{"type": "func", "start": 6442902272, "end": 6442902359, "name": "cocos2d::CCEGLViewProtocol::setScissorInPoints", "pseudocode": "// \n// cocos2d::CCEGLViewProtocol::setScissorInPoints from 0x18006e300 to 0x18006e357 (87 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x180106930\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801be1e8\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:21:55 +0000\n// \n\nvoid __fastcall cocos2d::CCEGLViewProtocol::setScissorInPoints(\n        cocos2d::CCEGLViewProtocol *this,\n        float a2,\n        float a3,\n        float a4,\n        float a5)\n{\n  glScissor(\n    (int)(float)((float)(*((float *)this + 25) * a2) + *((float *)this + 8)),\n    (int)(float)((float)(*((float *)this + 26) * a3) + *((float *)this + 9)),\n    (int)(float)(*((float *)this + 25) * a4),\n    (int)(float)(*((float *)this + 26) * a5));\n}", "assembly": "; \n; cocos2d::CCEGLViewProtocol::setScissorInPoints from 0x18006e300 to 0x18006e357 (87 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x180106930\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801be1e8\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:21:55 +0000\n; \nsub     rsp, 38h                                                       ; +0x0, 0x18006e300\nmovss   xmm5, dword ptr [rcx+68h]                                      ; +0x4, 0x18006e304\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x9, 0x18006e309\nmovaps  xmm0, xmm5                                                     ; +0xe, 0x18006e30e\nmovss   xmm6, dword ptr [rcx+64h]                                      ; +0x11, 0x18006e311\nmulss   xmm0, [rsp+38h+arg_20]                                         ; +0x16, 0x18006e316\nmovaps  xmm4, xmm6                                                     ; +0x1c, 0x18006e31c\nmulss   xmm6, xmm1                                                     ; +0x1f, 0x18006e31f\nmulss   xmm5, xmm2                                                     ; +0x23, 0x18006e323\naddss   xmm6, dword ptr [rcx+20h]                                      ; +0x27, 0x18006e327\nmulss   xmm4, xmm3                                                     ; +0x2c, 0x18006e32c\naddss   xmm5, dword ptr [rcx+24h]                                      ; +0x30, 0x18006e330\ncvttss2si r9d, xmm0                                                    ; +0x35, 0x18006e335\ncvttss2si ecx, xmm6                                                    ; +0x3a, 0x18006e33a\ncvttss2si r8d, xmm4                                                    ; +0x3e, 0x18006e33e\ncvttss2si edx, xmm5                                                    ; +0x43, 0x18006e343\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x47, 0x18006e347\nadd     rsp, 38h                                                       ; +0x4c, 0x18006e34c\njmp     cs:glScissor                                                   ; +0x50, 0x18006e350", "xrefs": ["<???> @ 0x180106930", "<???> @ 0x18014cf68", "<???> @ 0x1801be1e8"], "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"}