//
// ProfilePage::loadPageFromUserInfo from 0xa594ac to 0xa5ba0c (9568 bytes)
//
// 6 xrefs:
// > ProfilePage::init @ 0xa5c474
// > ProfilePage::followUserFinished @ 0xa5c988
// > ProfilePage::followUserFinished @ 0xa5cae4
// > ProfilePage::userInfoChanged @ 0xa5cb84
// > ProfilePage::getUserInfoFinished @ 0xa5d034
// > ??> @ 0xdccd8
//
// 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:00:11 +0000
//
__int64 __fastcall ProfilePage::loadPageFromUserInfo(ProfilePage *this, GJUserScore *a2)
{
cocos2d::CCObject *v4; // x0
cocos2d::CCDirector *v5; // x0
cocos2d::CCArray *v6; // x1
unsigned int *v7; // x2
__int64 v8; // x0
char v9; // w0
char *v10; // x20
const char *v11; // x1
_BOOL4 v12; // w19
__int64 v13; // x22
__int64 v14; // x2
void (__fastcall *v15)(__int64, char *); // x19
const char *v16; // x1
char *v17; // x1
__int64 v18; // x0
_BOOL4 v19; // w19
__int64 v20; // x0
__int64 v21; // x22
__int64 v22; // x2
char v23; // w0
__int64 v24; // x0
__int64 v25; // x1
__int64 v26; // x1
char v27; // w3
int v28; // w23
__int64 v29; // x4
__int64 v30; // x5
__int64 v31; // x0
char v32; // w1
__int64 v33; // x0
__int64 v34; // x1
__int64 v35; // x1
__int64 v36; // x1
__int64 v37; // x1
const char *v38; // x1
int v39; // w1
GameManager *v40; // x0
_BOOL4 v41; // w22
GameManager *v42; // x0
unsigned __int64 v43; // x0
int v44; // w26
float v45; // s12
float v46; // s8
cocos2d::CCNode *v47; // x24
int v48; // w20
unsigned int v49; // w26
GameToolbox *v50; // x0
float v51; // s11
float v52; // s10
const char *v53; // x2
cocos2d::CCLabelBMFont *v54; // x0
cocos2d::CCLabelBMFont *v55; // x19
void (__fastcall *v56)(cocos2d::CCLabelBMFont *, __int64 *); // x22
void (__fastcall *v57)(cocos2d::CCLabelBMFont *, __int64 *); // x22
cocos2d::CCSprite *v58; // x0
cocos2d::CCObject *v59; // x23
cocos2d::CCObject *v60; // x22
void (__fastcall *v61)(cocos2d::CCObject *, __int64 *); // x26
void (__fastcall *v62)(cocos2d::CCObject *, __int64 *); // x26
long double v63; // q0
float v64; // s10
float v65; // s8
float v66; // s8
unsigned int v67; // w19
void (__fastcall *v68)(cocos2d::CCNode *, __int64 *); // x20
unsigned int v69; // w1
__int64 v70; // x20
__int64 v71; // x21
void (__fastcall *v72)(__int64, float); // x23
float v73; // s8
float v74; // s0
cocos2d::CCNode *v75; // x23
void (__fastcall *v76)(__int64, __int64 *); // x21
const cocos2d::CCPoint *v77; // x0
int v78; // w23
float v79; // s8
GameManager *v80; // x0
GameManager *v81; // x0
int v82; // w0
GameManager *v83; // x0
int v84; // w0
int v85; // w0
GameManager *v86; // x0
unsigned int v87; // w22
float v88; // s9
int v89; // w21
int v90; // w19
__int64 v91; // x0
int v92; // w0
_BOOL4 v93; // w1
char *v94; // x20
SimplePlayer *v95; // x19
__int64 v96; // x0
char v97; // w0
cocos2d::CCObject *v98; // x21
void (__fastcall *v99)(cocos2d::CCObject *, __int64 *); // x20
void (__fastcall *v100)(SimplePlayer *, __int64 *); // x20
cocos2d::CCNode *v101; // x20
void (__fastcall *v102)(cocos2d::CCObject *, __int64 *); // x19
cocos2d::CCArray *v103; // x0
cocos2d::CCArray *v104; // x21
const char *v105; // x1
__int64 v106; // x20
cocos2d::CCObject *v107; // x20
cocos2d::CCNode *v108; // x23
void (__fastcall *v109)(cocos2d::CCObject *, __int64 *); // x22
const char *v110; // x1
cocos2d::CCObject *v111; // x22
void (__fastcall *v112)(cocos2d::CCObject *, __int64 *); // x23
const char *v113; // x1
__int64 v114; // x19
cocos2d::CCObject *v115; // x19
cocos2d::CCNode *v116; // x23
void (__fastcall *v117)(cocos2d::CCObject *, __int64 *); // x21
const char *v118; // x1
cocos2d::CCObject *v119; // x21
void (__fastcall *v120)(cocos2d::CCObject *, __int64 *); // x23
GameManager *v121; // x0
GameManager *v122; // x0
GameManager *v123; // x0
GameManager *v124; // x0
GameManager *v125; // x0
__int64 *v127; // x19
__int64 *v128; // x21
__int64 v129; // x0
GameManager *v130; // x0
__int64 v131; // x0
GameManager *v132; // x0
GameManager *v133; // x0
unsigned __int8 v134; // w0
unsigned __int8 v135; // w19
_BOOL8 v136; // x1
__int64 v137; // x1
GameManager *v138; // x0
_BOOL4 v139; // w19
GameManager *v140; // x0
GameManager *v141; // x0
__int64 v142; // x0
int v143; // w20
char *v144; // x19
const char *v145; // x1
cocos2d::CCObject *v146; // x19
const char *v147; // x1
cocos2d::CCObject *v148; // x19
void (__fastcall *v149)(cocos2d::CCObject *, __int64 *); // x21
cocos2d::CCString *v150; // x0
cocos2d::CCLabelBMFont *CString; // x0
const char *v152; // x2
cocos2d::CCObject *v153; // x19
void (__fastcall *v154)(cocos2d::CCObject *, __int64 *); // x20
cocos2d::CCLabelBMFont *v155; // x0
__int64 v156; // x19
const char *v157; // x1
int v158; // w0
cocos2d::CCSprite *v159; // x0
__int64 v160; // x0
cocos2d::CCObject *v161; // x19
cocos2d::CCNode *v162; // x21
void (__fastcall *v163)(cocos2d::CCObject *, __int64 *); // x20
cocos2d::CCSprite *v164; // x19
cocos2d::CCObject *v165; // x19
float v166; // s0
cocos2d::CCNode *v167; // x21
float v168; // s10
void (__fastcall *v169)(cocos2d::CCObject *, __int64 *); // x20
__int64 v170; // x22
__int64 v171; // x0
const char *v172; // x1
__int64 v173; // x19
__int64 v174; // x0
cocos2d::CCObject *v175; // x19
cocos2d::CCNode *v176; // x21
void (__fastcall *v177)(cocos2d::CCObject *, __int64 *); // x20
__int64 v178; // x22
cocos2d::CCArray *v179; // x0
GameManager *v180; // x19
GameManager *v181; // x0
const char *v182; // x1
__int64 v183; // x20
cocos2d::CCObject *v184; // x22
GameManager *v185; // x0
GameManager *v186; // x0
const char *v187; // x1
cocos2d::CCObject *v188; // x24
GameManager *v189; // x0
GameManager *v190; // x0
const char *v191; // x1
cocos2d::CCNode *v192; // x21
cocos2d::CCNode *v193; // x24
unsigned int v194; // w26
ProfilePage *v195; // x23
GameManager *v196; // x0
__int64 v197; // x1
int v198; // w21
__int64 i; // x28
float v200; // s11
cocos2d::CCNode *v201; // x19
cocos2d::CCString *v202; // x0
cocos2d::CCLabelBMFont *v203; // x0
const char *v204; // x2
cocos2d::CCLabelBMFont *v205; // x21
void (__fastcall *v206)(cocos2d::CCLabelBMFont *, __int64 *); // x22
void (__fastcall *v207)(cocos2d::CCNode *, __int64 *); // x21
int v208; // w0
__int64 v209; // x0
GameManager *v210; // x0
GameManager *v211; // x0
unsigned __int8 *v212; // x0
int v213; // w19
GameLevelManager *v214; // x0
GameLevelManager *v215; // x0
GameLevelManager *v216; // x0
char v217; // w0
cocos2d::CCObject *v218; // x21
__int64 v219; // x0
cocos2d::CCObject *v220; // x19
cocos2d::CCNode *v221; // x22
cocos2d::CCNode *v222; // x21
void (__fastcall *v223)(cocos2d::CCObject *, __int64 *); // x20
GameManager *v224; // x0
GameManager *v225; // x0
GameManager *v226; // x0
const char *v227; // x1
__int64 v228; // x0
cocos2d::CCObject *v229; // x19
cocos2d::CCNode *v230; // x22
void (__fastcall *v231)(cocos2d::CCObject *, __int64 *); // x20
cocos2d::CCNode *v232; // x21
__int64 v233; // x0
const char *v234; // x1
const char *v235; // x21
__int64 v236; // x0
const char *v237; // x21
__int64 v238; // x0
const char *v239; // x21
__int64 v240; // x0
const char *v241; // x21
__int64 v242; // x0
const char *v243; // x21
unsigned int v244; // w19
char *v245; // x0
int v246; // w19
GameManager *v247; // x0
GameManager *GameVariable; // x0
__int64 v249; // x0
cocos2d::CCObject *v250; // x19
cocos2d::CCNode *v251; // x22
void (__fastcall *v252)(cocos2d::CCObject *, __int64 *); // x21
const char *v253; // x1
char *v254; // x0
cocos2d::CCObject *v255; // x19
void (__fastcall *v256)(cocos2d::CCObject *, __int64 *); // x21
__int64 v257; // x0
cocos2d::CCObject *v258; // x21
cocos2d::CCNode *v259; // x23
void (__fastcall *v260)(cocos2d::CCObject *, __int64 *); // x22
__int64 v261; // x0
cocos2d::CCObject *v262; // x24
cocos2d::CCObject *v263; // x22
__int64 v264; // x0
GameLevelManager *v265; // x0
GameManager *v266; // x0
int v267; // [xsp+A4h] [xbp+A4h]
int v268; // [xsp+A8h] [xbp+A8h]
float v269; // [xsp+ACh] [xbp+ACh]
cocos2d::CCArray *v270; // [xsp+B0h] [xbp+B0h]
unsigned int v271; // [xsp+B8h] [xbp+B8h]
__int64 v272; // [xsp+B8h] [xbp+B8h]
float v273; // [xsp+C0h] [xbp+C0h]
__int64 v274; // [xsp+C0h] [xbp+C0h]
__int64 v275; // [xsp+D0h] [xbp+D0h]
__int16 v276; // [xsp+E0h] [xbp+E0h] BYREF
char v277; // [xsp+E2h] [xbp+E2h]
__int16 v278; // [xsp+E8h] [xbp+E8h]
char v279; // [xsp+EAh] [xbp+EAh]
__int64 v280; // [xsp+F0h] [xbp+F0h] BYREF
char v281[8]; // [xsp+F8h] [xbp+F8h] BYREF
char v282[8]; // [xsp+100h] [xbp+100h] BYREF
float v283; // [xsp+108h] [xbp+108h] BYREF
char v284[8]; // [xsp+110h] [xbp+110h] BYREF
__int64 v285; // [xsp+118h] [xbp+118h] BYREF
__int64 v286; // [xsp+120h] [xbp+120h] BYREF
__int64 v287; // [xsp+128h] [xbp+128h] BYREF
__int64 v288; // [xsp+130h] [xbp+130h] BYREF
__int64 v289; // [xsp+138h] [xbp+138h]
void *v290; // [xsp+140h] [xbp+140h]
__int64 v291; // [xsp+148h] [xbp+148h] BYREF
__int64 v292; // [xsp+150h] [xbp+150h]
void *v293; // [xsp+158h] [xbp+158h]
__int64 v294; // [xsp+160h] [xbp+160h] BYREF
__int64 v295; // [xsp+168h] [xbp+168h]
void *v296; // [xsp+170h] [xbp+170h]
__int64 v297; // [xsp+178h] [xbp+178h] BYREF
__int64 v298; // [xsp+180h] [xbp+180h]
void *v299; // [xsp+188h] [xbp+188h]
__int64 v300; // [xsp+190h] [xbp+190h] BYREF
const char *v301; // [xsp+198h] [xbp+198h]
void *v302; // [xsp+1A0h] [xbp+1A0h]
(*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 73) + 128LL))(*((_QWORD *)this + 73), 1.0);
(*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 73) + 144LL))(*((_QWORD *)this + 73), 1.0);
if ( a2 )
cocos2d::CCObject::retain(a2);
v4 = *((cocos2d::CCObject **)this + 91);
if ( v4 )
{
v4 = (cocos2d::CCObject *)cocos2d::CCObject::release(v4);
*((_QWORD *)this + 91) = 0;
}
v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4);
cocos2d::CCDirector::getWinSize(&v280, v5);
v6 = *((cocos2d::CCArray **)this + 104);
if ( v6 )
{
v7 = *((unsigned int **)v6 + 7);
if ( *v7 )
{
v127 = *((__int64 **)v7 + 2);
v128 = &v127[*v7 - 1];
if ( v127 <= v128 )
{
v129 = *v127;
if ( *v127 )
{
do
{
++v127;
(*(void (__fastcall **)(__int64))(*(_QWORD *)v129 + 520LL))(v129);
if ( v128 < v127 )
break;
v129 = *v127;
}
while ( *v127 );
v6 = *((cocos2d::CCArray **)this + 104);
}
}
}
}
cocos2d::CCArray::removeAllObjects(v6);
if ( !a2 )
return _stack_chk_guard;
v8 = *((_QWORD *)this + 97);
*((_QWORD *)this + 91) = a2;
if ( v8 )
{
v9 = *((_BYTE *)a2 + 320);
v300 = 0;
v10 = (char *)a2 + 320;
v301 = nullptr;
v302 = nullptr;
if ( (v9 & 1) != 0 )
{
std::string::__init(&v300, *((void **)v10 + 2), *((_QWORD *)v10 + 1));
}
else
{
v302 = *((void **)v10 + 2);
v11 = *((const char **)v10 + 1);
v300 = *(_QWORD *)v10;
v301 = v11;
}
if ( (v300 & 1) != 0 )
{
v12 = v301 != nullptr;
operator delete(v302);
}
else
{
v12 = (int)(unsigned __int8)v300 >> 1 != 0;
}
if ( v12 )
{
v13 = *((_QWORD *)this + 97);
v14 = *((_QWORD *)this + 91) + 320LL;
v15 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v13 + 928LL);
v300 = 0;
v301 = nullptr;
v302 = nullptr;
if ( (*(_BYTE *)v14 & 1) != 0 )
{
std::string::__init(&v300, *(void **)(v14 + 16), *(_QWORD *)(v14 + 8));
}
else
{
v16 = *(const char **)(v14 + 8);
v300 = *(_QWORD *)v14;
v301 = v16;
v302 = *(void **)(v14 + 16);
}
v17 = (char *)&v300 + 1;
if ( (v300 & 1) != 0 )
v17 = (char *)v302;
v15(v13, v17);
if ( (v300 & 1) != 0 )
operator delete(v302);
cocos2d::CCLabelBMFont::limitLabelWidth(*((cocos2d::CCLabelBMFont **)this + 97), 160.0, 0.8, 0.0);
}
a2 = *((GJUserScore **)this + 91);
}
v18 = *((_QWORD *)this + 101);
v19 = *((_DWORD *)a2 + 172) == 2;
if ( v18 )
(*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v18 + 344LL))(v18, *((_DWORD *)a2 + 172) != 2);
v20 = *((_QWORD *)this + 102);
if ( v20 )
(*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v20 + 344LL))(v20, !v19);
if ( v19 )
{
ProfilePage::setupAccountButtons(this);
return _stack_chk_guard;
}
if ( !*((_BYTE *)this + 740) )
{
v209 = GJAccountManager::sharedState((GJAccountManager *)*((unsigned __int8 *)this + 740));
v210 = (GameManager *)(unsigned int)(*(_DWORD *)(v209 + 352) - *(_DWORD *)(v209 + 356));
if ( (int)v210 > 0 )
{
v211 = (GameManager *)GameManager::sharedState(v210);
if ( (unsigned __int8)GameManager::getGameVariable(v211, "0241") )
{
v212 = *((unsigned __int8 **)this + 91);
v213 = v212[720];
v214 = (GameLevelManager *)GameLevelManager::sharedState((GameLevelManager *)v212);
if ( v213 != GameLevelManager::isFollowingUser(v214, (const char *)*((unsigned int *)this + 184)) )
{
v215 = (GameLevelManager *)*(unsigned __int8 *)(*((_QWORD *)this + 91) + 720LL);
if ( *(_BYTE *)(*((_QWORD *)this + 91) + 720LL) )
{
v216 = (GameLevelManager *)GameLevelManager::sharedState(v215);
GameLevelManager::followUser(v216, *((_DWORD *)this + 184));
}
else
{
v265 = (GameLevelManager *)GameLevelManager::sharedState(v215);
GameLevelManager::unfollowUser(v265, (const char *)*((unsigned int *)this + 184));
}
ProfilePage::updateFollowButton(this, *(_BYTE *)(*((_QWORD *)this + 91) + 720LL));
v21 = *((_QWORD *)this + 91);
v288 = 0;
v289 = 0;
v22 = v21 + 464;
v217 = *(_BYTE *)(v21 + 464);
v290 = nullptr;
if ( (v217 & 1) != 0 )
goto LABEL_200;
LABEL_29:
v24 = *(_QWORD *)v22;
v25 = *(_QWORD *)(v22 + 8);
v290 = *(void **)(v22 + 16);
v288 = v24;
v289 = v25;
goto LABEL_30;
}
}
}
}
v21 = *((_QWORD *)this + 91);
v288 = 0;
v289 = 0;
v22 = v21 + 464;
v23 = *(_BYTE *)(v21 + 464);
v290 = nullptr;
if ( (v23 & 1) == 0 )
goto LABEL_29;
LABEL_200:
std::string::__init(&v288, *(void **)(v22 + 16), *(_QWORD *)(v22 + 8));
v21 = *((_QWORD *)this + 91);
LABEL_30:
v26 = (unsigned __int8)v288 >> 1;
if ( (v288 & 1) != 0 )
v26 = v289;
v27 = *(_BYTE *)(v21 + 488);
v291 = 0;
v28 = v26 != 0;
v292 = 0;
v293 = nullptr;
if ( (v27 & 1) != 0 )
{
std::string::__init(&v291, *(void **)(v21 + 504), *(_QWORD *)(v21 + 496));
v21 = *((_QWORD *)this + 91);
}
else
{
v29 = *(_QWORD *)(v21 + 488);
v30 = *(_QWORD *)(v21 + 496);
v293 = *(void **)(v21 + 504);
v291 = v29;
v292 = v30;
}
v31 = (unsigned __int8)v291 >> 1;
if ( (v291 & 1) != 0 )
v31 = v292;
v32 = *(_BYTE *)(v21 + 512);
v294 = 0;
if ( v31 )
++v28;
v295 = 0;
v296 = nullptr;
if ( (v32 & 1) != 0 )
{
std::string::__init(&v294, *(void **)(v21 + 528), *(_QWORD *)(v21 + 520));
v21 = *((_QWORD *)this + 91);
}
else
{
v33 = *(_QWORD *)(v21 + 512);
v34 = *(_QWORD *)(v21 + 520);
v296 = *(void **)(v21 + 528);
v294 = v33;
v295 = v34;
}
v35 = (unsigned __int8)v294 >> 1;
if ( (v294 & 1) != 0 )
v35 = v295;
v297 = 0;
v298 = 0;
if ( v35 )
++v28;
v299 = nullptr;
if ( (*(_BYTE *)(v21 + 560) & 1) != 0 )
{
std::string::__init(&v297, *(void **)(v21 + 576), *(_QWORD *)(v21 + 568));
v21 = *((_QWORD *)this + 91);
}
else
{
v36 = *(_QWORD *)(v21 + 568);
v297 = *(_QWORD *)(v21 + 560);
v298 = v36;
v299 = *(void **)(v21 + 576);
}
v37 = (unsigned __int8)v297 >> 1;
if ( (v297 & 1) != 0 )
v37 = v298;
v300 = 0;
v301 = nullptr;
v302 = nullptr;
if ( v37 )
++v28;
if ( (*(_BYTE *)(v21 + 584) & 1) != 0 )
{
std::string::__init(&v300, *(void **)(v21 + 600), *(_QWORD *)(v21 + 592));
}
else
{
v38 = *(const char **)(v21 + 592);
v300 = *(_QWORD *)(v21 + 584);
v301 = v38;
v302 = *(void **)(v21 + 600);
}
if ( (v300 & 1) != 0 )
{
if ( v301 )
v39 = v28 + 1;
else
v39 = v28;
v268 = v39;
operator delete(v302);
if ( (v297 & 1) == 0 )
goto LABEL_57;
}
else
{
if ( (int)(unsigned __int8)v300 >> 1 )
v208 = v28 + 1;
else
v208 = v28;
v268 = v208;
if ( (v297 & 1) == 0 )
{
LABEL_57:
if ( (v294 & 1) == 0 )
goto LABEL_58;
goto LABEL_194;
}
}
operator delete(v299);
if ( (v294 & 1) == 0 )
{
LABEL_58:
if ( (v291 & 1) == 0 )
goto LABEL_59;
LABEL_195:
operator delete(v293);
if ( (v288 & 1) == 0 )
goto LABEL_60;
LABEL_196:
operator delete(v290);
goto LABEL_60;
}
LABEL_194:
operator delete(v296);
if ( (v291 & 1) != 0 )
goto LABEL_195;
LABEL_59:
if ( (v288 & 1) != 0 )
goto LABEL_196;
LABEL_60:
v40 = (GameManager *)*(unsigned int *)(*((_QWORD *)this + 91) + 400LL);
v41 = (int)v40 > 0;
v42 = (GameManager *)GameManager::sharedState(v40);
v43 = (unsigned __int8)GameManager::safeModeEnabled(v42);
if ( (_BYTE)v43 || (v43 = *(unsigned int *)(*((_QWORD *)this + 91) + 712LL), (int)v43 <= 0) )
{
v267 = 0;
v44 = 0;
v269 = (float)(*((float *)&v280 + 1) * 0.5) + 85.0;
if ( !v41 )
goto LABEL_63;
LABEL_188:
v45 = 50.0;
goto LABEL_64;
}
v44 = 1;
v267 = 1;
v269 = (float)(*((float *)&v280 + 1) * 0.5) + 85.0;
if ( v41 )
goto LABEL_188;
LABEL_63:
v45 = 60.0;
LABEL_64:
v46 = 0.0;
v47 = (cocos2d::CCNode *)cocos2d::CCNode::create((cocos2d::CCNode *)v43);
v48 = 0;
(*(void (__fastcall **)(cocos2d::CCNode *, void *))(*(_QWORD *)v47 + 320LL))(v47, &unk_155D5F0);
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *))(**((_QWORD **)this + 73) + 456LL))(*((_QWORD *)this + 73), v47);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v281, 0.0, 0.0);
v271 = v41 + 5 + v44;
v270 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)v271);
do
{
v297 = 0;
v298 = 0;
v299 = nullptr;
if ( v48 != 5 )
{
if ( v48 == 6 )
{
LABEL_128:
std::string::assign(&v297, "GJ_hammerIcon_001.png");
v49 = 0;
v50 = (GameToolbox *)*(unsigned int *)(*((_QWORD *)this + 91) + 400LL);
}
else
{
switch ( v48 )
{
case 1:
std::string::assign(&v297, "GJ_moonsIcon_001.png");
v49 = 2;
v50 = (GameToolbox *)*(unsigned int *)(*((_QWORD *)this + 91) + 384LL);
break;
case 2:
std::string::assign(&v297, "GJ_coinsIcon_001.png");
v49 = 0;
v50 = (GameToolbox *)*(unsigned int *)(*((_QWORD *)this + 91) + 404LL);
break;
case 3:
std::string::assign(&v297, "GJ_coinsIcon2_001.png");
v49 = 0;
v50 = (GameToolbox *)*(unsigned int *)(*((_QWORD *)this + 91) + 408LL);
break;
case 4:
std::string::assign(&v297, "GJ_demonIcon_001.png");
v49 = 3;
v50 = (GameToolbox *)*(unsigned int *)(*((_QWORD *)this + 91) + 392LL);
break;
default:
std::string::assign(&v297, "GJ_starsIcon_001.png");
v49 = 1;
v50 = (GameToolbox *)*(unsigned int *)(*((_QWORD *)this + 91) + 380LL);
break;
}
}
v51 = 0.9;
v52 = 0.0;
goto LABEL_70;
}
if ( !v267 )
goto LABEL_128;
std::string::assign(&v297, "GJ_followIcon_001.png");
v51 = 0.855;
v50 = (GameToolbox *)*(unsigned int *)(*((_QWORD *)this + 91) + 712LL);
if ( *((_BYTE *)this + 740) )
v49 = 4;
else
v49 = 0;
v52 = 3.0;
LABEL_70:
GameToolbox::pointsToString(v50, (unsigned __int64 *)&v300);
v54 = (cocos2d::CCLabelBMFont *)((char *)&v300 + 1);
if ( (v300 & 1) != 0 )
v54 = (cocos2d::CCLabelBMFont *)v302;
v55 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v54, "bigFont.fnt", v53);
if ( (v300 & 1) != 0 )
operator delete(v302);
(*(void (__fastcall **)(cocos2d::CCNode *, cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)v47 + 464LL))(v47, v55, 2);
v56 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v55 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v287, 0.0, 0.5);
v56(v55, &v287);
v57 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v55 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v286, v52, 0.0);
cocos2d::CCPoint::operator+(&v287, v281);
v57(v55, &v287);
(*(void (__fastcall **)(cocos2d::CCLabelBMFont *, float))(*(_QWORD *)v55 + 160LL))(v55, 0.6);
cocos2d::CCLabelBMFont::limitLabelWidth(v55, v45, 0.6, 0.0);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 104), v55);
v58 = (cocos2d::CCSprite *)((char *)&v297 + 1);
if ( (v297 & 1) != 0 )
v58 = (cocos2d::CCSprite *)v299;
v59 = (cocos2d::CCObject *)cocos2d::CCSprite::createWithSpriteFrameName(v58, (const char *)(unsigned __int8)v297);
(*(void (__fastcall **)(cocos2d::CCObject *, float))(*(_QWORD *)v59 + 160LL))(v59, v51);
(*(void (__fastcall **)(__int64 *__return_ptr, cocos2d::CCLabelBMFont *))(*(_QWORD *)v55 + 336LL))(&v286, v55);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v287, *(float *)&v286 + 14.0, 0.0);
cocos2d::CCPoint::operator+(&v285, v281);
if ( v49 )
{
v60 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
(__int64)v59,
0,
(__int64)this,
(__int64)ProfilePage::onStatInfo,
0);
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v60 + 72LL))(v60, v49);
v61 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v60 + 320LL);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v287, 30.0, 30.0);
v61(v60, &v287);
v62 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v59 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v287, 15.0, 15.0);
v62(v59, &v287);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 69) + 456LL))(
*((_QWORD *)this + 69),
v60);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v60 + 184LL))(v60, &v285);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 104), v60);
cocos2d::CCArray::addObject(v270, v60);
}
else
{
(*(void (__fastcall **)(cocos2d::CCNode *, cocos2d::CCObject *, __int64))(*(_QWORD *)v47 + 464LL))(v47, v59, 2);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v59 + 184LL))(v59, &v285);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 104), v59);
}
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v286, 20.0, 0.0);
cocos2d::CCPoint::operator+(&v287, &v285);
*(__n128 *)&v63 = cocos2d::CCPoint::operator=(v281, &v287);
v64 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *, long double))(*(_QWORD *)v55 + 328LL))(
v55,
v63);
v65 = v46
+ (float)((float)(v64 * (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v55 + 168LL))(v55)) + 14.0);
if ( v48 )
v46 = v65 + 20.0;
else
v46 = v65 + 10.0;
if ( (v297 & 1) != 0 )
operator delete(v299);
++v48;
}
while ( v48 != v271 );
if ( v46 > 420.0 )
{
(*(void (__fastcall **)(cocos2d::CCNode *, float))(*(_QWORD *)v47 + 160LL))(v47, 420.0 / v46);
v66 = 210.0;
}
else
{
v66 = v46 * 0.5;
}
v67 = 0;
v68 = *(void (__fastcall **)(cocos2d::CCNode *, __int64 *))(*(_QWORD *)v47 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v287, -(float)(v66 - (float)(*(float *)&v280 * 0.5)), v269);
v68(v47, &v287);
while ( v67 < (unsigned int)cocos2d::CCArray::count(v270) )
{
v69 = v67++;
v70 = cocos2d::CCArray::objectAtIndex(v270, v69);
v71 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v70 + 1072LL))(v70);
v72 = *(void (__fastcall **)(__int64, float))(*(_QWORD *)v71 + 160LL);
v73 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v71 + 168LL))(v71);
v74 = (*(float (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v47 + 168LL))(v47);
v72(v71, v73 * v74);
v75 = *((cocos2d::CCNode **)this + 69);
v76 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v70 + 184LL);
v77 = (const cocos2d::CCPoint *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v70 + 192LL))(v70);
cocos2d::CCNode::convertToWorldSpace(&v286, v47, v77);
cocos2d::CCNode::convertToNodeSpace(&v287, v75, (const cocos2d::CCPoint *)&v286);
v76(v70, &v287);
}
v78 = 0;
v79 = 3.0;
v80 = (GameManager *)cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v282,
*(float *)&v280 * 0.5,
(float)(*((float *)&v280 + 1) * 0.5) + 40.0);
v81 = (GameManager *)GameManager::sharedState(v80);
v82 = GameManager::colorForIdx(v81, *(_DWORD *)(*((_QWORD *)this + 91) + 416LL));
v277 = BYTE2(v82);
v276 = v82;
v83 = (GameManager *)GameManager::sharedState((GameManager *)v82);
v84 = GameManager::colorForIdx(v83, *(_DWORD *)(*((_QWORD *)this + 91) + 420LL));
v278 = v84;
v279 = BYTE2(v84);
while ( 1 )
{
v85 = v78 - 1;
if ( (unsigned int)(v78 - 1) <= 7 )
goto LABEL_102;
LABEL_90:
v86 = *((GameManager **)this + 91);
v87 = 0;
v88 = 0.95;
v89 = 0;
v90 = *((_DWORD *)v86 + 158);
LABEL_91:
v91 = GameManager::sharedState(v86);
v92 = GameManager::countForType(v91, v89);
if ( v90 <= v92 )
LABEL_115:
v93 = v90 <= 0;
else
LABEL_92:
v93 = v92 <= 0;
v94 = (char *)&dword_0 + 1;
if ( !v93 )
{
if ( v92 > v90 )
LODWORD(v94) = v90;
else
LODWORD(v94) = v92;
}
v95 = (SimplePlayer *)SimplePlayer::create((SimplePlayer *)(unsigned int)v94);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v287,
(float)((float)((float)((float)v78 * 44.0) + -176.0) + v79) - 1.0,
0.0);
cocos2d::CCPoint::operator+(&v285, v282);
(*(void (__fastcall **)(SimplePlayer *, __int16 *))(*(_QWORD *)v95 + 960LL))(v95, &v276);
SimplePlayer::setSecondColor(v95);
v96 = *((_QWORD *)this + 91);
v97 = *(_DWORD *)(v96 + 428) == 2 ? 1 : *(_BYTE *)(v96 + 672);
*((_BYTE *)v95 + 660) = v97;
++v78;
SimplePlayer::tryEnableCustomGlowColor(v95, *(_DWORD *)(*((_QWORD *)this + 91) + 424LL));
SimplePlayer::updatePlayerFrame((__int64)v95, (int)v94, v89);
SimplePlayer::updateColors(v95);
(*(void (__fastcall **)(SimplePlayer *, float))(*(_QWORD *)v95 + 160LL))(v95, v88);
v98 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
(__int64)v95,
0,
(__int64)this,
(__int64)ProfilePage::onIconInfo,
0);
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v98 + 72LL))(v98, v87);
*((_DWORD *)v98 + 124) = (_DWORD)v94;
v99 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v98 + 320LL);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v287, 30.0, 30.0);
v99(v98, &v287);
v100 = *(void (__fastcall **)(SimplePlayer *, __int64 *))(*(_QWORD *)v95 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v287, 15.0, 15.0);
v100(v95, &v287);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 69) + 456LL))(
*((_QWORD *)this + 69),
v98);
v101 = *((cocos2d::CCNode **)this + 69);
v102 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v98 + 184LL);
cocos2d::CCNode::convertToWorldSpace(&v286, *((cocos2d::CCNode **)this + 73), (const cocos2d::CCPoint *)&v285);
cocos2d::CCNode::convertToNodeSpace(&v287, v101, (const cocos2d::CCPoint *)&v286);
v102(v98, &v287);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 104), v98);
if ( v78 == 9 )
break;
if ( v78 > 4 )
{
v85 = v78 - 1;
v79 = -3.0;
LABEL_102:
switch ( v85 )
{
case 0:
v86 = *((GameManager **)this + 91);
v87 = 1;
v88 = 0.95;
v89 = 1;
v90 = *((_DWORD *)v86 + 159);
goto LABEL_91;
case 1:
v86 = *((GameManager **)this + 91);
v87 = 2;
v88 = 0.95;
v89 = 2;
v90 = *((_DWORD *)v86 + 160);
goto LABEL_91;
case 2:
v86 = *((GameManager **)this + 91);
v87 = 3;
v88 = 0.95;
v89 = 3;
v90 = *((_DWORD *)v86 + 161);
goto LABEL_91;
case 3:
v86 = *((GameManager **)this + 91);
v87 = 4;
v88 = 0.95;
v89 = 4;
v90 = *((_DWORD *)v86 + 162);
goto LABEL_91;
case 4:
v86 = *((GameManager **)this + 91);
v87 = 5;
v88 = 0.95;
v89 = 5;
v90 = *((_DWORD *)v86 + 163);
goto LABEL_91;
case 5:
v88 = 0.95;
v130 = *((GameManager **)this + 91);
v87 = 6;
v89 = 6;
v90 = *((_DWORD *)v130 + 164);
v131 = GameManager::sharedState(v130);
v92 = GameManager::countForType(v131, 6);
if ( v90 <= v92 )
goto LABEL_115;
goto LABEL_92;
case 6:
v86 = *((GameManager **)this + 91);
v87 = 7;
v89 = 7;
v88 = 0.9;
v90 = *((_DWORD *)v86 + 165);
v79 = v79 + 2.0;
goto LABEL_91;
case 7:
v86 = *((GameManager **)this + 91);
v87 = 8;
v88 = 0.9;
v89 = 8;
v90 = *((_DWORD *)v86 + 166);
goto LABEL_91;
default:
goto LABEL_90;
}
}
v79 = 3.0;
}
v132 = (GameManager *)cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v283,
(float)((float)(*(float *)&v280 * 0.5) + 220.0) - 22.0,
(float)((float)(*((float *)&v280 + 1) * 0.5) + 145.0) - 22.0);
v133 = (GameManager *)GameManager::sharedState(v132);
v134 = GameManager::safeModeEnabled(v133);
v135 = v134;
if ( v268 != 1 )
{
v136 = v268 > 1;
if ( (unsigned int)v136 <= v134 )
goto LABEL_133;
v249 = cocos2d::CCSprite::createWithSpriteFrameName(
(cocos2d::CCSprite *)"accountBtn_social_001.png",
(const char *)v136);
v250 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
v249,
0,
(__int64)this,
(__int64)ProfilePage::onMyStuff,
0);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 69) + 456LL))(
*((_QWORD *)this + 69),
v250);
v251 = *((cocos2d::CCNode **)this + 69);
v252 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v250 + 184LL);
cocos2d::CCNode::convertToWorldSpace(&v286, *((cocos2d::CCNode **)this + 73), (const cocos2d::CCPoint *)&v283);
cocos2d::CCNode::convertToNodeSpace(&v287, v251, (const cocos2d::CCPoint *)&v286);
v252(v250, &v287);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 104), v250);
LABEL_259:
v254 = "GJ_stuffTxt_001.png";
goto LABEL_260;
}
v233 = *((_QWORD *)this + 91);
v300 = 0;
v301 = nullptr;
v302 = nullptr;
if ( (*(_BYTE *)(v233 + 464) & 1) != 0 )
{
std::string::__init(&v300, *(void **)(v233 + 480), *(_QWORD *)(v233 + 472));
}
else
{
v234 = *(const char **)(v233 + 472);
v300 = *(_QWORD *)(v233 + 464);
v301 = v234;
v302 = *(void **)(v233 + 480);
}
v235 = (const char *)((unsigned __int8)v300 >> 1);
if ( (v300 & 1) != 0 )
{
v235 = v301;
operator delete(v302);
}
if ( v235 )
{
if ( v135 )
goto LABEL_133;
v244 = 0;
v245 = "gj_ytIcon_001.png";
LABEL_263:
v257 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)v245, v234);
v258 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
v257,
0,
(__int64)this,
(__int64)ProfilePage::onSocialPage,
0);
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v258 + 72LL))(v258, v244);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 69) + 456LL))(
*((_QWORD *)this + 69),
v258);
v259 = *((cocos2d::CCNode **)this + 69);
v260 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v258 + 184LL);
cocos2d::CCNode::convertToWorldSpace(&v286, *((cocos2d::CCNode **)this + 73), (const cocos2d::CCPoint *)&v283);
cocos2d::CCNode::convertToNodeSpace(&v287, v259, (const cocos2d::CCPoint *)&v286);
v260(v258, &v287);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 104), v258);
if ( v244 )
{
if ( v244 == 1 )
{
v254 = "GJ_twitterTxt_001.png";
}
else
{
if ( v244 != 2 )
goto LABEL_259;
v254 = "GJ_twitchTxt_001.png";
}
}
else
{
v254 = "GJ_youtubeTxt_001.png";
}
LABEL_260:
v255 = (cocos2d::CCObject *)cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)v254, v253);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
v255,
2);
v256 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v255 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v286, -60.0, 0.0);
cocos2d::CCPoint::operator+(&v287, &v283);
v256(v255, &v287);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 104), v255);
goto LABEL_133;
}
v236 = *((_QWORD *)this + 91);
v300 = 0;
v301 = nullptr;
v302 = nullptr;
if ( (*(_BYTE *)(v236 + 488) & 1) != 0 )
{
std::string::__init(&v300, *(void **)(v236 + 504), *(_QWORD *)(v236 + 496));
}
else
{
v234 = *(const char **)(v236 + 496);
v300 = *(_QWORD *)(v236 + 488);
v301 = v234;
v302 = *(void **)(v236 + 504);
}
v237 = (const char *)((unsigned __int8)v300 >> 1);
if ( (v300 & 1) != 0 )
{
v237 = v301;
operator delete(v302);
}
if ( v237 )
{
if ( v135 )
goto LABEL_133;
v244 = 1;
v245 = "gj_twIcon_001.png";
goto LABEL_263;
}
v238 = *((_QWORD *)this + 91);
v300 = 0;
v301 = nullptr;
v302 = nullptr;
if ( (*(_BYTE *)(v238 + 512) & 1) != 0 )
{
std::string::__init(&v300, *(void **)(v238 + 528), *(_QWORD *)(v238 + 520));
}
else
{
v234 = *(const char **)(v238 + 520);
v300 = *(_QWORD *)(v238 + 512);
v301 = v234;
v302 = *(void **)(v238 + 528);
}
v239 = (const char *)((unsigned __int8)v300 >> 1);
if ( (v300 & 1) != 0 )
{
v239 = v301;
operator delete(v302);
}
if ( v239 )
{
if ( v135 )
goto LABEL_133;
v244 = 2;
v245 = "gj_twitchIcon_001.png";
goto LABEL_263;
}
v240 = *((_QWORD *)this + 91);
v300 = 0;
v301 = nullptr;
v302 = nullptr;
if ( (*(_BYTE *)(v240 + 560) & 1) != 0 )
{
std::string::__init(&v300, *(void **)(v240 + 576), *(_QWORD *)(v240 + 568));
}
else
{
v234 = *(const char **)(v240 + 568);
v300 = *(_QWORD *)(v240 + 560);
v301 = v234;
v302 = *(void **)(v240 + 576);
}
v241 = (const char *)((unsigned __int8)v300 >> 1);
if ( (v300 & 1) != 0 )
{
v241 = v301;
operator delete(v302);
}
if ( v241 )
{
if ( v135 )
goto LABEL_133;
v244 = 3;
v245 = "gj_instaIcon_001.png";
goto LABEL_263;
}
v242 = *((_QWORD *)this + 91);
v300 = 0;
v301 = nullptr;
v302 = nullptr;
if ( (*(_BYTE *)(v242 + 584) & 1) != 0 )
{
std::string::__init(&v300, *(void **)(v242 + 600), *(_QWORD *)(v242 + 592));
}
else
{
v234 = *(const char **)(v242 + 592);
v300 = *(_QWORD *)(v242 + 584);
v301 = v234;
v302 = *(void **)(v242 + 600);
}
v243 = (const char *)((unsigned __int8)v300 >> 1);
if ( (v300 & 1) != 0 )
{
v243 = v301;
operator delete(v302);
}
if ( v243 && !v135 )
{
v244 = 4;
v245 = "gj_tiktokIcon_001.png";
goto LABEL_263;
}
LABEL_133:
v137 = *((_QWORD *)this + 91);
v138 = (GameManager *)*(unsigned int *)(v137 + 444);
if ( (_DWORD)v138 == 2 )
{
v139 = 0;
}
else
{
v139 = 1;
if ( (_DWORD)v138 == 1 )
{
v138 = (GameManager *)*(unsigned int *)(v137 + 688);
v139 = (_DWORD)v138 == 1;
}
}
v140 = (GameManager *)GameManager::sharedState(v138);
v141 = (GameManager *)(unsigned __int8)GameManager::accountPostsRestricted(v140);
if ( !(_BYTE)v141 )
{
v226 = (GameManager *)GameManager::sharedState(v141);
if ( !(unsigned __int8)GameManager::commentsRestricted(v226) )
{
if ( v139
|| *((_BYTE *)this + 740)
|| (v264 = GameManager::sharedState((GameManager *)*((unsigned __int8 *)this + 740)),
v227 = (const char *)*(unsigned int *)(v264 + 1032),
(_DWORD)v227 - *(_DWORD *)(v264 + 1036) == 2) )
{
v228 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"btn_chatHistory_001.png", v227);
v229 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
v228,
0,
(__int64)this,
(__int64)ProfilePage::onCommentHistory,
0);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 69) + 456LL))(
*((_QWORD *)this + 69),
v229);
v230 = *((cocos2d::CCNode **)this + 73);
v231 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v229 + 184LL);
v232 = *((cocos2d::CCNode **)this + 69);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v285, v283, (float)(*((float *)&v280 + 1) * 0.5) + -10.0);
cocos2d::CCNode::convertToWorldSpace(&v286, v230, (const cocos2d::CCPoint *)&v285);
cocos2d::CCNode::convertToNodeSpace(&v287, v232, (const cocos2d::CCPoint *)&v286);
v231(v229, &v287);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 104), v229);
}
}
}
v142 = *((_QWORD *)this + 91);
v143 = *(_DWORD *)(v142 + 684);
if ( v143 > 0 )
{
if ( v143 == 1 )
{
v144 = "rankIcon_1_001.png";
}
else if ( v143 <= 10 )
{
v144 = "rankIcon_top10_001.png";
}
else if ( v143 <= 50 )
{
v144 = "rankIcon_top50_001.png";
}
else if ( v143 <= 100 )
{
v144 = "rankIcon_top100_001.png";
}
else if ( v143 <= 200 )
{
v144 = "rankIcon_top200_001.png";
}
else if ( v143 <= 500 )
{
v144 = "rankIcon_top500_001.png";
}
else if ( v143 <= 1000 )
{
v144 = "rankIcon_top1000_001.png";
}
else if ( v143 <= 5000 )
{
v144 = "rankIcon_top2500_001.png";
}
else if ( v143 <= 10000 )
{
v144 = "rankIcon_top5000_001.png";
}
else if ( v143 <= 50000 )
{
v144 = "rankIcon_top10000_001.png";
}
else
{
v144 = "rankIcon_all_001.png";
}
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v285,
(float)(*(float *)&v280 * 0.5) + -164.0,
(float)(*((float *)&v280 + 1) * 0.5) + 123.0);
v146 = (cocos2d::CCObject *)cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)v144, v145);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
v146,
10);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v146 + 184LL))(v146, &v285);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 104), v146);
v148 = (cocos2d::CCObject *)cocos2d::CCSprite::createWithSpriteFrameName(
(cocos2d::CCSprite *)"gj_globalRankTxt_001.png",
v147);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
v148,
10);
v149 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v148 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v286, 40.0, 6.0);
cocos2d::CCPoint::operator+(&v287, &v285);
v149(v148, &v287);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 104), v148);
v150 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i",
(const char *)(unsigned int)v143);
CString = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v150);
v153 = (cocos2d::CCObject *)cocos2d::CCLabelBMFont::create(CString, "chatFont.fnt", v152);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
v153,
10);
v154 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v153 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v286, 40.0, -6.0);
cocos2d::CCPoint::operator+(&v287, &v285);
v154(v153, &v287);
(*(void (__fastcall **)(cocos2d::CCObject *, float))(*(_QWORD *)v153 + 160LL))(v153, 0.6);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 104), v153);
v142 = *((_QWORD *)this + 91);
}
if ( *(int *)(v142 + 680) > 0 )
{
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v284,
(float)(*(float *)&v280 * 0.5) + -180.0,
(float)(*((float *)&v280 + 1) * 0.5) + 100.0);
v155 = *((cocos2d::CCLabelBMFont **)this + 97);
if ( v155 )
{
cocos2d::CCLabelBMFont::limitLabelWidth(v155, 140.0, 0.9, 0.0);
v156 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 97) + 192LL))(*((_QWORD *)this + 97));
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 97) + 336LL))(*((_QWORD *)this + 97));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v286, -16.0 - (float)(*(float *)&v285 * 0.5), -1.0);
cocos2d::CCPoint::operator+(&v287, v156);
cocos2d::CCPoint::operator=(v284, &v287);
}
v300 = 0;
v301 = nullptr;
v302 = nullptr;
std::string::__init(&v300, "modBadge_01_001.png", 0x13u);
v158 = *(_DWORD *)(*((_QWORD *)this + 91) + 680LL);
if ( v158 == 3 )
{
std::string::assign(&v300, "modBadge_03_001.png");
}
else if ( v158 == 2 )
{
std::string::assign(&v300, "modBadge_02_001.png");
}
if ( (v300 & 1) != 0 )
v159 = (cocos2d::CCSprite *)v302;
else
v159 = (cocos2d::CCSprite *)((char *)&v300 + 1);
v160 = cocos2d::CCSprite::createWithSpriteFrameName(v159, v157);
v161 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
v160,
0,
(__int64)this,
(__int64)ProfilePage::onModInfo,
0);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 69) + 456LL))(
*((_QWORD *)this + 69),
v161);
v162 = *((cocos2d::CCNode **)this + 69);
v163 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v161 + 184LL);
cocos2d::CCNode::convertToWorldSpace(&v286, *((cocos2d::CCNode **)this + 73), (const cocos2d::CCPoint *)v284);
cocos2d::CCNode::convertToNodeSpace(&v287, v162, (const cocos2d::CCPoint *)&v286);
v163(v161, &v287);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 104), v161);
if ( (v300 & 1) != 0 )
operator delete(v302);
}
v300 = 0;
v301 = nullptr;
v302 = nullptr;
std::string::__init(&v300, "GJ_infoIcon_001.png", 0x13u);
v164 = CCSpriteGrayscale::createWithSpriteFrameName((char *)&v300);
if ( (v300 & 1) != 0 )
operator delete(v302);
(*(void (__fastcall **)(cocos2d::CCSprite *, float))(*(_QWORD *)v164 + 160LL))(v164, 0.45);
v165 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
(__int64)v164,
0,
(__int64)this,
(__int64)ProfilePage::onInfo,
0);
CCMenuItemSpriteExtra::setSizeMult((__int64)v165, 1.5);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v165);
v166 = (*(float (__fastcall **)(_QWORD))(**((_QWORD **)this + 97) + 168LL))(*((_QWORD *)this + 97));
v167 = *((cocos2d::CCNode **)this + 69);
v168 = v166;
v169 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v165 + 184LL);
v170 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 97) + 192LL))(*((_QWORD *)this + 97));
v273 = (float)(v168
* (float)(*(float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 97) + 328LL))(*((_QWORD *)this + 97))
* 0.5))
+ 8.0;
v171 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 97) + 328LL))(*((_QWORD *)this + 97));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v285, v273, (float)(v168 * (float)(*(float *)(v171 + 4) * 0.5)) + -5.0);
cocos2d::CCPoint::operator+(&v286, v170);
cocos2d::CCNode::convertToNodeSpace(&v287, v167, (const cocos2d::CCPoint *)&v286);
v169(v165, &v287);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 104), v165);
v173 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"whiteSquare60_001.png", v172);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v173 + 144LL))(v173, 0.8);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v173 + 344LL))(v173, 0);
v174 = CCMenuItemSpriteExtra::create(v173, 0, (__int64)this, (__int64)ProfilePage::onCopyName, 0);
*(_BYTE *)(v174 + 408) = 0;
v175 = (cocos2d::CCObject *)v174;
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v174);
v176 = *((cocos2d::CCNode **)this + 69);
v177 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v175 + 184LL);
v178 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 97) + 192LL))(*((_QWORD *)this + 97));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v285, 0.0, -2.0);
cocos2d::CCPoint::operator+(&v286, v178);
cocos2d::CCNode::convertToNodeSpace(&v287, v176, (const cocos2d::CCPoint *)&v286);
v177(v175, &v287);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 104), v175);
if ( *((_BYTE *)this + 740) )
{
v179 = (cocos2d::CCArray *)GameLevelManager::sharedState((GameLevelManager *)*((unsigned __int8 *)this + 740));
*((_QWORD *)v179 + 156) = (char *)this + 680;
v180 = (GameManager *)cocos2d::CCArray::create(v179);
v181 = (GameManager *)GameManager::sharedState(v180);
if ( (unsigned __int8)GameManager::messagesRestricted(v181) )
{
v183 = 0;
}
else
{
v183 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"accountBtn_messages_001.png", v182);
v218 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
v183,
0,
(__int64)this,
(__int64)ProfilePage::onMessages,
0);
CCMenuItemSpriteExtra::setSizeMult((__int64)v218, 1.1);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 69) + 456LL))(
*((_QWORD *)this + 69),
v218);
cocos2d::CCArray::addObject(v180, v218);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 104), v218);
}
v274 = 0;
v272 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"accountBtn_friends_001.png", v182);
v184 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
v272,
0,
(__int64)this,
(__int64)ProfilePage::onFriends,
0);
CCMenuItemSpriteExtra::setSizeMult((__int64)v184, 1.1);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 69) + 456LL))(
*((_QWORD *)this + 69),
v184);
cocos2d::CCArray::addObject(v180, v184);
v185 = (GameManager *)cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 104), v184);
v186 = (GameManager *)GameManager::sharedState(v185);
if ( !(unsigned __int8)GameManager::friendRequestsRestricted(v186) )
{
v274 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"accountBtn_requests_001.png", v187);
v263 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
v274,
0,
(__int64)this,
(__int64)ProfilePage::onRequests,
0);
CCMenuItemSpriteExtra::setSizeMult((__int64)v263, 1.1);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 69) + 456LL))(
*((_QWORD *)this + 69),
v263);
cocos2d::CCArray::addObject(v180, v263);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 104), v263);
}
v275 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"accountBtn_notifications_001.png", v187);
v188 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
v275,
0,
(__int64)this,
(__int64)ProfilePage::onNotifications,
0);
CCMenuItemSpriteExtra::setSizeMult((__int64)v188, 1.1);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 69) + 456LL))(
*((_QWORD *)this + 69),
v188);
cocos2d::CCArray::addObject(v180, v188);
v189 = (GameManager *)cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 104), v188);
v190 = (GameManager *)GameManager::sharedState(v189);
if ( !(unsigned __int8)GameManager::safeModeEnabled(v190) )
{
v261 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"accountBtn_settings_001.png", v191);
v262 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
v261,
0,
(__int64)this,
(__int64)ProfilePage::onSettings,
0);
CCMenuItemSpriteExtra::setSizeMult((__int64)v262, 1.1);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 69) + 456LL))(
*((_QWORD *)this + 69),
v262);
cocos2d::CCArray::addObject(v180, v262);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 104), v262);
}
v192 = *((cocos2d::CCNode **)this + 73);
v193 = *((cocos2d::CCNode **)this + 69);
v194 = 1;
v195 = this;
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v285,
*(float *)&v280 * 0.5,
(float)((float)(*((float *)&v280 + 1) * 0.5) + -145.0) + 10.0);
cocos2d::CCNode::convertToWorldSpace(&v286, v192, (const cocos2d::CCPoint *)&v285);
cocos2d::CCNode::convertToNodeSpace(&v287, v193, (const cocos2d::CCPoint *)&v286);
GameToolbox::alignItemsHorisontally((__int64)v180, (__int64)&v287, 0, 20.0);
v196 = nullptr;
v197 = *((_QWORD *)this + 91);
LABEL_171:
if ( (_DWORD)v196 == 3 )
{
v246 = *(_DWORD *)(v197 + 704);
v247 = (GameManager *)GameManager::sharedState(v196);
GameVariable = (GameManager *)(unsigned __int8)GameManager::getGameVariable(v247, "0240");
if ( !(_BYTE)GameVariable )
{
v266 = (GameManager *)GameManager::sharedState(GameVariable);
if ( !(unsigned __int8)GameManager::safeModeEnabled(v266) )
v246 += *(_DWORD *)(*((_QWORD *)v195 + 91) + 708LL);
}
if ( v246 > 99 )
v198 = 99;
else
v198 = v246;
if ( v198 > 0 && v275 )
{
i = v275;
goto LABEL_175;
}
}
else
{
if ( (_DWORD)v196 == 1 )
{
v198 = *(_DWORD *)(v197 + 700);
for ( i = v272; !i || v198 <= 0; i = v274 )
{
LABEL_180:
v196 = (GameManager *)v194++;
if ( v194 != 3 )
goto LABEL_171;
v198 = *(_DWORD *)(v197 + 696);
}
if ( v198 == 1 )
goto LABEL_185;
LABEL_176:
v200 = 0.0;
LABEL_177:
v201 = (cocos2d::CCNode *)cocos2d::CCSprite::createWithSpriteFrameName(
(cocos2d::CCSprite *)"d_ball_01_001.png",
(const char *)v197);
(*(void (__fastcall **)(cocos2d::CCNode *, void *))(*(_QWORD *)v201 + 960LL))(v201, &unk_1171790);
(*(void (__fastcall **)(cocos2d::CCNode *, float))(*(_QWORD *)v201 + 160LL))(v201, 0.6);
v202 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i",
(const char *)(unsigned int)v198);
v203 = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v202);
v205 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v203, "bigFont.fnt", v204);
cocos2d::CCLabelBMFont::limitLabelWidth(v205, 28.0, 0.8, 0.0);
(*(void (__fastcall **)(cocos2d::CCNode *, cocos2d::CCLabelBMFont *))(*(_QWORD *)v201 + 456LL))(v201, v205);
v206 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v205 + 184LL);
cocos2d::CCNode::convertToNodeSpace(&v285, v201, (const cocos2d::CCPoint *)&unk_155D5E8);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v286, v200, 1.0);
cocos2d::CCPoint::operator+(&v287, &v285);
v206(v205, &v287);
(*(void (__fastcall **)(__int64, cocos2d::CCNode *, __int64))(*(_QWORD *)i + 464LL))(i, v201, 1);
v207 = *(void (__fastcall **)(cocos2d::CCNode *, __int64 *))(*(_QWORD *)v201 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v287, 38.0, 38.0);
v207(v201, &v287);
}
else
{
v198 = *(_DWORD *)(v197 + 692);
if ( v183 )
{
i = v183;
if ( v198 > 0 )
{
LABEL_175:
if ( v198 != 1 )
goto LABEL_176;
LABEL_185:
v200 = -0.5;
goto LABEL_177;
}
}
}
if ( v194 != 4 )
{
v197 = *((_QWORD *)v195 + 91);
goto LABEL_180;
}
}
v219 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_chatBtn_001.png", (const char *)v197);
v220 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
v219,
0,
(__int64)v195,
(__int64)ProfilePage::onComment,
0);
CCMenuItemSpriteExtra::setSizeMult((__int64)v220, 1.5);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)v195 + 69) + 456LL))(
*((_QWORD *)v195 + 69),
v220);
v221 = *((cocos2d::CCNode **)v195 + 73);
v222 = *((cocos2d::CCNode **)v195 + 69);
v223 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v220 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v285,
(float)((float)(*(float *)&v280 * 0.5) + 220.0) - 10.0,
(float)((float)((float)(*((float *)&v280 + 1) * 0.5) + -145.0) + 10.0) + 1.0);
cocos2d::CCNode::convertToWorldSpace(&v286, v221, (const cocos2d::CCPoint *)&v285);
cocos2d::CCNode::convertToNodeSpace(&v287, v222, (const cocos2d::CCPoint *)&v286);
v223(v220, &v287);
v224 = (GameManager *)cocos2d::CCArray::addObject(*((cocos2d::CCArray **)v195 + 104), v220);
v225 = (GameManager *)GameManager::sharedState(v224);
if ( (unsigned __int8)GameManager::accountPostsRestricted(v225) )
{
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v220 + 344LL))(v220, 0);
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v220 + 1056LL))(v220, 0);
}
}
else
{
v103 = (cocos2d::CCArray *)ProfilePage::setupAccountButtons(this);
v104 = (cocos2d::CCArray *)cocos2d::CCArray::create(v103);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v284,
(float)((float)((float)(*(float *)&v280 * 0.5) + 220.0) - 22.0) - 1.0,
(float)((float)(*((float *)&v280 + 1) * 0.5) + -145.0) + 22.0);
v106 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"accountBtn_myLevels_001.png", v105);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v106 + 160LL))(v106, 0.75);
v107 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
v106,
0,
(__int64)this,
(__int64)ProfilePage::onMyLevels,
0);
CCMenuItemSpriteExtra::setSizeMult((__int64)v107, 1.2);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 69) + 456LL))(
*((_QWORD *)this + 69),
v107);
cocos2d::CCArray::addObject(v104, v107);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 104), v107);
v108 = *((cocos2d::CCNode **)this + 69);
v109 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v107 + 184LL);
cocos2d::CCNode::convertToWorldSpace(&v286, *((cocos2d::CCNode **)this + 73), (const cocos2d::CCPoint *)v284);
cocos2d::CCNode::convertToNodeSpace(&v287, v108, (const cocos2d::CCPoint *)&v286);
v109(v107, &v287);
v111 = (cocos2d::CCObject *)cocos2d::CCSprite::createWithSpriteFrameName(
(cocos2d::CCSprite *)"GJ_myLevelsTxt_001.png",
v110);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
v111,
2);
v112 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v111 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v286, -1.0, 26.0);
cocos2d::CCPoint::operator+(&v287, v284);
v112(v111, &v287);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 104), v111);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v287, -42.0, 0.0);
cocos2d::CCPoint::operator+(&v285, v284);
v114 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"accountBtn_myLists_001.png", v113);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v114 + 160LL))(v114, 0.75);
v115 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
v114,
0,
(__int64)this,
(__int64)ProfilePage::onMyLists,
0);
CCMenuItemSpriteExtra::setSizeMult((__int64)v115, 1.2);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 69) + 456LL))(
*((_QWORD *)this + 69),
v115);
cocos2d::CCArray::addObject(v104, v115);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 104), v115);
v116 = *((cocos2d::CCNode **)this + 69);
v117 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v115 + 184LL);
cocos2d::CCNode::convertToWorldSpace(&v286, *((cocos2d::CCNode **)this + 73), (const cocos2d::CCPoint *)&v285);
cocos2d::CCNode::convertToNodeSpace(&v287, v116, (const cocos2d::CCPoint *)&v286);
v117(v115, &v287);
v119 = (cocos2d::CCObject *)cocos2d::CCSprite::createWithSpriteFrameName(
(cocos2d::CCSprite *)"GJ_myListsTxt_001.png",
v118);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
v119,
2);
v120 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v119 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v286, -46.0, 0.0);
cocos2d::CCPoint::operator+(&v287, &v285);
v120(v119, &v287);
v121 = (GameManager *)cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 104), v119);
v122 = (GameManager *)GameManager::sharedState(v121);
v123 = (GameManager *)GameManager::modUIRank(v122);
if ( (int)v123 > 0 )
v123 = (GameManager *)(*(__int64 (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v119 + 344LL))(v119, 0);
v124 = (GameManager *)GameManager::sharedState(v123);
v125 = (GameManager *)(unsigned __int8)GameManager::onlyCuratedLevels(v124);
if ( (_BYTE)v125
|| *(_QWORD *)(GameManager::sharedState(v125) + 544)
|| *(_QWORD *)(GameManager::sharedState(nullptr) + 552) )
{
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v107 + 344LL))(v107, 0);
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v107 + 1056LL))(v107, 0);
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v111 + 344LL))(v111, 0);
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v115 + 344LL))(v115, 0);
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v115 + 1056LL))(v115, 0);
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v119 + 344LL))(v119, 0);
}
}
return _stack_chk_guard;
}