//
// MemberListPopup::threadSendFinished from 0x100507b30 to 0x100507bb4 (132 bytes)
//
// 2 xrefs:
// > sub_100507BB4 @ 0x100507bb8
// > ??> @ 0x1009981c8
//
// 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
//
_QWORD *__fastcall MemberListPopup::threadSendFinished(__int64 a1)
{
_QWORD *result; // x0
__int64 v3; // x19
result = *(_QWORD **)(a1 + 808);
if ( result )
result = (_QWORD *)(*(__int64 (__fastcall **)(_QWORD *))(*result + 1440LL))(result);
if ( (*(_BYTE *)(a1 + 864) & 1) != 0
|| *(int *)(a1 + 868) > 0
|| *(int *)(a1 + 872) > 0
|| *(int *)(a1 + 876) > 0
|| *(_BYTE *)(a1 + 848) == 1 )
{
result = (_QWORD *)GameLevelManager::sharedState();
v3 = a1 + 776;
if ( result[158] != v3 )
{
result = (_QWORD *)GameLevelManager::sharedState();
result[158] = v3;
}
}
return result;
}