// // ColorSelectPopup::onUpdateCustomColor from 0x10041f1b8 to 0x10041f224 (108 bytes) // // 1 xrefs: // > ColorSelectPopup::init @ 0x10041de64 // // 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 ColorSelectPopup::onUpdateCustomColor(ColorSelectPopup *a1, cocos2d::CCObject *a2) { int v3; // w0 int m_copyColorID; // w8 int v5; // w8 int v6; // w8 if ( a1->m_copyColorID >= 1000 ) a1->m_copyColorID = 0; v3 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); m_copyColorID = a1->m_copyColorID; if ( v3 == 1 ) v5 = m_copyColorID - 1; else v5 = m_copyColorID + 1; v6 = v5 & ~(v5 >> 31); if ( v6 >= 999 ) v6 = 999; a1->m_copyColorID = v6; ColorSelectPopup::updateCopyColor(a1); ColorSelectPopup::updateCopyColorTextInputLabel(a1); }