//
// cocos2d::CCArray::isEqualToArray from 0x1800071f0 to 0x180007265 (117 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b79f0
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:21:18 +0000
//
char __fastcall cocos2d::CCArray::isEqualToArray(cocos2d::CCArray *this, struct cocos2d::CCArray *a2)
{
__int64 v2; // r9
__int64 v3; // rbx
__int64 v6; // rcx
v2 = *((_QWORD *)this + 7);
v3 = 0;
if ( !*(_DWORD *)v2 )
return 1;
while ( 1 )
{
v6 = *(_QWORD *)(8 * v3 + *(_QWORD *)(v2 + 16));
if ( !(*(unsigned __int8 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v6 + 16LL))(
v6,
*(_QWORD *)(*(_QWORD *)(*((_QWORD *)a2 + 7) + 16LL) + 8 * v3)) )
break;
v2 = *((_QWORD *)this + 7);
v3 = (unsigned int)(v3 + 1);
if ( (unsigned int)v3 >= *(_DWORD *)v2 )
return 1;
}
return 0;
}