// // CustomizeObjectLayer::onSelectColor from 0x8417a0 to 0x841820 (128 bytes) // // 7 xrefs: // > @ 0x3db90 // > CustomizeObjectLayer::init @ 0x84261c // > CustomizeObjectLayer::init @ 0x8426c0 // > CustomizeObjectLayer::init @ 0x842764 // > CustomizeObjectLayer::init @ 0x842804 // > CustomizeObjectLayer::init @ 0x8429b0 // > @ 0x1229f80 // // 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::onSelectColor(CustomizeObjectLayer *a1, cocos2d::CCObject *a2) { int m_customColorChannel; // w1 ButtonSprite *v5; // x0 int ActiveMode; // w0 m_customColorChannel = a2->getTag(a2); if ( m_customColorChannel == 1008 ) m_customColorChannel = a1->m_customColorChannel; CustomizeObjectLayer::updateSelected(a1, m_customColorChannel); v5 = (ButtonSprite *)((__int64 (__fastcall *)(cocos2d::CCObject *))a2->__vftable[13].~CCObject_0)(a2); CustomizeObjectLayer::highlightSelected(a1, v5); CustomizeObjectLayer::updateColorSprite(a1); ActiveMode = CustomizeObjectLayer::getActiveMode(a1, 1); CustomizeObjectLayer::updateChannelLabel(a1, ActiveMode); }