//
// FriendPickerPopup::getUserListFailed from 0xc813fc to 0xc81584 (392 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'FriendPickerPopup::getUserListFailed @ 0xc8158c
// > ??> @ 0xf1318
// > ??> @ 0x14ee318
//
// 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:39 +0000
//
__int64 __fastcall FriendPickerPopup::getUserListFailed(__int64 a1, int a2, int a3)
{
cocos2d::CCNode **v5; // x0
cocos2d::CCObject *v6; // x0
__int64 *v7; // x20
__int64 v8; // x3
void (__fastcall *v9)(__int64 *, __int64, __int64); // x23
__int64 v10; // x0
__int64 v12[2]; // [xsp+58h] [xbp+58h] BYREF
void *v13; // [xsp+68h] [xbp+68h]
__int64 v14[2]; // [xsp+70h] [xbp+70h] BYREF
void *v15; // [xsp+80h] [xbp+80h]
if ( a2 == 2 )
{
v5 = PagedListPopup::fadeLoading((PagedListPopup *)a1);
if ( a3 == -2 )
{
v6 = *(cocos2d::CCObject **)(a1 + 808);
if ( v6 )
{
cocos2d::CCObject::release(v6);
*(_QWORD *)(a1 + 808) = 0;
}
*(_BYTE *)(a1 + 824) = 1;
FriendPickerPopup::buildRows((FriendPickerPopup *)a1);
}
else
{
v7 = *(__int64 **)(cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)v5) + 272);
v8 = *v7;
v12[0] = 0;
v12[1] = 0;
v9 = *(void (__fastcall **)(__int64 *, __int64, __int64))(v8 + 464);
v13 = nullptr;
std::string::__init(v12, "Search failed", 0xDu);
v14[0] = 0;
v14[1] = 0;
v15 = nullptr;
std::string::__init(v14, &byte_11B8890, 0);
v10 = TextAlertPopup::create((char *)v12, 150, (char *)v14, 0.5, 0.6);
v9(v7, v10, 1000);
if ( (v14[0] & 1) != 0 )
operator delete(v15);
if ( (v12[0] & 1) != 0 )
operator delete(v13);
}
}
else if ( !a2 )
{
PagedListPopup::fadeLoading((PagedListPopup *)a1);
PagedListPopup::showStatus((PagedListPopup *)a1, (cocos2d::CCLabelBMFont *)"Something went wrong...");
}
return _stack_chk_guard;
}