// // 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 // void CustomizeObjectLayer::onNextColorChannel(CustomizeObjectLayer *a1, cocos2d::CCObject *a2) { GameManager *v3; // r0 int NextColorChannel; // r0 int v5; // r5 int v6; // r6 ButtonSprite *ButtonByTag; // r0 v3 = GameManager::sharedState(); NextColorChannel = LevelEditorLayer::getNextColorChannel(v3->m_levelEditorLayer); v5 = NextColorChannel; if ( (unsigned int)(NextColorChannel - 10) > 0x3DD ) { v6 = NextColorChannel; } else { a1->m_customColorChannel = NextColorChannel; a1->m_disableTextDelegate = 1; CustomizeObjectLayer::updateCustomColorLabels(a1); v6 = 1008; a1->m_disableTextDelegate = 0; } CustomizeObjectLayer::updateSelected(a1, v5); ButtonByTag = CustomizeObjectLayer::getButtonByTag(a1, v6); CustomizeObjectLayer::highlightSelected(a1, ButtonByTag); CustomizeObjectLayer::updateColorSprite(a1); CustomizeObjectLayer::updateChannelLabel(a1, v5); }