//
// ColorSelectLiveOverlay::toggleControls from 0x1000f65b8 to 0x1000f6620 (104 bytes)
//
// 1 xrefs:
// > ColorSelectLiveOverlay::updateColorLabel @ 0x1000f6510
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void __fastcall ColorSelectLiveOverlay::toggleControls(ColorSelectLiveOverlay *a1, bool a2)
{
_BOOL8 v2; // x19
__int64 v4; // x21
__int64 v5; // x0
v2 = a2;
if ( (unsigned int)sub_10024A36C(a1->m_barSprites) )
{
v4 = 0;
do
{
v5 = sub_10024A388(a1->m_barSprites, v4);
(*(void (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)v5 + 328LL))(v5, v2);
v4 = (unsigned int)(v4 + 1);
}
while ( (unsigned int)v4 < (unsigned int)sub_10024A36C(a1->m_barSprites) );
}
}