//
// MemberListPopup::threadMembersFailed from 0xc67bf0 to 0xc67c64 (116 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'MemberListPopup::threadMembersFailed @ 0xc67c68
// > ??> @ 0x800f8
// > ??> @ 0x14ef348
//
// 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 13:05:25 +0000
//
__int64 __fastcall MemberListPopup::threadMembersFailed(__int64 this, int a2)
{
__int64 v2; // x19
__int64 v3; // x1
__int64 v4; // x2
__int64 v5; // x1
if ( *(_DWORD *)(*(_QWORD *)(this + 800) + 56LL) == a2 )
{
*(_BYTE *)(this + 880) = 0;
v2 = this;
PagedListPopup::fadeLoading((PagedListPopup *)this);
MemberListPopup::buildRows((GJAccountManager **)v2);
this = *(_QWORD *)(v2 + 808);
if ( this )
{
v3 = *(_QWORD *)(GameLevelManager::sharedState((GameLevelManager *)this) + 1264);
this = v2 + 776;
if ( v3 == v2 + 776 )
{
this = GameLevelManager::sharedState((GameLevelManager *)this);
v4 = *(_QWORD *)(v2 + 808);
v5 = v4 + 672;
if ( !v4 )
v5 = 0;
*(_QWORD *)(this + 1264) = v5;
}
}
}
return this;
}