//
// TableView::isDuplicateInVisibleCellArray from 0x3c9440 to 0x3c9486 (70 bytes)
//
// 4 xrefs:
// > TableView::checkFirstCell @ 0x3ca130
// > TableView::checkLastCell @ 0x3ca2ec
// > TableView::checkBoundaryOfContent @ 0x3ca68a
// > TableView::checkBoundaryOfContent @ 0x3ca6d2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:46:36 +0000
//
int __fastcall TableView::isDuplicateInVisibleCellArray(int a1, int a2)
{
cocos2d::CCArray *v3; // r0
unsigned int i; // r4
int result; // r0
v3 = *(cocos2d::CCArray **)(a1 + 444);
if ( v3 && cocos2d::CCArray::count(v3) )
{
for ( i = 0; i < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 444)); ++i )
{
result = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 444), i);
if ( *(_DWORD *)(result + 380) == *(_DWORD *)(a2 + 56) && *(_DWORD *)(result + 376) == *(_DWORD *)(a2 + 52) )
return result;
}
}
return 0;
}