//
// cocos2d::ccArrayRemoveArray from 0xb217b8 to 0xb21810 (88 bytes)
//
// 2 xrefs:
// > cocos2d::CCArray::removeObjectsInArray @ 0xad4638
// > ??> @ 0x57a98
//
// 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
//
__int64 __fastcall cocos2d::ccArrayRemoveArray(int *a1, unsigned int *a2)
{
__int64 result; // x0
unsigned int i; // w19
__int64 v6; // x1
result = *a2;
for ( i = 0; (unsigned int)result > i; result = *a2 )
{
v6 = *(_QWORD *)(*((_QWORD *)a2 + 2) + 8LL * i++);
cocos2d::ccArrayRemoveObject(a1, v6, 1);
}
return result;
}