//
// TableView::isDuplicateInVisibleCellArray from 0x1006fe310 to 0x1006fe398 (136 bytes)
//
// 0 xrefs:
//
// 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 12:35:57 +0000
//
__int64 __fastcall TableView::isDuplicateInVisibleCellArray(__int64 a1, __int64 a2)
{
__int64 v3; // rdi
unsigned int v4; // r15d
__int64 result; // rax
v3 = *(_QWORD *)(a1 + 592);
if ( !v3 || !(unsigned int)sub_1007FEF90(v3) || !(unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 592)) )
return 0;
v4 = 0;
while ( 1 )
{
result = sub_1007FEFE0(*(_QWORD *)(a1 + 592), v4);
if ( *(_DWORD *)(result + 484) == *(_DWORD *)(a2 + 60) && *(_DWORD *)(result + 480) == *(_DWORD *)(a2 + 56) )
break;
if ( ++v4 >= (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 592)) )
return 0;
}
return result;
}