; ; CustomizeObjectLayer::onNextColorChannel from 0x10004ff24 to 0x10004ffb8 (148 bytes) ; ; 1 xrefs: ; > CustomizeObjectLayer::init @ 0x10004efd4 ; ; 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 X22, X21, [SP,#-0x10+var_20]! ; +0x0, 0x10004ff24 STP X20, X19, [SP,#0x20+var_10] ; +0x4, 0x10004ff28 STP X29, X30, [SP,#0x20+var_s0] ; +0x8, 0x10004ff2c ADD X29, SP, #0x20 ; +0xc, 0x10004ff30 MOV X19, X0 ; +0x10, 0x10004ff34 BL GameManager__sharedState ; +0x14, 0x10004ff38 LDR X0, [X0,#0x200] ; +0x18, 0x10004ff3c BL LevelEditorLayer__getNextColorChannel ; +0x1c, 0x10004ff40 MOV X20, X0 ; +0x20, 0x10004ff44 SUB W8, W0, #0xA ; +0x24, 0x10004ff48 MOV X21, X0 ; +0x28, 0x10004ff4c CMP W8, #0x3DD ; +0x2c, 0x10004ff50 B.HI loc_10004FF74 ; +0x30, 0x10004ff54 STR W20, [X19,#0x2D4] ; +0x34, 0x10004ff58 MOV W8, #1 ; +0x38, 0x10004ff5c STRB W8, [X19,#0x382] ; +0x3c, 0x10004ff60 MOV X0, X19 ; +0x40, 0x10004ff64 BL CustomizeObjectLayer__updateCustomColorLabels ; +0x44, 0x10004ff68 STRB WZR, [X19,#0x382] ; +0x48, 0x10004ff6c MOV W21, #0x3F0 ; +0x4c, 0x10004ff70 MOV X0, X19 ; +0x50, 0x10004ff74 MOV X1, X20 ; +0x54, 0x10004ff78 BL CustomizeObjectLayer__updateSelected ; +0x58, 0x10004ff7c MOV X0, X19 ; +0x5c, 0x10004ff80 MOV X1, X21 ; +0x60, 0x10004ff84 BL CustomizeObjectLayer__getButtonByTag ; +0x64, 0x10004ff88 MOV X1, X0 ; +0x68, 0x10004ff8c MOV X0, X19 ; +0x6c, 0x10004ff90 BL CustomizeObjectLayer__highlightSelected ; +0x70, 0x10004ff94 MOV X0, X19 ; +0x74, 0x10004ff98 BL CustomizeObjectLayer__updateColorSprite ; +0x78, 0x10004ff9c MOV X0, X19 ; +0x7c, 0x10004ffa0 MOV X1, X20 ; +0x80, 0x10004ffa4 LDP X29, X30, [SP,#0x20+var_s0] ; +0x84, 0x10004ffa8 LDP X20, X19, [SP,#0x20+var_10] ; +0x88, 0x10004ffac LDP X22, X21, [SP+0x20+var_20],#0x30 ; +0x8c, 0x10004ffb0 B CustomizeObjectLayer__updateChannelLabel ; +0x90, 0x10004ffb4