; ; CustomizeObjectLayer::onNextColorChannel from 0x100058740 to 0x1000587d4 (148 bytes) ; ; 1 xrefs: ; > CustomizeObjectLayer::init @ 0x1000577a8 ; ; 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 10:57:46 +0000 ; STP X22, X21, [SP,#-0x10+var_20]! ; +0x0, 0x100058740 STP X20, X19, [SP,#0x20+var_10] ; +0x4, 0x100058744 STP X29, X30, [SP,#0x20+var_s0] ; +0x8, 0x100058748 ADD X29, SP, #0x20 ; +0xc, 0x10005874c MOV X19, X0 ; +0x10, 0x100058750 BL GameManager__sharedState ; +0x14, 0x100058754 LDR X0, [X0,#0x228] ; +0x18, 0x100058758 BL LevelEditorLayer__getNextColorChannel ; +0x1c, 0x10005875c MOV X20, X0 ; +0x20, 0x100058760 SUB W8, W0, #0xA ; +0x24, 0x100058764 MOV X21, X0 ; +0x28, 0x100058768 CMP W8, #0x3DD ; +0x2c, 0x10005876c B.HI loc_100058790 ; +0x30, 0x100058770 STR W20, [X19,#0x2EC] ; +0x34, 0x100058774 MOV W8, #1 ; +0x38, 0x100058778 STRB W8, [X19,#0x39A] ; +0x3c, 0x10005877c MOV X0, X19 ; +0x40, 0x100058780 BL CustomizeObjectLayer__updateCustomColorLabels ; +0x44, 0x100058784 STRB WZR, [X19,#0x39A] ; +0x48, 0x100058788 MOV W21, #0x3F0 ; +0x4c, 0x10005878c MOV X0, X19 ; +0x50, 0x100058790 MOV X1, X20 ; +0x54, 0x100058794 BL CustomizeObjectLayer__updateSelected ; +0x58, 0x100058798 MOV X0, X19 ; +0x5c, 0x10005879c MOV X1, X21 ; +0x60, 0x1000587a0 BL CustomizeObjectLayer__getButtonByTag ; +0x64, 0x1000587a4 MOV X1, X0 ; +0x68, 0x1000587a8 MOV X0, X19 ; +0x6c, 0x1000587ac BL CustomizeObjectLayer__highlightSelected ; +0x70, 0x1000587b0 MOV X0, X19 ; +0x74, 0x1000587b4 BL CustomizeObjectLayer__updateColorSprite ; +0x78, 0x1000587b8 MOV X0, X19 ; +0x7c, 0x1000587bc MOV X1, X20 ; +0x80, 0x1000587c0 LDP X29, X30, [SP,#0x20+var_s0] ; +0x84, 0x1000587c4 LDP X20, X19, [SP,#0x20+var_10] ; +0x88, 0x1000587c8 LDP X22, X21, [SP+0x20+var_20],#0x30 ; +0x8c, 0x1000587cc B CustomizeObjectLayer__updateChannelLabel ; +0x90, 0x1000587d0