//
// TableView::isDuplicateInVisibleCellArray from 0x57a818 to 0x57a88c (116 bytes)
//
// 5 xrefs:
// > TableView::checkFirstCell @ 0x57be3c
// > TableView::checkLastCell @ 0x57c198
// > TableView::checkBoundaryOfContent @ 0x57c6f0
// > TableView::checkBoundaryOfContent @ 0x57ca10
// > ??> @ 0xabae0
//
// 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 TableView::isDuplicateInVisibleCellArray(TableView *a1, CCIndexPath *a2)
{
cocos2d::CCArray *m_cellArray; // x0
unsigned int v5; // w19
__int64 v6; // x0
bool v7; // cf
unsigned int v8; // w1
m_cellArray = a1->m_cellArray;
if ( m_cellArray && (unsigned int)cocos2d::CCArray::count(m_cellArray) )
{
v5 = 0;
while ( 1 )
{
v7 = v5 >= (unsigned int)cocos2d::CCArray::count(a1->m_cellArray);
v8 = v5++;
if ( v7 )
break;
v6 = cocos2d::CCArray::objectAtIndex(a1->m_cellArray, v8);
if ( *(_QWORD *)(v6 + 480) == *(_QWORD *)&a2->m_row )
return v6;
}
}
LOBYTE(v6) = 0;
return v6;
}