//
// cocos2d::CCArray::isEqualToArray from 0xad4108 to 0xad4190 (136 bytes)
//
// 1 xrefs:
// > ??> @ 0x995a0
//
// 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::CCArray::isEqualToArray(cocos2d::CCArray *this, cocos2d::CCArray *a2)
{
unsigned int v4; // w19
cocos2d::CCObject *v5; // x20
int v6; // w1
bool (__fastcall *isEqual)(cocos2d::CCObject *__hidden, const cocos2d::CCObject *); // x22
cocos2d::CCObject *v8; // x0
_BOOL8 result; // x0
v4 = 0;
while ( v4 < (unsigned int)cocos2d::CCArray::count(this) )
{
v5 = cocos2d::CCArray::objectAtIndex(this, v4);
v6 = v4++;
isEqual = v5->isEqual;
v8 = cocos2d::CCArray::objectAtIndex(a2, v6);
result = isEqual(v5, v8);
if ( !result )
return result;
}
return 1;
}