//
// TableView::removeIndexPathFromPathAddedArray from 0x2e9044 to 0x2e9096 (82 bytes)
//
// 1 xrefs:
// > TableView::deleteTableViewCell @ 0x2e9498
//
// 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; // r0
unsigned int i; // r5
cocos2d::CCObject *v6; // r0
m_indexPathArray = a1->m_indexPathArray;
if ( m_indexPathArray && cocos2d::CCArray::count(m_indexPathArray) )
{
for ( i = 0; i < cocos2d::CCArray::count(a1->m_indexPathArray); ++i )
{
v6 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(a1->m_indexPathArray, i);
if ( v6[1].m_uID == a2->m_section && v6[1].__vftable == (cocos2d::CCObject_vtbl *)a2->m_row )
{
cocos2d::CCArray::removeObject(a1->m_indexPathArray, v6, 1);
return 1;
}
}
}
return 0;
}