// // CustomizeObjectLayer::onUpdateCustomColor from 0x10004fadc to 0x10004fb64 (136 bytes) // // 1 xrefs: // > CustomizeObjectLayer::init @ 0x10004e4c8 // // 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 __fastcall CustomizeObjectLayer::onUpdateCustomColor(CustomizeObjectLayer *a1, cocos2d::CCObject *a2) { int v3; // w9 int v4; // w8 a1->m_disableTextDelegate = 1; if ( ((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) == 1 ) v3 = 1; else v3 = -1; v4 = a1->m_customColorChannel + v3; if ( v4 <= 10 ) v4 = 10; if ( v4 >= 999 ) v4 = 999; a1->m_customColorChannel = v4; CustomizeObjectLayer::updateCustomColorLabels(a1); CustomizeObjectLayer::updateSelected(a1, a1->m_customColorChannel); a1->m_disableTextDelegate = 0; CustomizeObjectLayer::updateColorSprite(a1); CustomizeObjectLayer::updateChannelLabel(a1, a1->m_customColorChannel); }
GD Web Decomp Icon

GD Web Decomp

Raw Source