//
// sub_10039B500 from 0x10039b500 to 0x10039b5a8 (168 bytes)
//
// 1 xrefs:
// > TableView::deleteTableViewCell @ 0x10039b834
//
// This function is hookable on this platform (idp: arm, 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:03:43 +0000
//
__int64 __fastcall sub_10039B500(__int64 a1, __int64 a2)
{
__int64 v3; // x0
unsigned int v5; // w21
__int64 v6; // x0
__int64 v7; // x19
__int64 v9; // x0
v3 = *(_QWORD *)(a1 + 608);
if ( !v3 || !(unsigned int)sub_1002E757C(v3) || !(unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 608)) )
return 0;
v5 = 0;
while ( 1 )
{
v6 = sub_1002E75A0(*(_QWORD *)(a1 + 608), v5);
if ( *(_DWORD *)(v6 + 60) == *(_DWORD *)(a2 + 60) && *(_DWORD *)(v6 + 56) == *(_DWORD *)(a2 + 56) )
break;
if ( ++v5 >= (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 608)) )
return 0;
}
v9 = *(_QWORD *)(a1 + 608);
v7 = 1;
sub_1002E765C(v9);
return v7;
}