//
// MemberListPopup::isRecipientSelected from 0xc62a1c to 0xc62a98 (124 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'MemberListPopup::isRecipientSelected @ 0xc62a9c
// > ??> @ 0xd7878
// > ??> @ 0x14ef2f0
//
// 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 13:05:23 +0000
//
__int64 __fastcall MemberListPopup::isRecipientSelected(MemberListPopup *this, int a2)
{
cocos2d::CCArray *v3; // x0
int v5; // w19
bool v6; // cc
unsigned int v7; // w1
v3 = *((cocos2d::CCArray **)this + 107);
if ( v3 )
{
v5 = 0;
while ( 1 )
{
v6 = v5 < (int)cocos2d::CCArray::count(v3);
v7 = v5++;
if ( !v6 )
break;
if ( *(_DWORD *)(cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 107), v7) + 376) == a2 )
return 1;
v3 = *((cocos2d::CCArray **)this + 107);
}
}
return 0;
}