//
// TableView::isDuplicateIndexPath from 0x140087990 to 0x140087a26 (150 bytes)
//
// 7 xrefs:
// > TableView::reloadData @ 0x140087ef3
// > TableView::checkBoundaryOfContent @ 0x140089087
// > TableView::checkBoundaryOfContent @ 0x1400892a5
// > TableView::checkFirstCell @ 0x14008955d
// > TableView::checkLastCell @ 0x140089788
// > TableView::checkLastCell @ 0x140089a05
// > ??> @ 0x1409125c0
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:25:57 +0000
//
char __fastcall TableView::isDuplicateIndexPath(__int64 a1, __int64 a2)
{
cocos2d::CCArray *v4; // rcx
unsigned int v5; // ebx
struct cocos2d::CCObject *v6; // rax
v4 = *(cocos2d::CCArray **)(a1 + 600);
if ( !v4 )
return 0;
if ( !cocos2d::CCArray::count(v4) )
return 0;
v5 = 0;
if ( !cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 600)) )
return 0;
while ( 1 )
{
v6 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 600), v5);
if ( *((_DWORD *)v6 + 15) == *(_DWORD *)(a2 + 60) && *((_DWORD *)v6 + 14) == *(_DWORD *)(a2 + 56) )
break;
if ( ++v5 >= cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 600)) )
return 0;
}
return 1;
}