//
// TableView::isDuplicateInVisibleCellArray from 0x140074950 to 0x1400749da (138 bytes)
//
// 4 xrefs:
// > TableView::checkBoundaryOfContent @ 0x140075fa4
// > TableView::checkFirstCell @ 0x140076494
// > TableView::checkLastCell @ 0x140076740
// > ??> @ 0x1406c6390
//
// 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; // rcx
unsigned int v5; // ebx
struct cocos2d::CCObject *v6; // rax
m_cellArray = a1->m_cellArray;
if ( m_cellArray && cocos2d::CCArray::count(m_cellArray) && (v5 = 0, cocos2d::CCArray::count(a1->m_cellArray)) )
{
while ( 1 )
{
v6 = cocos2d::CCArray::objectAtIndex(a1->m_cellArray, v5);
if ( v6[8].m_uUnknown == a2->m_section && v6[8].m_uIndexInArray == a2->m_row )
break;
if ( ++v5 >= cocos2d::CCArray::count(a1->m_cellArray) )
goto LABEL_7;
}
}
else
{
LABEL_7:
LOBYTE(v6) = 0;
}
return (char)v6;
}