//
// TableView::removeIndexPathFromPathAddedArray from 0x57a914 to 0x57a9ac (152 bytes)
//
// 2 xrefs:
// > TableView::deleteTableViewCell @ 0x57b004
// > ??> @ 0x70e18
//
// 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 TableView::removeIndexPathFromPathAddedArray(TableView *a1, CCIndexPath *a2)
{
cocos2d::CCArray *m_indexPathArray; // x0
unsigned int v5; // w19
cocos2d::CCObject *v6; // x1
bool v7; // cf
unsigned int v8; // w1
m_indexPathArray = a1->m_indexPathArray;
if ( m_indexPathArray && (unsigned int)cocos2d::CCArray::count(m_indexPathArray) )
{
v5 = 0;
while ( 1 )
{
v7 = v5 >= (unsigned int)cocos2d::CCArray::count(a1->m_indexPathArray);
v8 = v5++;
if ( v7 )
break;
v6 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(a1->m_indexPathArray, v8);
if ( v6[1].__vftable == *(cocos2d::CCObject_vtbl **)&a2->m_row )
{
cocos2d::CCArray::removeObject(a1->m_indexPathArray, v6, 1);
return 1;
}
}
}
return 0;
}