//
// TableView::isDuplicateIndexPath from 0x100621bc0 to 0x100621c49 (137 bytes)
//
// 3 xrefs:
// > TableView::checkBoundaryOfContent @ 0x1006232f9
// > TableView::checkBoundaryOfContent @ 0x100623451
// > TableView::checkBoundaryOfContent @ 0x1006234bb
//
// 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 __fastcall TableView::isDuplicateIndexPath(TableView *a1, CCIndexPath *a2)
{
cocos2d::CCArray *m_indexPathArray; // rdi
unsigned int v4; // r14d
__int64 v5; // rax
m_indexPathArray = a1->m_indexPathArray;
if ( m_indexPathArray && (unsigned int)sub_100720070(m_indexPathArray) )
{
v4 = 0;
if ( (unsigned int)sub_100720070(a1->m_indexPathArray) )
{
while ( 1 )
{
v5 = sub_1007200C0(a1->m_indexPathArray, v4);
if ( *(_DWORD *)(v5 + 60) == a2->m_section && *(_DWORD *)(v5 + 56) == a2->m_row )
break;
if ( ++v4 >= (unsigned int)sub_100720070(a1->m_indexPathArray) )
goto LABEL_9;
}
LOBYTE(v4) = 1;
}
}
else
{
LABEL_9:
LOBYTE(v4) = 0;
}
return v4;
}