//
// cocos2d::ccCArrayFullRemoveArray from 0x5ecb42 to 0x5ecb7a (56 bytes)
//
// 0 xrefs:
//
// 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
//
bool __fastcall cocos2d::ccCArrayFullRemoveArray(_BOOL4 result, _DWORD *a2)
{
unsigned int v2; // r4
unsigned int *v3; // r5
int v5; // r6
v2 = 0;
v3 = (unsigned int *)result;
v5 = 0;
while ( v2 < *v3 )
{
result = cocos2d::ccCArrayContainsValue(a2, *(_DWORD *)(v3[3] + 4 * v2));
if ( result )
++v5;
else
*(_DWORD *)(v3[3] + 4 * (v2 - v5)) = *(_DWORD *)(v3[3] + 4 * v2);
++v2;
}
*v3 -= v5;
return result;
}