//
// FriendPickerPopup::getUserListFailed from 0x10093d920 to 0x10093da34 (276 bytes)
//
// 2 xrefs:
// > sub_10093DA60 @ 0x10093da6c
// > ??> @ 0x100bc44f8
//
// 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:29 +0000
//
void __fastcall FriendPickerPopup::getUserListFailed(__int64 a1, int a2, int a3)
{
__int64 v4; // rbx
char *v5; // rax
__int128 v6; // [rsp+0h] [rbp-40h] BYREF
void *__p; // [rsp+10h] [rbp-30h]
__int128 v8; // [rsp+18h] [rbp-28h] BYREF
void *v9; // [rsp+28h] [rbp-18h]
if ( a2 )
{
if ( a2 == 2 )
{
sub_10095D090(a1);
if ( a3 == -2 )
{
if ( *(_QWORD *)(a1 + 808) )
{
cocos2d::CCObject::release(*(_DWORD **)(a1 + 808));
*(_QWORD *)(a1 + 808) = 0;
}
*(_BYTE *)(a1 + 824) = 1;
sub_10093D210(a1);
}
else
{
v4 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector() + 272);
LOBYTE(v8) = 26;
strcpy((char *)&v8 + 1, "Search failed");
LOWORD(v6) = 0;
v5 = TextAlertPopup::create(&v8, 0x96u, &v6, 0.5, 0.60000002);
(*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)v4 + 464LL))(v4, v5, 1000);
if ( (v6 & 1) != 0 )
operator delete(__p);
if ( (v8 & 1) != 0 )
operator delete(v9);
}
}
}
else
{
sub_10095D090(a1);
sub_10095D0B0(a1, "Something went wrong...");
}
}