//
// NewThreadPopup::isRecipientSelected from 0x1400f1a20 to 0x1400f1a98 (120 bytes)
//
// 2 xrefs:
// > ??> @ 0x14072cda8
// > ??> @ 0x140915134
//
// 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:36 +0000
//
char __fastcall NewThreadPopup::isRecipientSelected(__int64 a1, int a2)
{
cocos2d::CCArray *v4; // rcx
unsigned int v5; // ebx
v4 = *(cocos2d::CCArray **)(a1 + 64);
if ( !v4 )
return 0;
v5 = 0;
if ( (int)cocos2d::CCArray::count(v4) <= 0 )
return 0;
while ( *((_DWORD *)cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 64), v5) + 98) != a2 )
{
if ( (int)++v5 >= (int)cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 64)) )
return 0;
}
return 1;
}