//
// cocos2d::CCArray::isEqualToArray from 0x1800070a0 to 0x180007115 (117 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801ad9cc
//
// 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
//
char __fastcall cocos2d::CCArray::isEqualToArray(cocos2d::CCArray *this, struct cocos2d::CCArray *a2)
{
cocos2d::ccArray *data; // r9
__int64 v3; // rbx
cocos2d::CCObject *v6; // rcx
data = this->data;
v3 = 0;
if ( !data->num )
return 1;
while ( 1 )
{
v6 = data->arr[v3];
if ( !((unsigned __int8 (__fastcall *)(cocos2d::CCObject *, cocos2d::CCObject *))v6->isEqual)(v6, a2->data->arr[v3]) )
break;
data = this->data;
v3 = (unsigned int)(v3 + 1);
if ( (unsigned int)v3 >= data->num )
return 1;
}
return 0;
}