//
// FriendPickerPopup::getUserListFailed from 0x758a90 to 0x758b68 (216 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'FriendPickerPopup::getUserListFailed @ 0x758b80
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:58:57 +0000
//
PagedListPopup *__fastcall FriendPickerPopup::getUserListFailed(PagedListPopup *result, int a2, int a3)
{
PagedListPopup *v4; // r4
cocos2d::CCNode **v5; // r0
cocos2d::CCObject *v6; // r0
int *v7; // r8
int v8; // r3
void (__fastcall *v9)(int *, cocos2d::CCNode *, int); // r9
cocos2d::CCNode *v10; // r0
int v11[3]; // [sp+Ch] [bp-20h] BYREF
int v12[3]; // [sp+18h] [bp-14h] BYREF
v4 = result;
if ( a2 == 2 )
{
v5 = PagedListPopup::fadeLoading(result, 2, _stack_chk_guard);
if ( a3 == -2 )
{
v6 = *((cocos2d::CCObject **)v4 + 153);
if ( v6 )
{
cocos2d::CCObject::release(v6);
*((_DWORD *)v4 + 153) = 0;
}
*((_BYTE *)v4 + 620) = 1;
return (PagedListPopup *)FriendPickerPopup::buildRows((ScrollableContentLayer **)v4);
}
else
{
v7 = *(int **)(cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)v5) + 220);
v8 = *v7;
memset(v11, 0, sizeof(v11));
v9 = *(void (__fastcall **)(int *, cocos2d::CCNode *, int))(v8 + 232);
std::string::__init(v11, "Search failed", 0xDu);
memset(v12, 0, sizeof(v12));
std::string::__init(v12, &unk_B6B226, 0);
v10 = TextAlertPopup::create((int)v11, (cocos2d::CCDelayTime *)0x3F000000, 0.6, 150, (int)v12);
v9(v7, v10, 1000);
std::string::~string((int)v12);
return (PagedListPopup *)std::string::~string((int)v11);
}
}
else if ( !a2 )
{
PagedListPopup::fadeLoading(result, 0, _stack_chk_guard);
return (PagedListPopup *)PagedListPopup::showStatus(v4, (cocos2d::CCLabelBMFont *)"Something went wrong...");
}
return result;
}