//
// MemberListPopup::threadMessagesFinished from 0x1400ec0b0 to 0x1400ec105 (85 bytes)
//
// 2 xrefs:
// > ??> @ 0x140728610
// > ??> @ 0x140914f84
//
// 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:34 +0000
//
__int64 __fastcall MemberListPopup::threadMessagesFinished(__int64 a1, int a2)
{
__int64 v4; // rcx
__int64 result; // rax
v4 = *(_QWORD *)(a1 + 32);
if ( v4 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)(v4 + 672) + 16LL))(v4 + 672);
result = *(_QWORD *)(a1 + 24);
if ( a2 == *(_DWORD *)(result + 56) && !*(_BYTE *)(a1 + 104) )
return MemberListPopup::buildRows(a1 - 776);
return result;
}