//
// ColorSelectLiveOverlay::toggleControls from 0x60199c to 0x6019ca (46 bytes)
//
// 1 xrefs:
// > ColorSelectLiveOverlay::updateColorLabel @ 0x601a84
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:54:41 +0000
//
unsigned int __fastcall ColorSelectLiveOverlay::toggleControls(cocos2d::CCArray **this, int a2)
{
unsigned int i; // r4
unsigned int result; // r0
int v6; // r0
for ( i = 0; ; ++i )
{
result = cocos2d::CCArray::count(*(this + 131));
if ( i >= result )
break;
v6 = cocos2d::CCArray::objectAtIndex(*(this + 131), i);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v6 + 172))(v6, a2);
}
return result;
}