//
// CCLightFlash::removeLights from 0x100031454 to 0x1000314b0 (92 bytes)
//
// 1 xrefs:
// > CCLightFlash::showFlash @ 0x100031254
//
// 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 CCLightFlash::removeLights(CCLightFlash *a1)
{
__int64 v2; // x20
__int64 v3; // x0
if ( (unsigned int)sub_10024A36C(a1->m_lightStripArray) )
{
v2 = 0;
do
{
v3 = sub_10024A388(a1->m_lightStripArray, v2);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 512LL))(v3, 1);
v2 = (unsigned int)(v2 + 1);
}
while ( (unsigned int)v2 < (unsigned int)sub_10024A36C(a1->m_lightStripArray) );
}
}