{"type": "func", "start": 7912756, "end": 7912790, "name": "EditorWindowPopup::setLockAspectRatio", "pseudocode": "// \n// EditorWindowPopup::setLockAspectRatio from 0x78bd34 to 0x78bd56 (34 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:37 +0000\n// \n\nint __fastcall EditorWindowPopup::setLockAspectRatio(int this, int a2)\n{\n  float v2; // s14\n\n  *(_BYTE *)(this + 796) = a2;\n  if ( a2 )\n  {\n    v2 = *(float *)(this + 736);\n    if ( v2 > 0.0 )\n      *(float *)(this + 800) = *(float *)(this + 732) / v2;\n  }\n  return this;\n}", "assembly": "; \n; EditorWindowPopup::setLockAspectRatio from 0x78bd34 to 0x78bd56 (34 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:37 +0000\n; \nSTRB.W          R1, [R0,#0x31C]                                        ; +0x0, 0x78bd34\nCBZ             R1, locret_78BD54                                      ; +0x4, 0x78bd38\nVLDR            S14, [R0,#0x2E0]                                       ; +0x6, 0x78bd3a\nVCMPE.F32       S14, #0.0                                              ; +0xa, 0x78bd3e\nVMRS            APSR_nzcv, FPSCR                                       ; +0xe, 0x78bd42\nITTT GT                                                                ; +0x12, 0x78bd46\nVLDRGT          S15, [R0,#0x2DC]                                       ; +0x14, 0x78bd48\nVDIVGT.F32      S15, S15, S14                                          ; +0x18, 0x78bd4c\nVSTRGT          S15, [R0,#0x320]                                       ; +0x1c, 0x78bd50\nBX              LR                                                     ; +0x20, 0x78bd54", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}