{"type": "func", "start": 6442846048, "end": 6442846109, "name": "cocos2d::CCRenderTexture::updateInternalScale", "pseudocode": "// \n// cocos2d::CCRenderTexture::updateInternalScale from 0x180060760 to 0x18006079d (61 bytes)\n// \n// 1 xrefs:\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::CCRenderTexture::updateInternalScale(cocos2d::CCRenderTexture *this, float a2, float a3)\n{\n  float v3; // xmm4_4\n  float v4; // xmm0_4\n\n  v3 = fminf(1.0, a2);\n  if ( v3 < 0.0 )\n    v3 = 0.0;\n  v4 = fminf(1.0, a3);\n  this->m_fInternalScaleX = v3;\n  if ( v4 >= 0.0 )\n    this->m_fInternalScaleY = v4;\n  else\n    this->m_fInternalScaleY = 0.0;\n}", "assembly": "; \n; cocos2d::CCRenderTexture::updateInternalScale from 0x180060760 to 0x18006079d (61 bytes)\n; \n; 1 xrefs:\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\nmovss   xmm0, cs:flt_1800E61A8                                         ; +0x0, 0x180060760\nxorps   xmm3, xmm3                                                     ; +0x8, 0x180060768\nmovaps  xmm4, xmm0                                                     ; +0xb, 0x18006076b\nminss   xmm4, xmm1                                                     ; +0xe, 0x18006076e\ncomiss  xmm3, xmm4                                                     ; +0x12, 0x180060772\njbe     short loc_18006077A                                            ; +0x15, 0x180060775\nxorps   xmm4, xmm4                                                     ; +0x17, 0x180060777\nminss   xmm0, xmm2                                                     ; +0x1a, 0x18006077a\nmovss   dword ptr [rcx+194h], xmm4                                     ; +0x1e, 0x18006077e\ncomiss  xmm3, xmm0                                                     ; +0x26, 0x180060786\njbe     short loc_180060794                                            ; +0x29, 0x180060789\nmovss   dword ptr [rcx+198h], xmm3                                     ; +0x2b, 0x18006078b\nretn                                                                   ; +0x33, 0x180060793\nmovss   dword ptr [rcx+198h], xmm0                                     ; +0x34, 0x180060794\nretn                                                                   ; +0x3c, 0x18006079c", "xrefs": ["<???> @ 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"}