//
// TableView::isDuplicateIndexPath from 0x57a88c to 0x57a914 (136 bytes)
//
// 8 xrefs:
// > TableView::reloadData @ 0x57b698
// > TableView::checkFirstCell @ 0x57bfb8
// > TableView::checkLastCell @ 0x57c334
// > TableView::checkLastCell @ 0x57c3b4
// > TableView::checkBoundaryOfContent @ 0x57c878
// > TableView::checkBoundaryOfContent @ 0x57cba4
// > TableView::checkBoundaryOfContent @ 0x57cc30
// > ??> @ 0x6b5f8
//
// 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::isDuplicateIndexPath(TableView *a1, CCIndexPath *a2)
{
cocos2d::CCArray *m_indexPathArray; // x0
unsigned int v5; // w19
bool v6; // cf
unsigned int v7; // w1
m_indexPathArray = a1->m_indexPathArray;
if ( m_indexPathArray && (unsigned int)cocos2d::CCArray::count(m_indexPathArray) )
{
v5 = 0;
while ( 1 )
{
v6 = v5 >= (unsigned int)cocos2d::CCArray::count(a1->m_indexPathArray);
v7 = v5++;
if ( v6 )
break;
if ( *(_QWORD *)(cocos2d::CCArray::objectAtIndex(a1->m_indexPathArray, v7) + 56) == *(_QWORD *)&a2->m_row )
return 1;
}
}
return 0;
}