//
// InvitesPopup::threadInvitesFinished from 0x100510148 to 0x100510188 (64 bytes)
//
// 2 xrefs:
// > sub_100510188 @ 0x10051018c
// > ??> @ 0x100999be0
//
// 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 11:07:02 +0000
//
__int64 __fastcall InvitesPopup::threadInvitesFinished(__int64 a1, __int64 a2)
{
_DWORD *v4; // x0
sub_10051B1EC(a1);
v4 = *(_DWORD **)(a1 + 792);
if ( v4 )
cocos2d::CCObject::release(v4);
*(_QWORD *)(a1 + 792) = a2;
cocos2d::CCObject::retain(a2);
return InvitesPopup::buildRows(a1);
}