{"type": "func", "start": 13469000, "end": 13469040, "name": "EditorWindowPopup::setLockAspectRatio", "pseudocode": "// \n// EditorWindowPopup::setLockAspectRatio from 0xcd8548 to 0xcd8570 (40 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x84f40\n// \n// This function is hookable on this platform (idp: arm, 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 13:06:31 +0000\n// \n\nfloat __fastcall EditorWindowPopup::setLockAspectRatio(EditorWindowPopup *this, char a2)\n{\n  float v2; // s1\n  float result; // s0\n\n  *((_BYTE *)this + 1120) = a2;\n  if ( a2 )\n  {\n    v2 = *((float *)this + 265);\n    if ( v2 > 0.0 )\n    {\n      result = *((float *)this + 264) / v2;\n      *((float *)this + 281) = result;\n    }\n  }\n  return result;\n}", "assembly": "; \n; EditorWindowPopup::setLockAspectRatio from 0xcd8548 to 0xcd8570 (40 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x84f40\n; \n; This function is hookable on this platform (idp: arm, 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 13:06:31 +0000\n; \nUXTB            W1, W1                                                 ; +0x0, 0xcd8548\nSTRB            W1, [X0,#0x460]                                        ; +0x4, 0xcd854c\nCBZ             W1, locret_CD856C                                      ; +0x8, 0xcd8550\nLDR             S1, [X0,#0x424]                                        ; +0xc, 0xcd8554\nFCMPE           S1, #0.0                                               ; +0x10, 0xcd8558\nB.LE            locret_CD856C                                          ; +0x14, 0xcd855c\nLDR             S0, [X0,#0x420]                                        ; +0x18, 0xcd8560\nFDIV            S0, S0, S1                                             ; +0x1c, 0xcd8564\nSTR             S0, [X0,#0x464]                                        ; +0x20, 0xcd8568\nRET                                                                    ; +0x24, 0xcd856c", "xrefs": ["<???> @ 0x84f40"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}