{"type": "func", "start": 8155712, "end": 8155856, "name": "EditorUI::zoomGameLayer", "pseudocode": "// \n// EditorUI::zoomGameLayer from 0x7c7240 to 0x7c72d0 (144 bytes)\n// \n// 5 xrefs:\n// > EditorUI::zoomIn @ 0x7c7304\n// > EditorUI::zoomOut @ 0x7c7334\n// > EditorUI::scrollWheel @ 0xbd6d9c\n// > EditorUI::scrollWheel @ 0xbd6e08\n// > <???> @ 0x68a58\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 12:54:09 +0000\n// \n\n__int64 __fastcall EditorUI::zoomGameLayer(EditorUI *this, unsigned __int8 a2)\n{\n  int v3; // w20\n  float v4; // s0\n  float v5; // s0\n  float v6; // s0\n\n  v3 = a2;\n  (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(*((_QWORD *)this + 180) + 3920LL) + 168LL))(*(_QWORD *)(*((_QWORD *)this + 180) + 3920LL));\n  if ( v3 )\n    v5 = v4 + 0.1;\n  else\n    v5 = v4 - 0.1;\n  v6 = roundf((float)(v5 / 0.1) + 0.001) * 0.1;\n  if ( v6 <= 10.0 )\n  {\n    if ( v6 < 0.1 )\n      return EditorUI::updateZoom(this, 0.1);\n  }\n  else\n  {\n    v6 = 10.0;\n  }\n  return EditorUI::updateZoom(this, v6);\n}", "assembly": "; \n; EditorUI::zoomGameLayer from 0x7c7240 to 0x7c72d0 (144 bytes)\n; \n; 5 xrefs:\n; > EditorUI::zoomIn @ 0x7c7304\n; > EditorUI::zoomOut @ 0x7c7334\n; > EditorUI::scrollWheel @ 0xbd6d9c\n; > EditorUI::scrollWheel @ 0xbd6e08\n; > <???> @ 0x68a58\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 12:54:09 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x7c7240\nMOV             X29, SP                                                ; +0x4, 0x7c7244\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x7c7248\nMOV             X19, X0                                                ; +0xc, 0x7c724c\nUXTB            W20, W1                                                ; +0x10, 0x7c7250\nLDR             X0, [X0,#0x5A0]                                        ; +0x14, 0x7c7254\nLDR             X2, [X0,#0xF50]                                        ; +0x18, 0x7c7258\nMOV             X0, X2                                                 ; +0x1c, 0x7c725c\nLDR             X1, [X2]                                               ; +0x20, 0x7c7260\nLDR             X1, [X1,#0xA8]                                         ; +0x24, 0x7c7264\nBLR             X1                                                     ; +0x28, 0x7c7268\nLDR             S1, =0x3DCCCCCD                                        ; +0x2c, 0x7c726c\nCBZ             W20, loc_7C72C8                                        ; +0x30, 0x7c7270\nFADD            S0, S0, S1                                             ; +0x34, 0x7c7274\nFDIV            S0, S0, S1                                             ; +0x38, 0x7c7278\nLDR             S3, =0x3A83126F                                        ; +0x3c, 0x7c727c\nFMOV            S2, #10.0                                              ; +0x40, 0x7c7280\nFADD            S0, S0, S3                                             ; +0x44, 0x7c7284\nFRINTA          S0, S0                                                 ; +0x48, 0x7c7288\nFMUL            S0, S0, S1                                             ; +0x4c, 0x7c728c\nFCMPE           S0, S2                                                 ; +0x50, 0x7c7290\nB.LE            loc_7C72AC                                             ; +0x54, 0x7c7294\nFMOV            S0, S2; float                                          ; +0x58, 0x7c7298\nMOV             X0, X19; this                                          ; +0x5c, 0x7c729c\nLDP             X19, X20, [SP,#var_s10]                                ; +0x60, 0x7c72a0\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x64, 0x7c72a4\nB               _ZN8EditorUI10updateZoomEf; EditorUI::updateZoom(float) ; +0x68, 0x7c72a8\nFCMPE           S0, S1                                                 ; +0x6c, 0x7c72ac\nB.PL            loc_7C729C                                             ; +0x70, 0x7c72b0\nFMOV            S0, S1; float                                          ; +0x74, 0x7c72b4\nMOV             X0, X19; this                                          ; +0x78, 0x7c72b8\nLDP             X19, X20, [SP,#var_s10]                                ; +0x7c, 0x7c72bc\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x80, 0x7c72c0\nB               _ZN8EditorUI10updateZoomEf; EditorUI::updateZoom(float) ; +0x84, 0x7c72c4\nFSUB            S0, S0, S1                                             ; +0x88, 0x7c72c8\nB               loc_7C7278                                             ; +0x8c, 0x7c72cc", "xrefs": ["EditorUI::zoomIn @ 0x7c7304", "EditorUI::zoomOut @ 0x7c7334", "EditorUI::scrollWheel @ 0xbd6d9c", "EditorUI::scrollWheel @ 0xbd6e08", "<???> @ 0x68a58"], "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"}