; ; EditorUI::onSettings from 0x1003e45f4 to 0x1003e4664 (112 bytes) ; ; 1 xrefs: ; > EditorUI::init @ 0x1003c6068 ; ; 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 X20, X19, [SP,#-0x10+var_10]! ; +0x0, 0x1003e45f4 STP X29, X30, [SP,#0x10+var_s0] ; +0x4, 0x1003e45f8 ADD X29, SP, #0x10 ; +0x8, 0x1003e45fc LDRB W8, [X0,#0x588] ; +0xc, 0x1003e4600 TBNZ W8, #0, loc_1003E4658 ; +0x10, 0x1003e4604 MOV X19, X0 ; +0x14, 0x1003e4608 LDR X1, [X0,#0x4E8] ; +0x18, 0x1003e460c LDR X8, [X1,#0x790] ; +0x1c, 0x1003e4610 CBZ X8, loc_1003E4624 ; +0x20, 0x1003e4614 LDR W8, [X8,#0x404] ; +0x24, 0x1003e4618 CMP W8, #2 ; +0x28, 0x1003e461c B.NE loc_1003E4658 ; +0x2c, 0x1003e4620 LDR X0, [X1,#0xCD8] ; +0x30, 0x1003e4624 BL LevelSettingsLayer__create ; +0x34, 0x1003e4628 LDR X8, [X19,#0x4E8] ; +0x38, 0x1003e462c MOV W9, #0x35A0 ; +0x3c, 0x1003e4630 ADD X9, X8, X9 ; +0x40, 0x1003e4634 CMP X8, #0 ; +0x44, 0x1003e4638 CSEL X8, XZR, X9, EQ ; +0x48, 0x1003e463c STR X8, [X0,#0x338] ; +0x4c, 0x1003e4640 LDR X8, [X0] ; +0x50, 0x1003e4644 LDR X1, [X8,#0x508] ; +0x54, 0x1003e4648 LDP X29, X30, [SP,#0x10+var_s0] ; +0x58, 0x1003e464c LDP X20, X19, [SP+0x10+var_10],#0x20 ; +0x5c, 0x1003e4650 BR X1 ; +0x60, 0x1003e4654 LDP X29, X30, [SP,#0x10+var_s0] ; +0x64, 0x1003e4658 LDP X20, X19, [SP+0x10+var_10],#0x20 ; +0x68, 0x1003e465c RET ; +0x6c, 0x1003e4660