//
// ColorSelectPopup::updateHSVMode from 0x3da5e0 to 0x3da69c (188 bytes)
//
// 2 xrefs:
// > ColorSelectPopup::init @ 0x3dc3b4
// > ColorSelectPopup::onToggleHSVMode @ 0x3dc72e
//
// 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::updateHSVMode(ColorSelectPopup *a1)
{
unsigned int i; // r5
int v3; // r0
unsigned int j; // r5
int v5; // r0
for ( i = 0; i < cocos2d::CCArray::count(a1->m_colorObjects); ++i )
{
v3 = cocos2d::CCArray::objectAtIndex(a1->m_colorObjects, i);
(*(void (__fastcall **)(int, bool))(*(_DWORD *)v3 + 164))(v3, !a1->m_showCopyObjects);
}
for ( j = 0; j < cocos2d::CCArray::count(a1->m_copyObjects); ++j )
{
v5 = cocos2d::CCArray::objectAtIndex(a1->m_copyObjects, j);
(*(void (__fastcall **)(int, bool))(*(_DWORD *)v5 + 164))(v5, a1->m_showCopyObjects);
}
a1->m_copyColorInput->setTouchEnabled(a1->m_copyColorInput, a1->m_showCopyObjects);
a1->m_rInput->setTouchEnabled(a1->m_rInput, !a1->m_showCopyObjects);
a1->m_gInput->setTouchEnabled(a1->m_gInput, !a1->m_showCopyObjects);
a1->m_bInput->setTouchEnabled(a1->m_bInput, !a1->m_showCopyObjects);
a1->m_hexInput->setTouchEnabled(a1->m_hexInput, !a1->m_showCopyObjects);
}