; ; CustomizeObjectLayer::onNextColorChannel from 0x84189c to 0x841930 (148 bytes) ; ; 3 xrefs: ; > @ 0x3c720 ; > CustomizeObjectLayer::init @ 0x843174 ; > @ 0x1229eb0 ; ; 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 X29, X30, [SP,#var_30]! ; +0x0, 0x84189c MOV X29, SP ; +0x4, 0x8418a0 STP X19, X20, [SP,#0x30+var_20] ; +0x8, 0x8418a4 STR X21, [SP,#0x30+var_10] ; +0xc, 0x8418a8 MOV X19, X0 ; +0x10, 0x8418ac BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x14, 0x8418b0 LDR X0, [X0,#0x1E0]; this ; +0x18, 0x8418b4 BL _ZN16LevelEditorLayer19getNextColorChannelEv; LevelEditorLayer::getNextColorChannel(void) ; +0x1c, 0x8418b8 MOV W20, W0 ; +0x20, 0x8418bc SUB W0, W0, #0xA ; +0x24, 0x8418c0 MOV W21, W20 ; +0x28, 0x8418c4 CMP W0, #0x3DD ; +0x2c, 0x8418c8 B.HI loc_8418EC ; +0x30, 0x8418cc MOV W1, #1 ; +0x34, 0x8418d0 STR W20, [X19,#0x2D4] ; +0x38, 0x8418d4 MOV X0, X19; this ; +0x3c, 0x8418d8 STRB W1, [X19,#0x382] ; +0x40, 0x8418dc MOV W21, #0x3F0 ; +0x44, 0x8418e0 BL _ZN20CustomizeObjectLayer23updateCustomColorLabelsEv; CustomizeObjectLayer::updateCustomColorLabels(void) ; +0x48, 0x8418e4 STRB WZR, [X19,#0x382] ; +0x4c, 0x8418e8 MOV X0, X19; this ; +0x50, 0x8418ec MOV W1, W20; int ; +0x54, 0x8418f0 BL _ZN20CustomizeObjectLayer14updateSelectedEi; CustomizeObjectLayer::updateSelected(int) ; +0x58, 0x8418f4 MOV W1, W21; int ; +0x5c, 0x8418f8 MOV X0, X19; this ; +0x60, 0x8418fc BL _ZN20CustomizeObjectLayer14getButtonByTagEi; CustomizeObjectLayer::getButtonByTag(int) ; +0x64, 0x841900 MOV X1, X0; ButtonSprite * ; +0x68, 0x841904 MOV X0, X19; this ; +0x6c, 0x841908 BL _ZN20CustomizeObjectLayer17highlightSelectedEP12ButtonSprite; CustomizeObjectLayer::highlightSelected(ButtonSprite *) ; +0x70, 0x84190c MOV X0, X19; this ; +0x74, 0x841910 BL _ZN20CustomizeObjectLayer17updateColorSpriteEv; CustomizeObjectLayer::updateColorSprite(void) ; +0x78, 0x841914 LDR X21, [SP,#0x30+var_10] ; +0x7c, 0x841918 MOV X0, X19; this ; +0x80, 0x84191c MOV W1, W20; GJSpecialColorSelect * ; +0x84, 0x841920 LDP X19, X20, [SP,#0x30+var_20] ; +0x88, 0x841924 LDP X29, X30, [SP+0x30+var_30],#0x30 ; +0x8c, 0x841928 B _ZN20CustomizeObjectLayer18updateChannelLabelEi; CustomizeObjectLayer::updateChannelLabel(int) ; +0x90, 0x84192c