{"type": "func", "start": 4738468, "end": 4738596, "name": "EditorUI::zoomGameLayer", "pseudocode": "// \n// EditorUI::zoomGameLayer from 0x484da4 to 0x484e24 (128 bytes)\n// \n// 3 xrefs:\n// > EditorUI::zoomIn @ 0x484e42\n// > EditorUI::zoomOut @ 0x484e5c\n// > EditorUI::scrollWheel @ 0x6f1352\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:49:24 +0000\n// \n\nGameManager *__fastcall EditorUI::zoomGameLayer(EditorUI *this, int a2)\n{\n  float v3; // s15\n\n  (*(void (__fastcall **)(_DWORD))(**(_DWORD **)(*((_DWORD *)this + 236) + 2436) + 84))(*(_DWORD *)(*((_DWORD *)this + 236)\n                                                                                                  + 2436));\n  v3 = COERCE_FLOAT(roundf()) * 0.1;\n  if ( v3 > 10.0 )\n  {\n    v3 = 10.0;\n  }\n  else if ( v3 < 0.1 )\n  {\n    v3 = 0.1;\n  }\n  return EditorUI::updateZoom(this, v3);\n}", "assembly": "; \n; EditorUI::zoomGameLayer from 0x484da4 to 0x484e24 (128 bytes)\n; \n; 3 xrefs:\n; > EditorUI::zoomIn @ 0x484e42\n; > EditorUI::zoomOut @ 0x484e5c\n; > EditorUI::scrollWheel @ 0x6f1352\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:49:24 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x484da4\nMOV             R4, R0                                                 ; +0x2, 0x484da6\nVPUSH           {D8}                                                   ; +0x4, 0x484da8\nMOV             R5, R1                                                 ; +0x8, 0x484dac\nVLDR            S16, =0.1                                              ; +0xa, 0x484dae\nLDR.W           R3, [R0,#0x3B0]                                        ; +0xe, 0x484db2\nLDR.W           R0, [R3,#0x984]                                        ; +0x12, 0x484db6\nLDR             R3, [R0]                                               ; +0x16, 0x484dba\nLDR             R3, [R3,#0x54]                                         ; +0x18, 0x484dbc\nBLX             R3                                                     ; +0x1a, 0x484dbe\nVMOV            S15, R0                                                ; +0x1c, 0x484dc0\nCBZ             R5, loc_484DCC                                         ; +0x20, 0x484dc4\nVADD.F32        S15, S15, S16                                          ; +0x22, 0x484dc6\nB               loc_484DD0                                             ; +0x26, 0x484dca\nVSUB.F32        S15, S15, S16                                          ; +0x28, 0x484dcc\nVLDR            S14, =0.001                                            ; +0x2c, 0x484dd0\nVLDR            S17, =0.1                                              ; +0x30, 0x484dd4\nVDIV.F32        S15, S15, S16                                          ; +0x34, 0x484dd8\nVADD.F32        S15, S15, S14                                          ; +0x38, 0x484ddc\nVMOV            R0, S15                                                ; +0x3c, 0x484de0\nBLX             roundf                                                 ; +0x40, 0x484de4\nVMOV.F32        S14, #10.0                                             ; +0x44, 0x484de8\nVMOV            S15, R0                                                ; +0x48, 0x484dec\nVMUL.F32        S15, S15, S16                                          ; +0x4c, 0x484df0\nVCMPE.F32       S15, S14                                               ; +0x50, 0x484df4\nVMRS            APSR_nzcv, FPSCR                                       ; +0x54, 0x484df8\nBGT             loc_484E0E                                             ; +0x58, 0x484dfc\nVCMP.F32        S15, S17                                               ; +0x5a, 0x484dfe\nVMRS            APSR_nzcv, FPSCR                                       ; +0x5e, 0x484e02\nIT MI                                                                  ; +0x62, 0x484e06\nVMOVMI.F32      S15, S17                                               ; +0x64, 0x484e08\nB               loc_484E12                                             ; +0x68, 0x484e0c\nVMOV.F32        S15, S14                                               ; +0x6a, 0x484e0e\nVPOP            {D8}                                                   ; +0x6e, 0x484e12\nMOV             R0, R4; this                                           ; +0x72, 0x484e16\nVMOV            R1, S15; float                                         ; +0x74, 0x484e18\nPOP.W           {R3-R5,LR}                                             ; +0x78, 0x484e1c\nB.W             _ZN8EditorUI10updateZoomEf; EditorUI::updateZoom(float) ; +0x7c, 0x484e20", "xrefs": ["EditorUI::zoomIn @ 0x484e42", "EditorUI::zoomOut @ 0x484e5c", "EditorUI::scrollWheel @ 0x6f1352"], "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"}