; ; EditorUI::zoomGameLayer from 0x100477e00 to 0x100477e80 (128 bytes) ; ; 3 xrefs: ; > EditorUI::scrollWheel @ 0x1001640f4 ; > EditorUI::zoomIn @ 0x100471628 ; > EditorUI::zoomOut @ 0x100471658 ; ; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:05:42 +0000 ; STP X20, X19, [SP,#-0x10+var_10]! ; +0x0, 0x100477e00 STP X29, X30, [SP,#0x10+var_s0] ; +0x4, 0x100477e04 ADD X29, SP, #0x10 ; +0x8, 0x100477e08 MOV X19, X1 ; +0xc, 0x100477e0c MOV X20, X0 ; +0x10, 0x100477e10 LDR X8, [X0,#0x5A0] ; +0x14, 0x100477e14 LDR X0, [X8,#0xF50] ; +0x18, 0x100477e18 LDR X8, [X0] ; +0x1c, 0x100477e1c LDR X8, [X8,#0xA8] ; +0x20, 0x100477e20 BLR X8 ; +0x24, 0x100477e24 CMP W19, #0 ; +0x28, 0x100477e28 ADRP X8, #dword_10075E32C@PAGE ; +0x2c, 0x100477e2c LDR S1, [X8,#dword_10075E32C@PAGEOFF] ; +0x30, 0x100477e30 ADRP X8, #dword_10075BD10@PAGE ; +0x34, 0x100477e34 LDR S2, [X8,#dword_10075BD10@PAGEOFF] ; +0x38, 0x100477e38 FCSEL S1, S2, S1, NE ; +0x3c, 0x100477e3c FADD S0, S1, S0 ; +0x40, 0x100477e40 FDIV S0, S0, S2 ; +0x44, 0x100477e44 ADRP X8, #dword_10075CFEC@PAGE ; +0x48, 0x100477e48 LDR S1, [X8,#dword_10075CFEC@PAGEOFF] ; +0x4c, 0x100477e4c FADD S0, S0, S1 ; +0x50, 0x100477e50 FRINTA S0, S0 ; +0x54, 0x100477e54 FMUL S0, S0, S2 ; +0x58, 0x100477e58 FMOV S1, #10.0 ; +0x5c, 0x100477e5c FCMP S0, S1 ; +0x60, 0x100477e60 FCSEL S0, S1, S0, GT ; +0x64, 0x100477e64 FCMP S0, S2 ; +0x68, 0x100477e68 FCSEL S0, S2, S0, MI ; +0x6c, 0x100477e6c MOV X0, X20 ; +0x70, 0x100477e70 LDP X29, X30, [SP,#0x10+var_s0] ; +0x74, 0x100477e74 LDP X20, X19, [SP+0x10+var_10],#0x20 ; +0x78, 0x100477e78 B EditorUI__updateZoom_1 ; +0x7c, 0x100477e7c