// // ColorSelectPopup::onUpdateCustomColor from 0x73ca70 to 0x73caf0 (128 bytes) // // 4 xrefs: // > @ 0x3b778 // > ColorSelectPopup::init @ 0x73ea58 // > ColorSelectPopup::init @ 0x73eb00 // > @ 0x1229de8 // // 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 ColorSelectPopup::onUpdateCustomColor(ColorSelectPopup *a1, cocos2d::CCObject *a2) { int v3; // w0 int m_colorID; // w1 int v5; // w1 if ( a1->m_colorID > 999 ) a1->m_colorID = 0; v3 = a2->getTag(a2); m_colorID = a1->m_colorID; if ( v3 == 1 ) v5 = m_colorID + 1; else v5 = m_colorID - 1; if ( v5 < 0 ) v5 = 0; if ( v5 > 999 ) v5 = 999; a1->m_colorID = v5; ColorSelectPopup::updateCustomColorIdx(a1); SetupTriggerPopup::updateEditorLabel(a1); ColorSelectPopup::updateTextInputLabel(a1); }