//
// MemberListPopup::pickerRowState from 0x1009435d0 to 0x100943695 (197 bytes)
//
// 2 xrefs:
// > sub_1009436A0 @ 0x1009436ac
// > ??> @ 0x100bc54e0
//
// 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 12:38:32 +0000
//
__int64 __fastcall MemberListPopup::pickerRowState(__int64 a1, int a2)
{
__int64 v2; // rax
__int64 ThreadMembers; // rax
__int64 v4; // r15
signed int v5; // r12d
__int64 v6; // rax
__int64 v8; // rax
__int64 v9; // rax
__int64 v10; // r14
signed int v11; // r15d
__int64 v12; // rax
v2 = GameLevelManager::sharedState();
ThreadMembers = GameLevelManager::getThreadMembers(v2);
if ( ThreadMembers )
{
v4 = ThreadMembers;
v5 = 0;
while ( v5 < (int)sub_1007FEF90(v4) )
{
v6 = sub_1007FEFE0(v4, v5++);
if ( *(_DWORD *)(v6 + 376) == a2 )
return 1;
}
}
v8 = GameLevelManager::sharedState();
v9 = sub_100575410(v8);
if ( v9 )
{
v10 = v9;
v11 = 0;
while ( v11 < (int)sub_1007FEF90(v10) )
{
v12 = sub_1007FEFE0(v10, v11++);
if ( *(_DWORD *)(v12 + 376) == a2 )
return 2;
}
}
return 0;
}