//
// MemberListPopup::threadMembersFinished from 0x100507948 to 0x1005079b8 (112 bytes)
//
// 2 xrefs:
// > sub_1005079B8 @ 0x1005079bc
// > ??> @ 0x100998198
//
// 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:06:57 +0000
//
__int64 __fastcall MemberListPopup::threadMembersFinished(__int64 result, int a2)
{
__int64 v2; // x19
__int64 v3; // x8
__int64 v4; // x8
if ( *(_DWORD *)(*(_QWORD *)(result + 800) + 56LL) == a2 )
{
v2 = result;
*(_BYTE *)(result + 880) = 0;
sub_10051B1EC(result);
result = sub_100507288(v2);
if ( *(_QWORD *)(v2 + 808) )
{
result = GameLevelManager::sharedState();
if ( *(_QWORD *)(result + 1264) == v2 + 776 )
{
result = GameLevelManager::sharedState();
v3 = *(_QWORD *)(v2 + 808);
if ( v3 )
v4 = v3 + 672;
else
v4 = 0;
*(_QWORD *)(result + 1264) = v4;
}
}
}
return result;
}