//
// ProfilePage::init from 0x5fa6b0 to 0x5fafc4 (2324 bytes)
//
// 1 xrefs:
// > ProfilePage::create @ 0x5fb0e0
//
// 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:54:35 +0000
//
unsigned __int8 *__fastcall ProfilePage::init(ProfilePage *this, int a2, int a3)
{
GameManager *v6; // r0
bool v7; // r9
GameManager *v8; // r0
unsigned __int8 *v9; // r0
unsigned __int8 *v10; // r5
int v11; // r5
cocos2d::CCObject *v12; // r0
cocos2d::CCDirector *v13; // r0
int v14; // r7
void (__fastcall *v15)(int, _DWORD *); // r6
int (__fastcall *v16)(int, _DWORD *); // r6
GJAccountManager *v17; // r0
GameLevelManager *v18; // r0
GameManager *v19; // r9
GJAccountManager *v20; // r0
const char *v21; // r8
GJAccountManager *v22; // r0
char *v23; // r7
int v24; // r0
cocos2d::CCDictionary **v25; // r0
const char *v26; // r2
cocos2d::CCLabelBMFont *v27; // r0
int v28; // r0
int v29; // r7
void (__fastcall *v30)(int, _DWORD *); // r8
const char *v31; // r1
cocos2d::CCObject *v32; // r7
void (__fastcall *v33)(cocos2d::CCObject *, _DWORD *); // r9
int v34; // r10
void (__fastcall *v35)(cocos2d::CCObject *, int, int, _DWORD *); // r12
cocos2d::CCObject *v36; // r7
void (__fastcall *v37)(cocos2d::CCObject *, _DWORD *); // r9
void (__fastcall *v38)(cocos2d::CCObject *, _DWORD *); // r3
cocos2d::CCObject *v39; // r7
void (__fastcall *v40)(cocos2d::CCObject *, _DWORD *); // r9
void (__fastcall *v41)(cocos2d::CCObject *, _DWORD *); // r3
const char *v42; // r1
int v43; // r0
cocos2d::CCMenu *v44; // r7
int v45; // r0
int v46; // r7
void (__fastcall *v47)(int, _DWORD *); // r8
cocos2d::CCArray *v48; // r0
cocos2d::CCObject *v49; // r0
const char *v50; // r2
int v51; // r0
int v52; // r7
void (__fastcall *v53)(int, _DWORD *); // r8
GJAccountManager *v54; // r0
GameManager *v55; // r0
GameManager *v56; // r0
GameLevelManager *v57; // r0
int isFollowingUser; // r10
const char *v59; // r1
cocos2d::CCSprite *v60; // r0
int v61; // r9
int v62; // r0
int v63; // r11
cocos2d::CCLayerColor *v64; // r0
int v65; // r3
int v66; // r9
void (__fastcall *v67)(int, _DWORD *); // r10
const char *v68; // r1
int v69; // r0
int v70; // r0
int v71; // r5
const cocos2d::CCPoint *v72; // r10
void (__fastcall *v73)(int, _BYTE *); // r9
GameLevelManager *v74; // r0
int v75; // r0
GameLevelManager *v76; // r0
GameLevelManager *v77; // r0
GameLevelManager *v78; // r0
GJAccountManager *v80; // r6
int v81; // r0
GameLevelManager *v82; // r0
cocos2d::CCDictionary **v83; // r0
GameLevelManager *v84; // r0
cocos2d::CCDictionary **v85; // r0
GameLevelManager *v86; // r0
cocos2d::CCDictionary **v87; // r0
GameLevelManager *v88; // r0
cocos2d::CCDictionary **v89; // r0
GameLevelManager *v90; // r0
int v91; // r0
int v92; // r3
GameLevelManager *v93; // r0
int v94; // r0
int v95; // r3
GameLevelManager *v96; // r0
int v97; // r0
int v98; // r3
GameLevelManager *v99; // r0
int v100; // r0
int v101; // r3
GameManager *v102; // r0
const char *v103; // r1
int v104; // r0
int v105; // r10
int (__fastcall *v106)(int, _DWORD *); // r11
cocos2d::CCDictionary **v107; // r0
GJUserScore *v108; // r0
GameLevelManager *v109; // r0
GameLevelManager *v110; // r0
GameManager *v111; // [sp+Ch] [bp-68h]
int (__fastcall *v112)(int, _DWORD *); // [sp+10h] [bp-64h]
float v113; // [sp+18h] [bp-5Ch] BYREF
float v114; // [sp+1Ch] [bp-58h]
_DWORD v115[2]; // [sp+20h] [bp-54h] BYREF
_BYTE v116[8]; // [sp+28h] [bp-4Ch] BYREF
_BYTE v117[8]; // [sp+30h] [bp-44h] BYREF
_BYTE v118[8]; // [sp+38h] [bp-3Ch] BYREF
int (__fastcall *v119)(cocos2d::CCObject **, cocos2d::CCObject *); // [sp+40h] [bp-34h]
int v120; // [sp+44h] [bp-30h]
_DWORD v121[2]; // [sp+48h] [bp-2Ch] BYREF
int v122[3]; // [sp+50h] [bp-24h] BYREF
_DWORD v123[4]; // [sp+5Ch] [bp-18h] BYREF
v6 = FLAlertLayer::init(this, 150);
v111 = v6;
if ( v6 )
{
*((_DWORD *)this + 139) = a2;
if ( a3 )
{
v6 = (GameManager *)GJAccountManager::sharedState(v6);
v7 = a2 == *((_DWORD *)v6 + 70) - *((_DWORD *)v6 + 71);
}
else
{
v7 = 0;
}
*((_BYTE *)this + 560) = v7;
v8 = (GameManager *)GameManager::sharedState(v6);
v9 = (unsigned __int8 *)GameManager::offlineModeEnabled(v8);
v10 = v9;
if ( v9 )
{
ProfilePage::createOfflineNotice(this);
return v10;
}
else
{
if ( *((_BYTE *)this + 560) )
{
v9 = (unsigned __int8 *)GameManager::sharedState(nullptr);
v11 = v9[460];
if ( !v9[460] )
{
v80 = (GJAccountManager *)GameLevelManager::sharedState((GameLevelManager *)v9);
v81 = GJAccountManager::sharedState(v80);
v82 = (GameLevelManager *)GameLevelManager::resetStoredUserInfo(
(cocos2d::CCDictionary **)v80,
*(_DWORD *)(v81 + 280) - *(_DWORD *)(v81 + 284));
v83 = (cocos2d::CCDictionary **)GameLevelManager::sharedState(v82);
v84 = (GameLevelManager *)GameLevelManager::invalidateMessages(v83, (_BYTE *)&dword_0 + 1, v11);
v85 = (cocos2d::CCDictionary **)GameLevelManager::sharedState(v84);
v86 = (GameLevelManager *)GameLevelManager::invalidateMessages(v85, (const char *)v11, v11);
v87 = (cocos2d::CCDictionary **)GameLevelManager::sharedState(v86);
v88 = GameLevelManager::invalidateRequests(v87, (_BYTE *)&dword_0 + 1, v11);
v89 = (cocos2d::CCDictionary **)GameLevelManager::sharedState(v88);
v90 = GameLevelManager::invalidateRequests(v89, (const char *)v11, v11);
v91 = GameLevelManager::sharedState(v90);
v93 = (GameLevelManager *)GameLevelManager::invalidateUserList(v91, v11, v11, v92);
v94 = GameLevelManager::sharedState(v93);
v96 = (GameLevelManager *)GameLevelManager::invalidateUserList(v94, 1, v11, v95);
v97 = GameLevelManager::sharedState(v96);
v99 = (GameLevelManager *)GameLevelManager::invalidateUserList(v97, 3, v11, v98);
v100 = GameLevelManager::sharedState(v99);
v9 = (unsigned __int8 *)GameLevelManager::invalidateUserList(v100, 4, v11, v101);
}
}
v12 = (cocos2d::CCObject *)cocos2d::CCArray::create((cocos2d::CCArray *)v9);
*((_DWORD *)this + 153) = v12;
v13 = (cocos2d::CCDirector *)cocos2d::CCObject::retain(v12);
cocos2d::CCDirector::sharedDirector(v13);
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v113);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v123, 0.0, 0.0, 80.0, 80.0);
v14 = cocos2d::extension::CCScale9Sprite::create("GJ_square01.png", v123);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v14 + 456))(v14, 255);
v15 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v14 + 160);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v123, 440.0, 290.0);
v15(v14, v123);
(*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 115) + 232))(*((_DWORD *)this + 115), v14, -1);
v16 = *(int (__fastcall **)(int, _DWORD *))(*(_DWORD *)v14 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v123, v113 * 0.5, v114 * 0.5);
v17 = (GJAccountManager *)v16(v14, v123);
v18 = (GameLevelManager *)GJAccountManager::sharedState(v17);
if ( a2 == *((_DWORD *)v18 + 70) - *((_DWORD *)v18 + 71) )
{
v19 = (GameManager *)GameLevelManager::sharedState(v18);
v20 = (GJAccountManager *)GameManager::sharedState(v19);
v21 = (const char *)(*((_DWORD *)v20 + 116) - *((_DWORD *)v20 + 117));
v22 = (GJAccountManager *)GJAccountManager::sharedState(v20);
v23 = (char *)(*((_DWORD *)v22 + 70) - *((_DWORD *)v22 + 71));
v24 = GJAccountManager::sharedState(v22);
std::string::basic_string(v122, v24 + 268);
GameLevelManager::storeUserName((unsigned __int8 *)v19, v21, v23, (unsigned __int8 *)v122);
v18 = (GameLevelManager *)std::string::~string((int)v122);
}
v25 = (cocos2d::CCDictionary **)GameLevelManager::sharedState(v18);
GameLevelManager::tryGetUsername((GameLevelManager *)v122, v25, a2);
if ( (v122[0] & 1) != 0 )
v27 = (cocos2d::CCLabelBMFont *)v122[2];
else
v27 = (cocos2d::CCLabelBMFont *)((char *)v122 + 1);
v28 = cocos2d::CCLabelBMFont::create(v27, "bigFont.fnt", v26);
*((_DWORD *)this + 145) = v28;
(*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 115) + 232))(*((_DWORD *)this + 115), v28, 20);
v29 = *((_DWORD *)this + 145);
v30 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v29 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v123, v113 * 0.5, (float)((float)(v114 * 0.5) + 145.0) - 20.0);
v30(v29, v123);
if ( ProfilePage::isOnWatchlist(this, *((_DWORD *)this + 139)) )
(*(void (__fastcall **)(_DWORD, void *))(**((_DWORD **)this + 145) + 536))(*((_DWORD *)this + 145), &unk_BEE648);
cocos2d::CCLabelBMFont::limitLabelWidth(*((cocos2d::CCLabelBMFont **)this + 145), 160.0, 0.8, 0.0);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 153), *((cocos2d::CCObject **)this + 145));
v32 = (cocos2d::CCObject *)cocos2d::CCSprite::createWithSpriteFrameName(
(cocos2d::CCSprite *)"floorLine_001.png",
v31);
(*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v32 + 64))(v32, 1061997773);
(*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v32 + 72))(v32, 1065353216);
(*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v32 + 456))(v32, 100);
(*(void (__fastcall **)(_DWORD, cocos2d::CCObject *, _DWORD))(**((_DWORD **)this + 115) + 232))(
*((_DWORD *)this + 115),
v32,
0);
v33 = *(void (__fastcall **)(cocos2d::CCObject *, _DWORD *))(*(_DWORD *)v32 + 92);
v34 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 145) + 96))(*((_DWORD *)this + 145));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v121, 0.0, -21.0);
cocos2d::CCPoint::operator+(v123, v34, v121);
v33(v32, v123);
v35 = *(void (__fastcall **)(cocos2d::CCObject *, int, int, _DWORD *))(*(_DWORD *)v32 + 540);
v115[0] = 770;
v115[1] = 1;
v35(v32, 770, 1, v115);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 153), v32);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v116, v113 * 0.5, (float)(v114 * 0.5) + 40.0);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v123, 0.0, 0.0, 80.0, 80.0);
v36 = (cocos2d::CCObject *)cocos2d::extension::CCScale9Sprite::create("square02b_001.png", v123);
v37 = *(void (__fastcall **)(cocos2d::CCObject *, _DWORD *))(*(_DWORD *)v36 + 160);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v123, 400.0, 45.0);
v37(v36, v123);
(*(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_DWORD *)v36 + 92))(v36, v116);
v38 = *(void (__fastcall **)(cocos2d::CCObject *, _DWORD *))(*(_DWORD *)v36 + 480);
LOWORD(v123[0]) = 29375;
BYTE2(v123[0]) = 62;
v38(v36, v123);
(*(void (__fastcall **)(_DWORD, cocos2d::CCObject *, int))(**((_DWORD **)this + 115) + 232))(
*((_DWORD *)this + 115),
v36,
1);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 153), v36);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v123, 0.0, 0.0, 80.0, 80.0);
v39 = (cocos2d::CCObject *)cocos2d::extension::CCScale9Sprite::create("square02b_002.png", v123);
v40 = *(void (__fastcall **)(cocos2d::CCObject *, _DWORD *))(*(_DWORD *)v39 + 160);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v123, 400.0, 45.0);
v40(v39, v123);
(*(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_DWORD *)v39 + 92))(v39, v116);
v41 = *(void (__fastcall **)(cocos2d::CCObject *, _DWORD *))(*(_DWORD *)v39 + 480);
LOWORD(v123[0]) = 16514;
BYTE2(v123[0]) = 32;
v41(v39, v123);
(*(void (__fastcall **)(_DWORD, cocos2d::CCObject *, int))(**((_DWORD **)this + 115) + 232))(
*((_DWORD *)this + 115),
v39,
1);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 153), v39);
v43 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_closeBtn_001.png", v42);
v120 = 0;
v119 = ProfilePage::onClose;
v44 = (cocos2d::CCMenu *)CCMenuItemSpriteExtra::create(v43, 0, (int)this, (int)ProfilePage::onClose, 0);
CCMenuItemSpriteExtra::setSizeMult((int)v44, 1.6);
v45 = cocos2d::CCMenu::create(v44, nullptr);
*((_DWORD *)this + 111) = v45;
v46 = v45;
v47 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v45 + 92);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v123,
(float)((float)(v113 * 0.5) - 220.0) + 10.0,
(float)((float)(v114 * 0.5) + 145.0) - 10.0);
v47(v46, v123);
(*(void (__fastcall **)(_DWORD, _DWORD, int))(**((_DWORD **)this + 115) + 232))(
*((_DWORD *)this + 115),
*((_DWORD *)this + 111),
10);
v48 = (cocos2d::CCArray *)ProfilePage::setupComments(this);
v49 = (cocos2d::CCObject *)cocos2d::CCArray::create(v48);
*((_DWORD *)this + 152) = v49;
cocos2d::CCObject::retain(v49);
v51 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Something went wrong...", "goldFont.fnt", v50);
*((_DWORD *)this + 144) = v51;
(*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 115) + 232))(*((_DWORD *)this + 115), v51, 10);
v52 = *((_DWORD *)this + 144);
v53 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v52 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v123, v113 * 0.5, (float)(v114 * 0.5) - 53.0);
v53(v52, v123);
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 144) + 80))(*((_DWORD *)this + 144), 1058642330);
v54 = (GJAccountManager *)(*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 144) + 172))(
*((_DWORD *)this + 144),
0);
v55 = (GameManager *)GJAccountManager::sharedState(v54);
if ( *((_DWORD *)v55 + 70) - *((_DWORD *)v55 + 71) != *((_DWORD *)this + 139) )
{
v56 = (GameManager *)GameManager::sharedState(v55);
v55 = (GameManager *)GameManager::safeModeEnabled(v56);
if ( !v55 )
{
v57 = (GameLevelManager *)GameLevelManager::sharedState(nullptr);
isFollowingUser = GameLevelManager::isFollowingUser(v57, *((const char **)this + 139));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v117, (float)(v113 * 0.5) - 158.0, (float)(v114 * 0.5) - 123.0);
v60 = (cocos2d::CCSprite *)(isFollowingUser ? "followBtnOn_001.png" : "followBtnOff_001.png");
v61 = cocos2d::CCSprite::createWithSpriteFrameName(v60, v59);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v61 + 80))(v61, 1066192077);
v121[0] = ProfilePage::onFollow;
v121[1] = 0;
v62 = CCMenuItemSpriteExtra::create(v61, 0, (int)this, (int)ProfilePage::onFollow, 0);
*((_DWORD *)this + 149) = v62;
CCMenuItemSpriteExtra::setSizeMult(v62, 1.1);
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 111) + 228))(
*((_DWORD *)this + 111),
*((_DWORD *)this + 149));
v63 = *((_DWORD *)this + 149);
v112 = *(int (__fastcall **)(int, _DWORD *))(*(_DWORD *)v63 + 92);
cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v123, *((const cocos2d::CCPoint **)this + 111));
v55 = (GameManager *)v112(v63, v123);
if ( !isFollowingUser )
{
v102 = (GameManager *)GameManager::sharedState(v55);
v55 = (GameManager *)GameManager::modUIRank(v102);
if ( !v55 )
{
v104 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_followTxt_001.png", v103);
*((_DWORD *)this + 150) = v104;
(*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 115) + 232))(
*((_DWORD *)this + 115),
v104,
2);
v105 = *((_DWORD *)this + 150);
v106 = *(int (__fastcall **)(int, _DWORD *))(*(_DWORD *)v105 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v118, 48.0, -2.0);
cocos2d::CCPoint::operator+(v123, v117, v118);
v55 = (GameManager *)v106(v105, v123);
}
}
}
}
v64 = LoadingCircle::create(v55);
v65 = *((_DWORD *)this + 115);
*((_DWORD *)this + 158) = v64;
*((_DWORD *)v64 + 111) = v65;
*(_BYTE *)(*((_DWORD *)this + 158) + 448) = 0;
cocos2d::CCObject::retain(*((cocos2d::CCObject **)this + 158));
LoadingCircle::show(*((cocos2d::CCNode ***)this + 158));
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 158) + 172))(*((_DWORD *)this + 158), 0);
v66 = *(_DWORD *)(*((_DWORD *)this + 158) + 440);
v67 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v66 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v123, v113 * 0.5, (float)(v114 * 0.5) - 53.0);
v67(v66, v123);
v69 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_updateBtn_001.png", v68);
v123[1] = 0;
v123[0] = ProfilePage::onUpdate;
v70 = CCMenuItemSpriteExtra::create(v69, 0, (int)this, (int)ProfilePage::onUpdate, 0);
*((_DWORD *)this + 160) = v70;
CCMenuItemSpriteExtra::setSizeMult(v70, 1.5);
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 111) + 228))(
*((_DWORD *)this + 111),
*((_DWORD *)this + 160));
v71 = *((_DWORD *)this + 160);
v72 = *((const cocos2d::CCPoint **)this + 111);
v73 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v71 + 92);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v117,
(float)((float)(v113 * 0.5) - 220.0) + 10.0,
(float)((float)((float)(v114 * 0.5) - 145.0) + 10.0) + 1.0);
cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v118, v72);
v73(v71, v118);
v74 = (GameLevelManager *)(*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 160) + 172))(
*((_DWORD *)this + 160),
0);
v75 = GameLevelManager::sharedState(v74);
*(_DWORD *)(v75 + 884) = (char *)this + 532;
if ( !*((_BYTE *)this + 560) || (v75 = GameManager::sharedState((GameManager *)v75), *(_BYTE *)(v75 + 460)) )
{
v107 = (cocos2d::CCDictionary **)GameLevelManager::sharedState((GameLevelManager *)v75);
v108 = (GJUserScore *)GameLevelManager::userInfoForAccountID(v107, *((_DWORD *)this + 139));
if ( v108 )
{
if ( *((_DWORD *)v108 + 130) == 2 )
{
ProfilePage::loadPageFromUserInfo(this, v108);
ProfilePage::setupCommentsBrowser(this, nullptr);
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 160) + 172))(*((_DWORD *)this + 160), 1);
}
else
{
(*(void (__fastcall **)(ProfilePage *, GJUserScore *))(*(_DWORD *)this + 692))(this, v108);
}
}
else
{
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 158) + 172))(*((_DWORD *)this + 158), 1);
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 160) + 172))(*((_DWORD *)this + 160), 0);
v109 = (GameLevelManager *)ProfilePage::setupCommentsBrowser(this, nullptr);
v110 = (GameLevelManager *)GameLevelManager::sharedState(v109);
GameLevelManager::getGJUserInfo(v110, *((const char **)this + 139));
}
}
else
{
v76 = (GameLevelManager *)ProfilePage::setupCommentsBrowser(
this,
(cocos2d::CCArray *)*(unsigned __int8 *)(v75 + 460));
*(_DWORD *)(GameLevelManager::sharedState(v76) + 856) = (char *)this + 544;
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 158) + 172))(*((_DWORD *)this + 158), 1);
v77 = (GameLevelManager *)(*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 160) + 172))(
*((_DWORD *)this + 160),
0);
v78 = (GameLevelManager *)GameLevelManager::sharedState(v77);
GameLevelManager::updateUserScore(v78);
}
std::string::~string((int)v122);
}
}
return (unsigned __int8 *)v111;
}