//
// InvitesPopup::threadInvitesFinished from 0x1400f7570 to 0x1400f75ca (90 bytes)
//
// 2 xrefs:
// > ??> @ 0x14072afa0
// > ??> @ 0x140915350
//
// This function is hookable on this platform (idp: pc, 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:26:38 +0000
//
__int64 __fastcall InvitesPopup::threadInvitesFinished(__int64 a1, cocos2d::CCObject *a2)
{
__int64 v4; // rcx
cocos2d::CCObject *v5; // rcx
v4 = *(_QWORD *)(a1 - 80);
if ( v4 )
LoadingCircle::fadeAndRemove(v4);
v5 = *(cocos2d::CCObject **)(a1 + 16);
if ( v5 )
cocos2d::CCObject::release(v5);
*(_QWORD *)(a1 + 16) = a2;
cocos2d::CCObject::retain(a2);
return InvitesPopup::buildRows(a1 - 776);
}