; ; EditorUI::updateCreateMenu from 0x1003e6c70 to 0x1003e6e0c (412 bytes) ; ; 6 xrefs: ; > EditorUI::setupCreateMenu @ 0x1003e4058 ; > EditorUI::resetUI @ 0x1003e41c0 ; > EditorUI::clickOnPosition @ 0x1003e67a4 ; > EditorUI::orderUpCustomItem @ 0x1003e8bb8 ; > EditorUI::orderDownCustomItem @ 0x1003e8c1c ; > EditorUI::onCreateButton @ 0x1003eb034 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; STP X26, X25, [SP,#-0x10+var_40]! ; +0x0, 0x1003e6c70 STP X24, X23, [SP,#0x40+var_30] ; +0x4, 0x1003e6c74 STP X22, X21, [SP,#0x40+var_20] ; +0x8, 0x1003e6c78 STP X20, X19, [SP,#0x40+var_10] ; +0xc, 0x1003e6c7c STP X29, X30, [SP,#0x40+var_s0] ; +0x10, 0x1003e6c80 ADD X29, SP, #0x40 ; +0x14, 0x1003e6c84 MOV X19, X0 ; +0x18, 0x1003e6c88 LDR W9, [X0,#0x4E0] ; +0x1c, 0x1003e6c8c LDR X0, [X0,#0x2E0] ; +0x20, 0x1003e6c90 LDR X8, [X0] ; +0x24, 0x1003e6c94 LDR X8, [X8,#0x148] ; +0x28, 0x1003e6c98 CMP W9, #2 ; +0x2c, 0x1003e6c9c B.NE loc_1003E6D88 ; +0x30, 0x1003e6ca0 MOV X20, X1 ; +0x34, 0x1003e6ca4 MOV W21, #1 ; +0x38, 0x1003e6ca8 MOV W1, #1 ; +0x3c, 0x1003e6cac BLR X8 ; +0x40, 0x1003e6cb0 LDR X0, [X19,#0x430] ; +0x44, 0x1003e6cb4 LDR X8, [X0] ; +0x48, 0x1003e6cb8 LDR X8, [X8,#0x148] ; +0x4c, 0x1003e6cbc MOV W1, #1 ; +0x50, 0x1003e6cc0 BLR X8 ; +0x54, 0x1003e6cc4 MOV W23, #0x4D0 ; +0x58, 0x1003e6cc8 MOV W24, #0x4C8 ; +0x5c, 0x1003e6ccc MOV X25, X21 ; +0x60, 0x1003e6cd0 TST W21, #1 ; +0x64, 0x1003e6cd4 CSEL X8, X24, X23, NE ; +0x68, 0x1003e6cd8 LDR X21, [X19,X8] ; +0x6c, 0x1003e6cdc MOV X0, X21 ; +0x70, 0x1003e6ce0 BL sub_10024A36C ; +0x74, 0x1003e6ce4 CBZ W0, loc_1003E6D18 ; +0x78, 0x1003e6ce8 MOV W22, #0 ; +0x7c, 0x1003e6cec MOV X0, X21 ; +0x80, 0x1003e6cf0 MOV X1, X22 ; +0x84, 0x1003e6cf4 BL sub_10024A388 ; +0x88, 0x1003e6cf8 MOV X1, X0 ; +0x8c, 0x1003e6cfc BL EditorUI__enableButton ; +0x90, 0x1003e6d00 ADD W22, W22, #1 ; +0x94, 0x1003e6d04 MOV X0, X21 ; +0x98, 0x1003e6d08 BL sub_10024A36C ; +0x9c, 0x1003e6d0c CMP W22, W0 ; +0xa0, 0x1003e6d10 B.CC loc_1003E6CF0 ; +0xa4, 0x1003e6d14 MOV W21, #0 ; +0xa8, 0x1003e6d18 TBNZ W25, #0, loc_1003E6CD0 ; +0xac, 0x1003e6d1c MOV W8, #1 ; +0xb0, 0x1003e6d20 MOV W24, #0x4D0 ; +0xb4, 0x1003e6d24 MOV W25, #0x4C8 ; +0xb8, 0x1003e6d28 MOV X26, X8 ; +0xbc, 0x1003e6d2c TST W8, #1 ; +0xc0, 0x1003e6d30 CSEL X8, X25, X24, NE ; +0xc4, 0x1003e6d34 LDR X21, [X19,X8] ; +0xc8, 0x1003e6d38 MOV X0, X21 ; +0xcc, 0x1003e6d3c BL sub_10024A36C ; +0xd0, 0x1003e6d40 CBZ W0, loc_1003E6D7C ; +0xd4, 0x1003e6d44 MOV W22, #0 ; +0xd8, 0x1003e6d48 MOV X0, X21 ; +0xdc, 0x1003e6d4c MOV X1, X22 ; +0xe0, 0x1003e6d50 BL sub_10024A388 ; +0xe4, 0x1003e6d54 LDR W8, [X0,#0x210] ; +0xe8, 0x1003e6d58 LDR W9, [X19,#0x4C0] ; +0xec, 0x1003e6d5c CMP W8, W9 ; +0xf0, 0x1003e6d60 B.EQ loc_1003E6DB8 ; +0xf4, 0x1003e6d64 ADD W22, W22, #1 ; +0xf8, 0x1003e6d68 MOV X0, X21 ; +0xfc, 0x1003e6d6c BL sub_10024A36C ; +0x100, 0x1003e6d70 CMP W22, W0 ; +0x104, 0x1003e6d74 B.CC loc_1003E6D4C ; +0x108, 0x1003e6d78 MOV W8, #0 ; +0x10c, 0x1003e6d7c TBNZ W26, #0, loc_1003E6D2C ; +0x110, 0x1003e6d80 B loc_1003E6DF4 ; +0x114, 0x1003e6d84 MOV W1, #0 ; +0x118, 0x1003e6d88 BLR X8 ; +0x11c, 0x1003e6d8c LDR X0, [X19,#0x430] ; +0x120, 0x1003e6d90 LDR X8, [X0] ; +0x124, 0x1003e6d94 LDR X2, [X8,#0x148] ; +0x128, 0x1003e6d98 MOV W1, #0 ; +0x12c, 0x1003e6d9c LDP X29, X30, [SP,#0x40+var_s0] ; +0x130, 0x1003e6da0 LDP X20, X19, [SP,#0x40+var_10] ; +0x134, 0x1003e6da4 LDP X22, X21, [SP,#0x40+var_20] ; +0x138, 0x1003e6da8 LDP X24, X23, [SP,#0x40+var_30] ; +0x13c, 0x1003e6dac LDP X26, X25, [SP+0x40+var_40],#0x50 ; +0x140, 0x1003e6db0 BR X2 ; +0x144, 0x1003e6db4 MOV X23, X0 ; +0x148, 0x1003e6db8 MOV X1, X0 ; +0x14c, 0x1003e6dbc BL EditorUI__disableButton ; +0x150, 0x1003e6dc0 CBZ W20, loc_1003E6DF4 ; +0x154, 0x1003e6dc4 LDR W1, [X23,#0x218] ; +0x158, 0x1003e6dc8 MOV X0, X19 ; +0x15c, 0x1003e6dcc BL EditorUI__selectBuildTab ; +0x160, 0x1003e6dd0 LDR X0, [X19,#0x2E0] ; +0x164, 0x1003e6dd4 LDR W1, [X23,#0x214] ; +0x168, 0x1003e6dd8 LDP X29, X30, [SP,#0x40+var_s0] ; +0x16c, 0x1003e6ddc LDP X20, X19, [SP,#0x40+var_10] ; +0x170, 0x1003e6de0 LDP X22, X21, [SP,#0x40+var_20] ; +0x174, 0x1003e6de4 LDP X24, X23, [SP,#0x40+var_30] ; +0x178, 0x1003e6de8 LDP X26, X25, [SP+0x40+var_40],#0x50 ; +0x17c, 0x1003e6dec B EditButtonBar__goToPage ; +0x180, 0x1003e6df0 LDP X29, X30, [SP,#0x40+var_s0] ; +0x184, 0x1003e6df4 LDP X20, X19, [SP,#0x40+var_10] ; +0x188, 0x1003e6df8 LDP X22, X21, [SP,#0x40+var_20] ; +0x18c, 0x1003e6dfc LDP X24, X23, [SP,#0x40+var_30] ; +0x190, 0x1003e6e00 LDP X26, X25, [SP+0x40+var_40],#0x50 ; +0x194, 0x1003e6e04 RET ; +0x198, 0x1003e6e08