// // ColorSelectPopup::onUpdateCustomColor from 0x100728710 to 0x10072877c (108 bytes) // // 1 xrefs: // > ColorSelectPopup::init @ 0x100726c39 // // 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 v2; // eax int v3; // ecx int v4; // eax if ( a1->m_copyColorID >= 1000 ) a1->m_copyColorID = 0; v2 = a1->m_copyColorID + 2 * (((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) != 1) - 1; v3 = 0; if ( v2 > 0 ) v3 = v2; v4 = 999; if ( v3 < 999 ) v4 = v3; a1->m_copyColorID = v4; ColorSelectPopup::updateCopyColor(a1); ColorSelectPopup::updateCopyColorTextInputLabel(a1); }