; ; EditorUI::toggleEnableRotate from 0x100470eac to 0x100470f50 (164 bytes) ; ; 3 xrefs: ; > EditorUI::handleEditorAction @ 0x10016320c ; > EditorUI::init @ 0x100470964 ; > EditorUI::init @ 0x10046ee50 ; ; 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, 0x100470eac STP X20, X19, [SP,#0x20+var_10] ; +0x4, 0x100470eb0 STP X29, X30, [SP,#0x20+var_s0] ; +0x8, 0x100470eb4 ADD X29, SP, #0x20 ; +0xc, 0x100470eb8 MOV X19, X0 ; +0x10, 0x100470ebc BL GameManager__sharedState ; +0x14, 0x100470ec0 ADRL X20, a0007; "0007" ; +0x18, 0x100470ec4 MOV X1, X20 ; +0x20, 0x100470ecc BL GameManager__getGameVariable ; +0x24, 0x100470ed0 EOR W21, W0, #1 ; +0x28, 0x100470ed4 BL GameManager__sharedState ; +0x2c, 0x100470ed8 MOV X1, X20 ; +0x30, 0x100470edc MOV X2, X21 ; +0x34, 0x100470ee0 BL GameManager__setGameVariable ; +0x38, 0x100470ee4 BL EditorSFXManager__sharedState ; +0x3c, 0x100470ee8 MOV W1, #0xC1 ; +0x40, 0x100470eec MOV W2, #0xBD ; +0x44, 0x100470ef0 BL EditorSFXManager__playAction ; +0x48, 0x100470ef4 LDR X0, [X19,#0x3D8] ; +0x4c, 0x100470ef8 LDR X8, [X0] ; +0x50, 0x100470efc LDR X8, [X8,#0x430] ; +0x54, 0x100470f00 BLR X8 ; +0x58, 0x100470f04 TBNZ W21, #0, loc_100470F2C ; +0x5c, 0x100470f08 ADRL X1, aGjButton01Png; "GJ_button_01.png" ; +0x60, 0x100470f0c BL ButtonSprite__updateBGImage ; +0x68, 0x100470f14 MOV X0, X19 ; +0x6c, 0x100470f18 LDP X29, X30, [SP,#0x20+var_s0] ; +0x70, 0x100470f1c LDP X20, X19, [SP,#0x20+var_10] ; +0x74, 0x100470f20 LDP X22, X21, [SP+0x20+var_20],#0x30 ; +0x78, 0x100470f24 B EditorUI__deactivateRotationControl ; +0x7c, 0x100470f28 ADRL X1, aGjButton02Png; "GJ_button_02.png" ; +0x80, 0x100470f2c BL ButtonSprite__updateBGImage ; +0x88, 0x100470f34 MOV X0, X19 ; +0x8c, 0x100470f38 MOV W1, #1 ; +0x90, 0x100470f3c LDP X29, X30, [SP,#0x20+var_s0] ; +0x94, 0x100470f40 LDP X20, X19, [SP,#0x20+var_10] ; +0x98, 0x100470f44 LDP X22, X21, [SP+0x20+var_20],#0x30 ; +0x9c, 0x100470f48 B EditorUI__toggleSpecialEditButtons ; +0xa0, 0x100470f4c