//
// FriendsProfilePage::init from 0x140213620 to 0x140214599 (3961 bytes)
//
// 2 xrefs:
// > FriendsProfilePage::create @ 0x1402135cb
// > ??> @ 0x14091b638
//
// 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:28:20 +0000
//
// Hidden C++ exception states: #wind=7
bool __fastcall FriendsProfilePage::init(__int64 a1, int a2)
{
bool result; // al
__int64 v5; // rcx
__int64 v6; // rax
int v7; // eax
const char *v8; // rcx
struct cocos2d::CCLabelBMFont *v9; // rdi
__int64 v10; // rbx
__int64 v11; // rax
float v12; // xmm15_4
__int64 v13; // rax
__int64 v14; // rbx
__int64 v15; // rax
__int64 v16; // rbx
__int64 v17; // rax
__int64 v18; // rdx
__int64 v19; // rcx
char *InputNode; // rdi
__int64 v21; // rbx
__int64 v22; // rax
__int64 v23; // rcx
struct cocos2d::CCLabelBMFont *v24; // rax
__int64 v25; // rdi
__int64 v26; // rbx
__int64 v27; // rax
int v28; // eax
cocos2d::CCObject *v29; // rsi
__int64 v30; // rdi
__int64 v31; // rbx
__int64 v32; // rax
__int64 v33; // rax
int v34; // r15d
__int64 *v35; // rsi
__int64 v36; // rdi
__int64 v37; // rbx
__int64 v38; // rax
__int64 v39; // rax
float v40; // xmm6_4
__m128i *p_si128; // r12
unsigned __int32 v42; // ebx
const char *v43; // rcx
__int64 *v44; // rdi
cocos2d::CCObject *v45; // rsi
__int64 v46; // rdi
__int64 v47; // rbx
__int64 v48; // rax
__int64 v49; // rax
struct cocos2d::CCSprite *v50; // rbx
float v51; // xmm9_4
cocos2d::CCObject *v52; // rsi
float v53; // xmm7_4
float v54; // xmm8_4
float v55; // xmm8_4
__int64 v56; // rdi
float v57; // xmm15_4
__int64 v58; // rbx
__int64 v59; // rax
__int64 v60; // rax
struct cocos2d::CCSprite *v61; // rax
cocos2d::CCObject *v62; // rsi
__int64 v63; // rdi
__int64 v64; // rbx
__int64 v65; // rax
__int64 v66; // rax
cocos2d::CCObject *v67; // rbx
cocos2d::CCObject *v68; // rax
__int64 v69; // rsi
__int64 v70; // rbx
__int64 v71; // rdi
__int64 v72; // rax
__int64 v73; // rax
struct cocos2d::CCSprite *v74; // rax
cocos2d::CCObject *v75; // rax
__int64 v76; // rsi
__int64 v77; // rbx
__int64 v78; // rdi
__int64 v79; // rax
__int64 v80; // rax
__int64 *v81; // rdi
cocos2d::CCObject *v82; // rbx
__int64 v83; // rsi
__int64 v84; // rbx
__int64 v85; // rdi
__int64 v86; // rax
__int64 v87; // rax
int v88; // edx
int v89; // r9d
__int64 v90; // rax
__int64 v91; // rax
__int64 v92; // rdi
__int64 v93; // rbx
__int64 v94; // rax
__int64 v95; // rdx
__int64 v96; // rax
__int64 v97; // rcx
__int64 v98; // rbx
__int64 v99; // rax
void (__fastcall ***v100)(__int64, __int64, _QWORD); // rbx
__int64 v101; // rcx
__int64 StoredUserList; // rax
__int64 v103; // rcx
__int64 v104; // [rsp+28h] [rbp-D8h]
char v105[8]; // [rsp+50h] [rbp-B0h] BYREF
char v106[8]; // [rsp+58h] [rbp-A8h] BYREF
void *v107; // [rsp+60h] [rbp-A0h] BYREF
_QWORD *v108; // [rsp+68h] [rbp-98h]
__int128 v109; // [rsp+70h] [rbp-90h] BYREF
__int64 v110; // [rsp+80h] [rbp-80h]
__int64 v111; // [rsp+88h] [rbp-78h]
__int64 v112; // [rsp+90h] [rbp-70h] BYREF
__int64 v113; // [rsp+98h] [rbp-68h]
__int64 v114; // [rsp+A0h] [rbp-60h]
__int64 v115; // [rsp+A8h] [rbp-58h]
char v116[8]; // [rsp+B0h] [rbp-50h] BYREF
__m128i si128; // [rsp+B8h] [rbp-48h] BYREF
char v118[152]; // [rsp+C8h] [rbp-38h] BYREF
__int128 *v119; // [rsp+1B0h] [rbp+B0h] BYREF
float v120; // [rsp+1B8h] [rbp+B8h] BYREF
float v121; // [rsp+1BCh] [rbp+BCh]
result = PagedListPopup::initFrame((__int64 *)a1, 440.0, 290.0);
if ( !result )
return result;
*(_DWORD *)(a1 + 816) = a2;
*(_WORD *)(a1 + 768) = 0;
*(_BYTE *)(a1 + 770) = 0;
*(_BYTE *)(a1 + 771) = -106;
v6 = cocos2d::CCDirector::sharedDirector(v5);
cocos2d::CCDirector::getWinSize(v6, &v120);
v7 = *(_DWORD *)(a1 + 816);
if ( v7 == 1 )
{
v8 = "Blocked";
}
else if ( v7 == 3 )
{
v8 = "Following";
}
else
{
v8 = "Muted";
if ( v7 != 4 )
v8 = "Friends";
}
v9 = cocos2d::CCLabelBMFont::create(v8, (const char *)&qword_140704F78);
(*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(
*(_QWORD *)(a1 + 584),
v9,
20);
v10 = *(_QWORD *)v9;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v119, v120 * 0.5, (float)((float)(v121 * 0.5) + 145.0) - 17.0);
(*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v10 + 184))(v9, v11);
cocos2d::CCLabelBMFont::limitLabelWidth(v9, 185.0, 0.80000001, 0.0);
v12 = (float)((float)(v121 * 0.5) + 145.0) - 45.0;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v118, 0.0, 0.0, 40.0, 40.0);
v108 = (_QWORD *)cocos2d::extension::CCScale9Sprite::create("square02b_small.png", v13);
v14 = *v108;
cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v119, 200.0, 24.0);
(*(void (__fastcall **)(_QWORD *, __int64))(v14 + 312))(v108, v15);
LOWORD(v119) = 13405;
BYTE2(v119) = 31;
(*(void (__fastcall **)(_QWORD *, __int128 **))v108[40])(v108 + 40, &v119);
v16 = *v108;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v119, v120 * 0.5, v12);
(*(void (__fastcall **)(_QWORD *, __int64))(v16 + 184))(v108, v17);
(*(void (__fastcall **)(_QWORD, _QWORD *, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v108, 9);
InputNode = GameToolbox::createInputNode(v19, v18, (__int64)"Search", 20);
*(_QWORD *)(a1 + 920) = InputNode;
v21 = *(_QWORD *)InputNode;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v119, v120 * 0.5, v12);
(*(void (__fastcall **)(char *, __int64))(v21 + 184))(InputNode, v22);
v23 = *(_QWORD *)(a1 + 920);
*(_DWORD *)(v23 + 568) = 1058642330;
CCTextInputNode::refreshLabel(v23);
*(_QWORD *)(*(_QWORD *)(a1 + 920) + 600LL) = a1 + 544;
(*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(
*(_QWORD *)(a1 + 584),
*(_QWORD *)(a1 + 920),
10);
v24 = cocos2d::CCLabelBMFont::create(" ", "goldFont.fnt");
*(_QWORD *)(a1 + 824) = v24;
(*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(
*(_QWORD *)(a1 + 584),
v24,
10);
v25 = **(_QWORD **)(a1 + 824);
v26 = *(_QWORD *)(a1 + 824);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v119, v120 * 0.5, (float)((float)(v121 * 0.5) - 145.0) + 25.0);
(*(void (__fastcall **)(__int64, __int64))(v25 + 184))(v26, v27);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 824) + 160LL))(*(_QWORD *)(a1 + 824));
v28 = (unsigned int)cocos2d::CCSprite::createWithSpriteFrameName("GJ_backBtn_001.png");
v29 = CCMenuItemSpriteExtra::create(v28, 0, a1, (__int64)sub_1400C3BE8);
*((_DWORD *)v29 + 93) = 1070386381;
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v29);
v30 = *(_QWORD *)v29;
v31 = *(_QWORD *)(a1 + 552);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v119,
(float)((float)(v120 * 0.5) - 220.0) + 10.0,
(float)((float)(v121 * 0.5) + 145.0) - 10.0);
cocos2d::CCNode::convertToNodeSpace(v31, &v107, v32);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v30 + 184))(v29, v33);
v34 = 0;
if ( *(_DWORD *)(a1 + 816) == 3 )
{
v119 = &v109;
v109 = 0;
v110 = 0;
v111 = 0;
*(_QWORD *)&v109 = sub_14003D460(0x60u);
v110 = 82;
v111 = 95;
strcpy((char *)v109, "Follower counts update once per hour.\nA new follow can take up to an hour to show.");
v114 = 9;
v115 = 15;
v112 = *(_QWORD *)"Followers";
v113 = (unsigned __int8)aFollowers[8];
BYTE1(v113) = 0;
v35 = (__int64 *)InfoAlertButton::create(&v112, &v109);
(*(void (__fastcall **)(_QWORD, __int64 *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v35);
v36 = *v35;
v37 = *(_QWORD *)(a1 + 552);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v119,
(float)((float)(v120 * 0.5) + 220.0) - 17.0,
(float)((float)(v121 * 0.5) + 145.0) - 17.0);
cocos2d::CCNode::convertToNodeSpace(v37, &v107, v38);
(*(void (__fastcall **)(__int64 *, __int64))(v36 + 184))(v35, v39);
}
si128 = _mm_load_si128((const __m128i *)&xmmword_1408367A0);
v40 = (float)((float)(v120 * 0.5) - 220.0) + 26.0;
LOWORD(v119) = -3856;
p_si128 = &si128;
do
{
v42 = p_si128->m128i_i32[0];
if ( p_si128->m128i_i32[0] == 1 )
{
v43 = "threadBtn_blockOn_001.png";
}
else if ( v42 == 3 )
{
v43 = "threadBtn_followOn_001.png";
}
else
{
v43 = "threadBtn_muteOn_001.png";
if ( v42 != 4 )
v43 = "threadBtn_friendOn_001.png";
}
LOWORD(v119) = -3856;
BYTE2(v119) = -16;
v44 = (__int64 *)sub_14006C4D0(v43, v42 == *(_DWORD *)(a1 + 816), (__int64)&v119);
v107 = operator new(0x208u);
v45 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((__int64)v107);
if ( v45 )
{
if ( CCMenuItemSpriteExtra::init((__int64 *)v45, v44, 0, a1, (__int64)FriendsProfilePage::onSwitchList) )
{
cocos2d::CCObject::autorelease(v45);
goto LABEL_22;
}
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v45 + 8LL))(v45, 1);
}
v45 = nullptr;
LABEL_22:
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v45 + 64LL))(v45, v42);
*((_DWORD *)v45 + 93) = 1067030938;
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v45);
v46 = *(_QWORD *)v45;
v47 = *(_QWORD *)(a1 + 552);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v116, v40, (float)((float)(v121 * 0.5) + 68.0) - (float)v34);
cocos2d::CCNode::convertToNodeSpace(v47, v105, v48);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v46 + 184))(v45, v49);
v34 += 37;
p_si128 = (__m128i *)((char *)p_si128 + 4);
}
while ( v34 < 148 );
if ( *(_DWORD *)(a1 + 816) != 1 )
{
v50 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_longBtn06_001.png");
v51 = 20.800001
/ *(float *)((*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v50 + 320LL))(v50) + 4);
(*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v50 + 160LL))(v50);
v52 = CCMenuItemSpriteExtra::create((int)v50, 0, a1, (__int64)FriendsProfilePage::onGlobalSearch);
*((_DWORD *)v52 + 93) = 1067030938;
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v52);
v53 = v51 * *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v50 + 320LL))(v50);
v54 = (float)(v120 * 0.5) - (float)(v53 + 4.0);
(*(void (__fastcall **)(_QWORD *))(*v108 + 208LL))(v108);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 920) + 208LL))(*(_QWORD *)(a1 + 920));
v55 = (float)((float)(v54 + 100.0) + 4.0) + (float)(v53 * 0.5);
v56 = *(_QWORD *)v52;
v57 = v12 - 1.0;
v58 = *(_QWORD *)(a1 + 552);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v119, v55, v57);
cocos2d::CCNode::convertToNodeSpace(v58, v105, v59);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v56 + 184))(v52, v60);
v61 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_longBtn07_001.png");
LODWORD(v58) = (_DWORD)v61;
(*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v61 + 160LL))(v61);
v62 = CCMenuItemSpriteExtra::create(v58, 0, a1, (__int64)FriendsProfilePage::onClearSearch);
*((_DWORD *)v62 + 93) = 1067030938;
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v62);
v63 = *(_QWORD *)v62;
v64 = *(_QWORD *)(a1 + 552);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v119, (float)(v55 + v53) + 4.0, v57);
cocos2d::CCNode::convertToNodeSpace(v64, v105, v65);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v63 + 184))(v62, v66);
v119 = (__int128 *)operator new(0x2C8u);
v67 = (cocos2d::CCObject *)ButtonSprite::ButtonSprite((__int64)v119);
if ( v67 )
{
if ( ButtonSprite::init_1(
(__int64)v67,
(__int64)"A-Z",
40,
0,
1056964608,
1,
&qword_140704F78,
(__int64)"GJ_button_01.png",
1103626240) )
{
cocos2d::CCObject::autorelease(v67);
}
else
{
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v67 + 8LL))(v67, 1);
v67 = nullptr;
}
}
*(_QWORD *)(a1 + 944) = v67;
v68 = CCMenuItemSpriteExtra::create((int)v67, 0, a1, (__int64)FriendsProfilePage::onToggleSort);
*(_QWORD *)(a1 + 936) = v68;
*((_DWORD *)v68 + 93) = 1067030938;
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 552) + 464LL))(
*(_QWORD *)(a1 + 552),
*(_QWORD *)(a1 + 936));
v69 = **(_QWORD **)(a1 + 936);
v70 = *(_QWORD *)(a1 + 552);
v71 = *(_QWORD *)(a1 + 936);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v119,
(float)((float)(v120 * 0.5) - 220.0) + 39.0,
(float)((float)(v121 * 0.5) - 145.0) + 23.0);
cocos2d::CCNode::convertToNodeSpace(v70, v105, v72);
(*(void (__fastcall **)(__int64, __int64))(v69 + 184))(v71, v73);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 936) + 336LL))(*(_QWORD *)(a1 + 936), 0);
v74 = cocos2d::CCSprite::createWithSpriteFrameName("edit_downBtn_001.png");
*(_QWORD *)(a1 + 968) = v74;
(*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v74 + 160LL))(v74);
v75 = CCMenuItemSpriteExtra::create(*(_QWORD *)(a1 + 968), 0, a1, (__int64)FriendsProfilePage::onToggleSortDir);
*(_QWORD *)(a1 + 960) = v75;
*((_DWORD *)v75 + 93) = 1072064102;
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 552) + 464LL))(
*(_QWORD *)(a1 + 552),
*(_QWORD *)(a1 + 960));
v76 = **(_QWORD **)(a1 + 960);
v77 = *(_QWORD *)(a1 + 552);
v78 = *(_QWORD *)(a1 + 960);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v119,
(float)((float)(v120 * 0.5) - 220.0) + 82.0,
(float)((float)(v121 * 0.5) - 145.0) + 23.0);
cocos2d::CCNode::convertToNodeSpace(v77, v105, v79);
(*(void (__fastcall **)(__int64, __int64))(v76 + 184))(v78, v80);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 960) + 336LL))(*(_QWORD *)(a1 + 960), 0);
}
v81 = (__int64 *)cocos2d::CCSprite::createWithSpriteFrameName("GJ_updateBtn_001.png");
v119 = (__int128 *)operator new(0x208u);
v82 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((__int64)v119);
if ( v82 )
{
if ( CCMenuItemSpriteExtra::init((__int64 *)v82, v81, 0, a1, (__int64)FriendsProfilePage::onUpdate) )
{
cocos2d::CCObject::autorelease(v82);
goto LABEL_34;
}
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v82 + 8LL))(v82, 1);
}
v82 = nullptr;
LABEL_34:
*(_QWORD *)(a1 + 912) = v82;
*((_DWORD *)v82 + 93) = 1069547520;
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 552) + 464LL))(
*(_QWORD *)(a1 + 552),
*(_QWORD *)(a1 + 912));
v83 = **(_QWORD **)(a1 + 912);
v84 = *(_QWORD *)(a1 + 552);
v85 = *(_QWORD *)(a1 + 912);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v119,
(float)((float)(v120 * 0.5) + 220.0) - 10.0,
(float)((float)((float)(v121 * 0.5) - 145.0) + 10.0) + 1.0);
cocos2d::CCNode::convertToNodeSpace(v84, v105, v86);
(*(void (__fastcall **)(__int64, __int64))(v83 + 184))(v85, v87);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 912) + 336LL))(*(_QWORD *)(a1 + 912), 0);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v106, (float)(v120 - 340.0) * 0.5, (float)(v121 * 0.5) - 100.0);
LODWORD(v119) = -12684609;
LOBYTE(v104) = 0;
v90 = GJCommentListLayer::create(0, v88, -12684609, v89, 1127481344, v104);
*(_QWORD *)(a1 + 832) = v90;
(*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v90 + 184LL))(v90, v106);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 584) + 464LL))(
*(_QWORD *)(a1 + 584),
*(_QWORD *)(a1 + 832));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v105, 170.0, 90.0);
cocos2d::CCPoint::operator+(v106, &v119, v91);
PagedListPopup::createScrollView(a1, 340.0, 184.0, (__int64)&v119);
v92 = **(_QWORD **)(a1 + 688);
v93 = *(_QWORD *)(a1 + 688);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v119, 0.0, -2.0);
(*(void (__fastcall **)(__int64, __int64))(v92 + 184))(v93, v94);
v96 = *(_QWORD *)(a1 + 688);
*(_BYTE *)(v96 + 499) = 70;
v97 = *(_QWORD *)(v96 + 488);
if ( v97 )
{
LOBYTE(v95) = 70;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)(v97 + 408) + 40LL))(v97 + 408, v95);
}
(*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**(_QWORD **)(a1 + 832) + 456LL))(
*(_QWORD *)(a1 + 832),
*(_QWORD *)(a1 + 688),
6);
v98 = *(_QWORD *)(a1 + 688);
ScrollableContentLayer::ensureOwnedContentNode((_QWORD *)v98);
ScrollableContentLayer::unmountAllRows(v98);
*(_QWORD *)(v98 + 576) = a1 + 776;
*(_DWORD *)(v98 + 584) = 1119879168;
*(_QWORD *)(v98 + 588) = 0x40000000;
v99 = *(_QWORD *)(v98 + 600);
if ( v99 != *(_QWORD *)(v98 + 608) )
*(_QWORD *)(v98 + 608) = v99;
if ( a1 != -776 )
ScrollableContentLayer::reloadVirtualRows(v98, -1.0);
v100 = (void (__fastcall ***)(__int64, __int64, _QWORD))(a1 + 808);
v101 = *(_QWORD *)&qword_14090BFB0;
if ( !*(_QWORD *)&qword_14090BFB0 )
{
v119 = (__int128 *)operator new(0x690u);
*(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v119);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);
v101 = *(_QWORD *)&qword_14090BFB0;
}
*(_QWORD *)(v101 + 1496) = v100;
StoredUserList = GameLevelManager::getStoredUserList(v101, *(unsigned int *)(a1 + 816));
if ( StoredUserList )
{
(**v100)(a1 + 808, StoredUserList, *(unsigned int *)(a1 + 816));
}
else
{
PagedListPopup::showLoading(a1);
v103 = *(_QWORD *)&qword_14090BFB0;
if ( !*(_QWORD *)&qword_14090BFB0 )
{
v119 = (__int128 *)operator new(0x690u);
*(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v119);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);
v103 = *(_QWORD *)&qword_14090BFB0;
}
GameLevelManager::getUserList(v103, *(unsigned int *)(a1 + 816));
}
return 1;
}