{"type": "func", "start": 6442893488, "end": 6442893575, "name": "cocos2d::CCEGLViewProtocol::setScissorInPoints", "pseudocode": "// \n// cocos2d::CCEGLViewProtocol::setScissorInPoints from 0x18006c0b0 to 0x18006c107 (87 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1801002e0\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b3ea0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\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)(this->m_fScaleX * a2) + this->m_obViewPortRect.origin.x),\n    (int)(float)((float)(this->m_fScaleY * a3) + this->m_obViewPortRect.origin.y),\n    (int)(float)(this->m_fScaleX * a4),\n    (int)(float)(this->m_fScaleY * a5));\n}", "assembly": "; \n; cocos2d::CCEGLViewProtocol::setScissorInPoints from 0x18006c0b0 to 0x18006c107 (87 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1801002e0\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b3ea0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nsub     rsp, 38h                                                       ; +0x0, 0x18006c0b0\nmovss   xmm5, dword ptr [rcx+68h]                                      ; +0x4, 0x18006c0b4\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x9, 0x18006c0b9\nmovaps  xmm0, xmm5                                                     ; +0xe, 0x18006c0be\nmovss   xmm6, dword ptr [rcx+64h]                                      ; +0x11, 0x18006c0c1\nmulss   xmm0, [rsp+38h+arg_20]                                         ; +0x16, 0x18006c0c6\nmovaps  xmm4, xmm6                                                     ; +0x1c, 0x18006c0cc\nmulss   xmm6, xmm1                                                     ; +0x1f, 0x18006c0cf\nmulss   xmm5, xmm2                                                     ; +0x23, 0x18006c0d3\naddss   xmm6, dword ptr [rcx+20h]                                      ; +0x27, 0x18006c0d7\nmulss   xmm4, xmm3                                                     ; +0x2c, 0x18006c0dc\naddss   xmm5, dword ptr [rcx+24h]                                      ; +0x30, 0x18006c0e0\ncvttss2si r9d, xmm0                                                    ; +0x35, 0x18006c0e5\ncvttss2si ecx, xmm6                                                    ; +0x3a, 0x18006c0ea\ncvttss2si r8d, xmm4                                                    ; +0x3e, 0x18006c0ee\ncvttss2si edx, xmm5                                                    ; +0x43, 0x18006c0f3\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x47, 0x18006c0f7\nadd     rsp, 38h                                                       ; +0x4c, 0x18006c0fc\njmp     cs:glScissor                                                   ; +0x50, 0x18006c100", "xrefs": ["<???> @ 0x1801002e0", "<???> @ 0x1801438a8", "<???> @ 0x1801b3ea0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}