//
// MemberListPopup::isRecipientSelected from 0x1400edb70 to 0x1400edbe8 (120 bytes)
//
// 2 xrefs:
// > ??> @ 0x140729298
// > ??> @ 0x140915008
//
// 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:35 +0000
//
char __fastcall MemberListPopup::isRecipientSelected(__int64 a1, int a2)
{
cocos2d::CCArray *v4; // rcx
unsigned int v5; // ebx
v4 = *(cocos2d::CCArray **)(a1 + 72);
if ( !v4 )
return 0;
v5 = 0;
if ( (int)cocos2d::CCArray::count(v4) <= 0 )
return 0;
while ( *((_DWORD *)cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 72), v5) + 98) != a2 )
{
if ( (int)++v5 >= (int)cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 72)) )
return 0;
}
return 1;
}