{"type": "func", "start": 6442503728, "end": 6442503764, "name": "cocos2d::CCRect::setRect", "pseudocode": "// \n// cocos2d::CCRect::setRect from 0x18000ce30 to 0x18000ce54 (36 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCEGLViewProtocol::setDesignResolutionSize @ 0x18006bff6\n// > cocos2d::CCEGLViewProtocol::updateDesignResolutionSize @ 0x18006c37b\n// > <???> @ 0x1801438a8\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::CCRect::setRect(cocos2d::CCRect *this, float a2, float a3, float a4, float a5)\n{\n  this->origin.x = a2;\n  this->origin.y = a3;\n  this->size.height = fmaxf(0.0, a5);\n  this->size.width = fmaxf(0.0, a4);\n}", "assembly": "; \n; cocos2d::CCRect::setRect from 0x18000ce30 to 0x18000ce54 (36 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCEGLViewProtocol::setDesignResolutionSize @ 0x18006bff6\n; > cocos2d::CCEGLViewProtocol::updateDesignResolutionSize @ 0x18006c37b\n; > <???> @ 0x1801438a8\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\nxorps   xmm4, xmm4                                                     ; +0x0, 0x18000ce30\nmovss   dword ptr [rcx], xmm1                                          ; +0x3, 0x18000ce33\nmaxss   xmm4, [rsp+arg_20]                                             ; +0x7, 0x18000ce37\nxorps   xmm0, xmm0                                                     ; +0xd, 0x18000ce3d\nmovss   dword ptr [rcx+4], xmm2                                        ; +0x10, 0x18000ce40\nmaxss   xmm0, xmm3                                                     ; +0x15, 0x18000ce45\nmovss   dword ptr [rcx+0Ch], xmm4                                      ; +0x19, 0x18000ce49\nmovss   dword ptr [rcx+8], xmm0                                        ; +0x1e, 0x18000ce4e\nretn                                                                   ; +0x23, 0x18000ce53", "xrefs": ["cocos2d::CCEGLViewProtocol::setDesignResolutionSize @ 0x18006bff6", "cocos2d::CCEGLViewProtocol::updateDesignResolutionSize @ 0x18006c37b", "<???> @ 0x1801438a8"], "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"}