; ; EditorUI::toggleMode from 0x100470be4 to 0x100470c98 (180 bytes) ; ; 4 xrefs: ; > EditorUI::handleEditorAction @ 0x1001630c4 ; > EditorUI::init @ 0x10046f904 ; > EditorUI::onPlaytest @ 0x100471464 ; > EditorUI::init @ 0x10046e934 ; ; 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:38 +0000 ; STP X20, X19, [SP,#-0x10+var_10]! ; +0x0, 0x100470be4 STP X29, X30, [SP,#0x10+var_s0] ; +0x4, 0x100470be8 ADD X29, SP, #0x10 ; +0x8, 0x100470bec MOV X19, X0 ; +0xc, 0x100470bf0 LDR X8, [X1] ; +0x10, 0x100470bf4 LDR X8, [X8,#0x40] ; +0x14, 0x100470bf8 MOV X0, X1 ; +0x18, 0x100470bfc BLR X8 ; +0x1c, 0x100470c00 LDR W8, [X19,#0x59C] ; +0x20, 0x100470c04 CMP W8, W0 ; +0x24, 0x100470c08 B.EQ loc_100470C8C ; +0x28, 0x100470c0c MOV X20, X0 ; +0x2c, 0x100470c10 STR W0, [X19,#0x59C] ; +0x30, 0x100470c14 MOV X0, X19 ; +0x34, 0x100470c18 BL EditorUI__resetUI ; +0x38, 0x100470c1c SUB W8, W20, #1 ; +0x3c, 0x100470c20 CMP W8, #3 ; +0x40, 0x100470c24 B.HI loc_100470C3C ; +0x44, 0x100470c28 ADRL X9, dword_10076F2C0 ; +0x48, 0x100470c2c LDR W20, [X9,W8,UXTW#2] ; +0x50, 0x100470c34 B loc_100470C40 ; +0x54, 0x100470c38 MOV W20, #0xA9 ; +0x58, 0x100470c3c BL EditorSFXManager__sharedState ; +0x5c, 0x100470c40 MOV X1, X20 ; +0x60, 0x100470c44 MOV W2, #0xA9 ; +0x64, 0x100470c48 BL EditorSFXManager__playAction ; +0x68, 0x100470c4c LDR W8, [X19,#0x59C] ; +0x6c, 0x100470c50 SUB W8, W8, #1 ; +0x70, 0x100470c54 CMP W8, #3 ; +0x74, 0x100470c58 B.HI loc_100470C8C ; +0x78, 0x100470c5c LSL W8, W8, #3 ; +0x7c, 0x100470c60 ADD X8, X19, X8 ; +0x80, 0x100470c64 LDR X0, [X8,#0x398] ; +0x84, 0x100470c68 LDR X8, [X0] ; +0x88, 0x100470c6c LDR X8, [X8,#0x430] ; +0x8c, 0x100470c70 BLR X8 ; +0x90, 0x100470c74 ADRL X1, aGjButton02Png; "GJ_button_02.png" ; +0x94, 0x100470c78 LDP X29, X30, [SP,#0x10+var_s0] ; +0x9c, 0x100470c80 LDP X20, X19, [SP+0x10+var_10],#0x20 ; +0xa0, 0x100470c84 B ButtonSprite__updateBGImage ; +0xa4, 0x100470c88 LDP X29, X30, [SP,#0x10+var_s0] ; +0xa8, 0x100470c8c LDP X20, X19, [SP+0x10+var_10],#0x20 ; +0xac, 0x100470c90 RET ; +0xb0, 0x100470c94