//
// TableView::isDuplicateIndexPath from 0x2e8ffe to 0x2e9044 (70 bytes)
//
// 6 xrefs:
// > TableView::reloadData @ 0x2e9726
// > TableView::checkFirstCell @ 0x2e9db8
// > TableView::checkLastCell @ 0x2e9f28
// > TableView::checkLastCell @ 0x2ea030
// > TableView::checkBoundaryOfContent @ 0x2ea3b4
// > TableView::checkBoundaryOfContent @ 0x2ea494
//
// 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; // r0
unsigned int i; // r4
int v6; // r0
m_indexPathArray = a1->m_indexPathArray;
if ( m_indexPathArray && cocos2d::CCArray::count(m_indexPathArray) )
{
for ( i = 0; i < cocos2d::CCArray::count(a1->m_indexPathArray); ++i )
{
v6 = cocos2d::CCArray::objectAtIndex(a1->m_indexPathArray, i);
if ( *(_DWORD *)(v6 + 56) == a2->m_section && *(_DWORD *)(v6 + 52) == a2->m_row )
return 1;
}
}
return 0;
}