//
// MessageThreadsPage::isRecipientSelected from 0x10092bad0 to 0x10092bb3b (107 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bc2340
//
// 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:22 +0000
//
bool __fastcall MessageThreadsPage::isRecipientSelected(__int64 a1, int a2)
{
__int64 v3; // rdi
unsigned int v4; // r15d
bool result; // al
v3 = *(_QWORD *)(a1 + 880);
if ( !v3 )
return 0;
v4 = 0;
if ( (int)sub_1007FEF90(v3) <= 0 )
return 0;
while ( 1 )
{
result = *(_DWORD *)(sub_1007FEFE0(*(_QWORD *)(a1 + 880), v4) + 376) == a2;
if ( result )
break;
if ( (int)++v4 >= (int)sub_1007FEF90(*(_QWORD *)(a1 + 880)) )
return 0;
}
return result;
}