{"type": "func", "start": 6442902576, "end": 6442902663, "name": "cocos2d::CCEGLViewProtocol::setViewPortInPoints", "pseudocode": "// \n// cocos2d::CCEGLViewProtocol::setViewPortInPoints from 0x18006e430 to 0x18006e487 (87 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x180106928\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801be200\n// > <???> @ 0x1801be20c\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::setViewPortInPoints(\n        cocos2d::CCEGLViewProtocol *this,\n        float a2,\n        float a3,\n        float a4,\n        float a5)\n{\n  glViewport(\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::setViewPortInPoints from 0x18006e430 to 0x18006e487 (87 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x180106928\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801be200\n; > <???> @ 0x1801be20c\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, 0x18006e430\nmovss   xmm5, dword ptr [rcx+68h]                                      ; +0x4, 0x18006e434\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x9, 0x18006e439\nmovaps  xmm0, xmm5                                                     ; +0xe, 0x18006e43e\nmovss   xmm6, dword ptr [rcx+64h]                                      ; +0x11, 0x18006e441\nmulss   xmm0, [rsp+38h+arg_20]                                         ; +0x16, 0x18006e446\nmovaps  xmm4, xmm6                                                     ; +0x1c, 0x18006e44c\nmulss   xmm6, xmm1                                                     ; +0x1f, 0x18006e44f\nmulss   xmm5, xmm2                                                     ; +0x23, 0x18006e453\naddss   xmm6, dword ptr [rcx+20h]                                      ; +0x27, 0x18006e457\nmulss   xmm4, xmm3                                                     ; +0x2c, 0x18006e45c\naddss   xmm5, dword ptr [rcx+24h]                                      ; +0x30, 0x18006e460\ncvttss2si r9d, xmm0                                                    ; +0x35, 0x18006e465\ncvttss2si ecx, xmm6                                                    ; +0x3a, 0x18006e46a\ncvttss2si r8d, xmm4                                                    ; +0x3e, 0x18006e46e\ncvttss2si edx, xmm5                                                    ; +0x43, 0x18006e473\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x47, 0x18006e477\nadd     rsp, 38h                                                       ; +0x4c, 0x18006e47c\njmp     cs:glViewport                                                  ; +0x50, 0x18006e480", "xrefs": ["<???> @ 0x180106928", "<???> @ 0x18014cf68", "<???> @ 0x1801be200", "<???> @ 0x1801be20c"], "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"}