//
// cocos2d::ccArrayFullRemoveArray from 0x5ec96e to 0x5ec9b0 (66 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
//
void __fastcall cocos2d::ccArrayFullRemoveArray(unsigned int *a1, int *a2)
{
unsigned int v2; // r4
int v5; // r6
_BOOL4 v6; // r0
unsigned int v7; // r3
cocos2d::CCObject *v8; // r0
v2 = 0;
v5 = 0;
while ( v2 < *a1 )
{
v6 = cocos2d::ccArrayContainsObject(a2, *(_DWORD *)(a1[3] + 4 * v2));
v7 = a1[3];
if ( v6 )
{
v8 = *(cocos2d::CCObject **)(v7 + 4 * v2);
if ( v8 )
cocos2d::CCObject::release(v8);
++v5;
}
else
{
*(_DWORD *)(v7 + 4 * (v2 - v5)) = *(_DWORD *)(v7 + 4 * v2);
}
++v2;
}
*a1 -= v5;
}