//
// TableView::removeIndexPathFromPathAddedArray from 0x100621c50 to 0x100621cef (159 bytes)
//
// 1 xrefs:
// > TableView::deleteTableViewCell @ 0x10062229e
//
// 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 __fastcall TableView::removeIndexPathFromPathAddedArray(TableView *a1, CCIndexPath *a2)
{
cocos2d::CCArray *m_indexPathArray; // rdi
unsigned int v4; // r15d
__int64 v5; // rax
m_indexPathArray = a1->m_indexPathArray;
if ( m_indexPathArray && (unsigned int)sub_100720070(m_indexPathArray) )
{
v4 = 0;
if ( (unsigned int)sub_100720070(a1->m_indexPathArray) )
{
while ( 1 )
{
v5 = sub_1007200C0(a1->m_indexPathArray, v4);
if ( *(_DWORD *)(v5 + 60) == a2->m_section && *(_DWORD *)(v5 + 56) == a2->m_row )
break;
if ( ++v4 >= (unsigned int)sub_100720070(a1->m_indexPathArray) )
goto LABEL_9;
}
sub_100720220(a1->m_indexPathArray, v5, 1);
LOBYTE(v4) = 1;
}
}
else
{
LABEL_9:
LOBYTE(v4) = 0;
}
return v4;
}