; ; EditorUI::onDeleteSelectedType from 0x100476568 to 0x1004765e8 (128 bytes) ; ; 2 xrefs: ; > EditorUI::handleEditorAction @ 0x100163548 ; > EditorUI::setupDeleteMenu @ 0x100187150 ; ; 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:41 +0000 ; LDR X8, [X0,#0x5D8] ; +0x0, 0x100476568 CBZ X8, locret_1004765E4 ; +0x4, 0x10047656c STP X22, X21, [SP,#-0x10+var_20]! ; +0x8, 0x100476570 STP X20, X19, [SP,#0x20+var_10] ; +0xc, 0x100476574 STP X29, X30, [SP,#0x20+var_s0] ; +0x10, 0x100476578 ADD X29, SP, #0x20 ; +0x14, 0x10047657c MOV X19, X0 ; +0x18, 0x100476580 LDR W20, [X8,#0x404] ; +0x1c, 0x100476584 BL EditorUI__deselectAll ; +0x20, 0x100476588 LDR X0, [X19,#0x5A0] ; +0x24, 0x10047658c LDR W21, [X0,#0x37C0] ; +0x28, 0x100476590 LDR W22, [X0,#0x37C4] ; +0x2c, 0x100476594 MOV X1, X20 ; +0x30, 0x100476598 BL LevelEditorLayer__removeAllObjectsOfType ; +0x34, 0x10047659c LDR X8, [X19,#0x5A0] ; +0x38, 0x1004765a0 LDR W9, [X8,#0x37C0] ; +0x3c, 0x1004765a4 LDR W10, [X8,#0x37C4] ; +0x40, 0x1004765a8 LDR W11, [X8,#0x3978] ; +0x44, 0x1004765ac ADD W9, W22, W9 ; +0x48, 0x1004765b0 SUB W9, W21, W9 ; +0x4c, 0x1004765b4 ADD W10, W10, W11 ; +0x50, 0x1004765b8 ADD W9, W9, W10 ; +0x54, 0x1004765bc STR W9, [X8,#0x3978] ; +0x58, 0x1004765c0 MOV W9, #0x3970 ; +0x5c, 0x1004765c4 ADD X0, X8, X9 ; +0x60, 0x1004765c8 BL EditorBuildStats__noteAction ; +0x64, 0x1004765cc MOV X0, X19 ; +0x68, 0x1004765d0 LDP X29, X30, [SP,#0x20+var_s0] ; +0x6c, 0x1004765d4 LDP X20, X19, [SP,#0x20+var_10] ; +0x70, 0x1004765d8 LDP X22, X21, [SP+0x20+var_20],#0x30 ; +0x74, 0x1004765dc B EditorUI__updateButtons ; +0x78, 0x1004765e0 RET ; +0x7c, 0x1004765e4