//
// InvitesPopup::removeInviteRow from 0x759cf8 to 0x759d6c (116 bytes)
//
// 1 xrefs:
// > InvitesPopup::threadUpdateFinished @ 0x75d2ca
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:58:58 +0000
//
void __fastcall InvitesPopup::removeInviteRow(cocos2d::CCArray **this, int a2)
{
signed int i; // r5
signed int v5; // r5
int v6; // r6
GameLevelManager *v7; // r0
if ( *(this + 151) )
{
for ( i = 0; i < cocos2d::CCArray::count(*(this + 151)); ++i )
{
if ( *(_DWORD *)(cocos2d::CCArray::objectAtIndex(*(this + 151), i) + 52) == a2 )
{
cocos2d::CCArray::removeObjectAtIndex(*(this + 151), i, 1);
break;
}
}
v5 = 0;
v6 = 0;
while ( 1 )
{
v7 = (GameLevelManager *)cocos2d::CCArray::count(*(this + 151));
if ( v5 >= (int)v7 )
break;
if ( !*(_BYTE *)(cocos2d::CCArray::objectAtIndex(*(this + 151), v5) + 177) )
++v6;
++v5;
}
*(_DWORD *)(GameLevelManager::sharedState(v7) + 348) = v6;
InvitesPopup::buildRows(this);
}
}