//
// ColorSelectLiveOverlay::toggleControls from 0x4ce8a2 to 0x4ce8d0 (46 bytes)
//
// 1 xrefs:
// > ColorSelectLiveOverlay::updateColorLabel @ 0x4ce96c
//
// 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 ColorSelectLiveOverlay::toggleControls(ColorSelectLiveOverlay *a1, bool a2)
{
_BOOL4 v3; // r6
unsigned int i; // r4
int v5; // r0
v3 = a2;
for ( i = 0; i < cocos2d::CCArray::count(a1->m_barSprites); ++i )
{
v5 = cocos2d::CCArray::objectAtIndex(a1->m_barSprites, i);
(*(void (__fastcall **)(int, _BOOL4))(*(_DWORD *)v5 + 164))(v5, v3);
}
}