; ; EditorUI::toggleSnap from 0x100470e28 to 0x100470eac (132 bytes) ; ; 3 xrefs: ; > EditorUI::handleEditorAction @ 0x100163128 ; > EditorUI::init @ 0x10047095c ; > EditorUI::init @ 0x10046ee10 ; ; 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 X22, X21, [SP,#-0x10+var_20]! ; +0x0, 0x100470e28 STP X20, X19, [SP,#0x20+var_10] ; +0x4, 0x100470e2c STP X29, X30, [SP,#0x20+var_s0] ; +0x8, 0x100470e30 ADD X29, SP, #0x20 ; +0xc, 0x100470e34 MOV X19, X0 ; +0x10, 0x100470e38 BL GameManager__sharedState ; +0x14, 0x100470e3c ADRL X20, a0008; "0008" ; +0x18, 0x100470e40 MOV X1, X20 ; +0x20, 0x100470e48 BL GameManager__getGameVariable ; +0x24, 0x100470e4c MOV X21, X0 ; +0x28, 0x100470e50 BL GameManager__sharedState ; +0x2c, 0x100470e54 EOR W2, W21, #1 ; +0x30, 0x100470e58 MOV X1, X20 ; +0x34, 0x100470e5c BL GameManager__setGameVariable ; +0x38, 0x100470e60 LDR X0, [X19,#0x3D0] ; +0x3c, 0x100470e64 LDR X8, [X0] ; +0x40, 0x100470e68 LDR X8, [X8,#0x430] ; +0x44, 0x100470e6c BLR X8 ; +0x48, 0x100470e70 ADRL X8, aGjButton02Png; "GJ_button_02.png" ; +0x4c, 0x100470e74 ADRL X9, aGjButton01Png; "GJ_button_01.png" ; +0x54, 0x100470e7c CMP W21, #0 ; +0x5c, 0x100470e84 CSEL X1, X9, X8, NE ; +0x60, 0x100470e88 BL ButtonSprite__updateBGImage ; +0x64, 0x100470e8c BL EditorSFXManager__sharedState ; +0x68, 0x100470e90 MOV W1, #0xBE ; +0x6c, 0x100470e94 MOV W2, #0xBD ; +0x70, 0x100470e98 LDP X29, X30, [SP,#0x20+var_s0] ; +0x74, 0x100470e9c LDP X20, X19, [SP,#0x20+var_10] ; +0x78, 0x100470ea0 LDP X22, X21, [SP+0x20+var_20],#0x30 ; +0x7c, 0x100470ea4 B EditorSFXManager__playAction ; +0x80, 0x100470ea8