//
// TableView::isDuplicateInVisibleCellArray from 0x695f44 to 0x695fb8 (116 bytes)
//
// 5 xrefs:
// > TableView::checkFirstCell @ 0x697528
// > TableView::checkLastCell @ 0x697884
// > TableView::checkBoundaryOfContent @ 0x697ddc
// > TableView::checkBoundaryOfContent @ 0x6980fc
// > ??> @ 0xe0f50
//
// This function is hookable on this platform (idp: arm, 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 12:50:37 +0000
//
__int64 __fastcall TableView::isDuplicateInVisibleCellArray(__int64 a1, __int64 a2)
{
cocos2d::CCArray *v3; // x0
unsigned int v5; // w19
__int64 result; // x0
bool v7; // cf
unsigned int v8; // w1
v3 = *(cocos2d::CCArray **)(a1 + 592);
if ( v3 && (unsigned int)cocos2d::CCArray::count(v3) )
{
v5 = 0;
while ( 1 )
{
v7 = v5 >= (unsigned int)cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 592));
v8 = v5++;
if ( v7 )
break;
result = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 592), v8);
if ( *(_QWORD *)(result + 480) == *(_QWORD *)(a2 + 56) )
return result;
}
}
return 0;
}