//
// TableView::removeIndexPathFromPathAddedArray from 0x696040 to 0x6960d8 (152 bytes)
//
// 2 xrefs:
// > TableView::deleteTableViewCell @ 0x6966f0
// > ??> @ 0x97fa8
//
// 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 12:50:37 +0000
//
__int64 __fastcall TableView::removeIndexPathFromPathAddedArray(__int64 a1, __int64 a2)
{
cocos2d::CCArray *v3; // x0
unsigned int v5; // w19
cocos2d::CCObject *v6; // x1
bool v7; // cf
unsigned int v8; // w1
v3 = *(cocos2d::CCArray **)(a1 + 608);
if ( v3 && (unsigned int)cocos2d::CCArray::count(v3) )
{
v5 = 0;
while ( 1 )
{
v7 = v5 >= (unsigned int)cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 608));
v8 = v5++;
if ( v7 )
break;
v6 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 608), v8);
if ( *((_QWORD *)v6 + 7) == *(_QWORD *)(a2 + 56) )
{
cocos2d::CCArray::removeObject(*(cocos2d::CCArray **)(a1 + 608), v6, 1);
return 1;
}
}
}
return 0;
}