//
// cocos2d::CCArray::isEqualToArray from 0x5c1f32 to 0x5c1f70 (62 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
//
int __fastcall cocos2d::CCArray::isEqualToArray(cocos2d::CCArray *this, cocos2d::CCArray *a2)
{
unsigned int i; // r4
cocos2d::CCObject *v5; // r6
bool (__fastcall *isEqual)(cocos2d::CCObject *__hidden, const cocos2d::CCObject *); // r8
cocos2d::CCObject *v7; // r0
int result; // r0
for ( i = 0; i < cocos2d::CCArray::count(this); ++i )
{
v5 = cocos2d::CCArray::objectAtIndex(this, i);
isEqual = v5->isEqual;
v7 = cocos2d::CCArray::objectAtIndex(a2, i);
result = ((int (__fastcall *)(cocos2d::CCObject *, cocos2d::CCObject *))isEqual)(v5, v7);
if ( !result )
return result;
}
return 1;
}