//
// TableView::isDuplicateIndexPath from 0x1400749e0 to 0x140074a76 (150 bytes)
//
// 7 xrefs:
// > TableView::reloadData @ 0x140074f5c
// > TableView::checkBoundaryOfContent @ 0x1400760d4
// > TableView::checkBoundaryOfContent @ 0x1400762f5
// > TableView::checkFirstCell @ 0x1400765aa
// > TableView::checkLastCell @ 0x1400767d9
// > TableView::checkLastCell @ 0x140076a57
// > ??> @ 0x1406c639c
//
// 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; // rcx
unsigned int v5; // ebx
struct cocos2d::CCObject *v6; // rax
m_indexPathArray = a1->m_indexPathArray;
if ( !m_indexPathArray )
return 0;
if ( !cocos2d::CCArray::count(m_indexPathArray) )
return 0;
v5 = 0;
if ( !cocos2d::CCArray::count(a1->m_indexPathArray) )
return 0;
while ( 1 )
{
v6 = cocos2d::CCArray::objectAtIndex(a1->m_indexPathArray, v5);
if ( HIDWORD(v6[1].__vftable) == a2->m_section && LODWORD(v6[1].__vftable) == a2->m_row )
break;
if ( ++v5 >= cocos2d::CCArray::count(a1->m_indexPathArray) )
return 0;
}
return 1;
}