; ; CustomizeObjectLayer::onNextColorChannel from 0x462068 to 0x4620ce (102 bytes) ; ; 0 xrefs: ; ; 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 ; PUSH {R4-R6,LR} ; +0x0, 0x462068 MOV R4, R0 ; +0x2, 0x46206a BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x46206c LDR.W R0, [R0,#0x170]; this ; +0x8, 0x462070 BL _ZN16LevelEditorLayer19getNextColorChannelEv; LevelEditorLayer::getNextColorChannel(void) ; +0xc, 0x462074 MOVW R3, #0x3DD ; +0x10, 0x462078 SUB.W R2, R0, #0xA ; +0x14, 0x46207c MOV R5, R0 ; +0x18, 0x462080 CMP R2, R3 ; +0x1a, 0x462082 BHI loc_4620A2 ; +0x1c, 0x462084 MOVS R3, #1 ; +0x1e, 0x462086 STR.W R0, [R4,#0x220] ; +0x20, 0x462088 STRB.W R3, [R4,#0x27A] ; +0x24, 0x46208c MOV R0, R4; this ; +0x28, 0x462090 BL _ZN20CustomizeObjectLayer23updateCustomColorLabelsEv; CustomizeObjectLayer::updateCustomColorLabels(void) ; +0x2a, 0x462092 MOV.W R6, #0x3F0 ; +0x2e, 0x462096 MOVS R3, #0 ; +0x32, 0x46209a STRB.W R3, [R4,#0x27A] ; +0x34, 0x46209c B loc_4620A4 ; +0x38, 0x4620a0 MOV R6, R0 ; +0x3a, 0x4620a2 MOV R0, R4; this ; +0x3c, 0x4620a4 MOV R1, R5; int ; +0x3e, 0x4620a6 BL _ZN20CustomizeObjectLayer14updateSelectedEi; CustomizeObjectLayer::updateSelected(int) ; +0x40, 0x4620a8 MOV R1, R6; int ; +0x44, 0x4620ac MOV R0, R4; this ; +0x46, 0x4620ae BL _ZN20CustomizeObjectLayer14getButtonByTagEi; CustomizeObjectLayer::getButtonByTag(int) ; +0x48, 0x4620b0 MOV R1, R0; ButtonSprite * ; +0x4c, 0x4620b4 MOV R0, R4; this ; +0x4e, 0x4620b6 BL _ZN20CustomizeObjectLayer17highlightSelectedEP12ButtonSprite; CustomizeObjectLayer::highlightSelected(ButtonSprite *) ; +0x50, 0x4620b8 MOV R0, R4; this ; +0x54, 0x4620bc BL _ZN20CustomizeObjectLayer17updateColorSpriteEv; CustomizeObjectLayer::updateColorSprite(void) ; +0x56, 0x4620be MOV R0, R4; this ; +0x5a, 0x4620c2 MOV R1, R5; GJSpecialColorSelect * ; +0x5c, 0x4620c4 POP.W {R4-R6,LR} ; +0x5e, 0x4620c6 B.W _ZN20CustomizeObjectLayer18updateChannelLabelEi; CustomizeObjectLayer::updateChannelLabel(int) ; +0x62, 0x4620ca