{"type": "func", "start": 6907000, "end": 6907124, "name": "EditorUI::zoomGameLayer", "pseudocode": "// \n// EditorUI::zoomGameLayer from 0x696478 to 0x6964f4 (124 bytes)\n// \n// 5 xrefs:\n// > EditorUI::zoomIn @ 0x6964fc\n// > EditorUI::zoomOut @ 0x696504\n// > EditorUI::scrollWheel @ 0x6965ac\n// > EditorUI::scrollWheel @ 0x696604\n// > <???> @ 0x4a400\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 EditorUI::zoomGameLayer(EditorUI *a1, bool a2)\n{\n  _BOOL4 v3; // w20\n  float v4; // s0\n  float v5; // s0\n\n  v3 = a2;\n  a1->m_editorLayer->m_objectLayer->getScale(a1->m_editorLayer->m_objectLayer);\n  if ( v3 )\n    v5 = v4 + 0.1;\n  else\n    v5 = v4 - 0.1;\n  if ( v5 <= 4.0 )\n  {\n    if ( v5 < 0.1 )\n    {\n      EditorUI::updateZoom(a1, 0.1);\n      return;\n    }\n  }\n  else\n  {\n    v5 = 4.0;\n  }\n  EditorUI::updateZoom(a1, v5);\n}", "assembly": "; \n; EditorUI::zoomGameLayer from 0x696478 to 0x6964f4 (124 bytes)\n; \n; 5 xrefs:\n; > EditorUI::zoomIn @ 0x6964fc\n; > EditorUI::zoomOut @ 0x696504\n; > EditorUI::scrollWheel @ 0x6965ac\n; > EditorUI::scrollWheel @ 0x696604\n; > <???> @ 0x4a400\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\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x696478\nMOV             X29, SP                                                ; +0x4, 0x69647c\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x696480\nMOV             X19, X0                                                ; +0xc, 0x696484\nLDR             X0, [X0,#0x4F8]                                        ; +0x10, 0x696488\nUXTB            W20, W1                                                ; +0x14, 0x69648c\nLDR             X2, [X0,#0x1030]                                       ; +0x18, 0x696490\nMOV             X0, X2                                                 ; +0x1c, 0x696494\nLDR             X1, [X2]                                               ; +0x20, 0x696498\nLDR             X1, [X1,#0xA8]                                         ; +0x24, 0x69649c\nBLR             X1                                                     ; +0x28, 0x6964a0\nLDR             S1, =0x3DCCCCCD                                        ; +0x2c, 0x6964a4\nCBZ             W20, loc_6964EC                                        ; +0x30, 0x6964a8\nFADD            S0, S0, S1                                             ; +0x34, 0x6964ac\nFMOV            S2, #4.0                                               ; +0x38, 0x6964b0\nFCMPE           S0, S2                                                 ; +0x3c, 0x6964b4\nB.LE            loc_6964D0                                             ; +0x40, 0x6964b8\nFMOV            S0, S2; float                                          ; +0x44, 0x6964bc\nMOV             X0, X19; this                                          ; +0x48, 0x6964c0\nLDP             X19, X20, [SP,#var_s10]                                ; +0x4c, 0x6964c4\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x50, 0x6964c8\nB               _ZN8EditorUI10updateZoomEf; EditorUI::updateZoom(float) ; +0x54, 0x6964cc\nFCMPE           S0, S1                                                 ; +0x58, 0x6964d0\nB.PL            loc_6964C0                                             ; +0x5c, 0x6964d4\nFMOV            S0, S1; float                                          ; +0x60, 0x6964d8\nMOV             X0, X19; this                                          ; +0x64, 0x6964dc\nLDP             X19, X20, [SP,#var_s10]                                ; +0x68, 0x6964e0\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x6c, 0x6964e4\nB               _ZN8EditorUI10updateZoomEf; EditorUI::updateZoom(float) ; +0x70, 0x6964e8\nFSUB            S0, S0, S1                                             ; +0x74, 0x6964ec\nB               loc_6964B0                                             ; +0x78, 0x6964f0", "xrefs": ["EditorUI::zoomIn @ 0x6964fc", "EditorUI::zoomOut @ 0x696504", "EditorUI::scrollWheel @ 0x6965ac", "EditorUI::scrollWheel @ 0x696604", "<???> @ 0x4a400"], "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"}