//
// MemberListPopup::threadMessagesFinished from 0x100507a38 to 0x100507a98 (96 bytes)
//
// 2 xrefs:
// > sub_100507A98 @ 0x100507a9c
// > ??> @ 0x1009981a8
//
// 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::threadMessagesFinished(__int64 a1, __int64 a2)
{
int v2; // w20
__int64 result; // x0
v2 = a2;
result = *(_QWORD *)(a1 + 808);
if ( result )
result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 1408LL))(result, a2);
if ( *(_DWORD *)(*(_QWORD *)(a1 + 800) + 56LL) == v2 && (*(_BYTE *)(a1 + 880) & 1) == 0 )
return sub_100507288(a1);
return result;
}