//
// CCLightFlash::removeLights from 0x6c7488 to 0x6c74dc (84 bytes)
//
// 3 xrefs:
// > ??> @ 0x6a0f0
// > CCLightFlash::showFlash @ 0x6c7a78
// > ??> @ 0x15429c8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:51:21 +0000
//
__int64 __fastcall CCLightFlash::removeLights(cocos2d::CCArray **this)
{
unsigned int v2; // w19
__int64 v3; // x0
__int64 result; // x0
bool v5; // cf
unsigned int v6; // w1
v2 = 0;
while ( 1 )
{
result = cocos2d::CCArray::count(*(this + 40));
v5 = v2 >= (unsigned int)result;
v6 = v2++;
if ( v5 )
break;
v3 = cocos2d::CCArray::objectAtIndex(*(this + 40), v6);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 528LL))(v3, 1);
}
return result;
}