// // ColorSelectPopup::onUpdateCustomColor from 0x140092d10 to 0x140092d82 (114 bytes) // // 3 xrefs: // > ColorSelectPopup::init @ 0x14008f706 // > ColorSelectPopup::init @ 0x14008f79f // > @ 0x1406c708c // // 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 v2; // edi int v4; // eax int m_colorID; // ecx int v6; // edx int v7; // ecx v2 = 0; if ( a1->m_colorID >= 1000 ) a1->m_colorID = 0; v4 = a2->getTag(a2); m_colorID = a1->m_colorID; v6 = m_colorID - 1; v7 = m_colorID + 1; if ( v4 != 1 ) v7 = v6; if ( v7 >= 0 ) v2 = v7; if ( v2 > 999 ) v2 = 999; a1->m_colorID = v2; ColorSelectPopup::updateCustomColorIdx(a1); SetupTriggerPopup::updateEditorLabel(a1); ColorSelectPopup::updateTextInputLabel(a1); }