//
// ShareListLayer::init from 0xbacd48 to 0xbadd0c (4036 bytes)
//
// 2 xrefs:
// > ShareListLayer::create @ 0xbadeb4
// > ??> @ 0xb01e8
//
// 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:02:53 +0000
//
__int64 __fastcall ShareListLayer::init(GJLevelList **this, GJLevelList *a2)
{
unsigned __int8 v4; // w0
unsigned int v5; // w25
cocos2d::CCDirector *v7; // x0
cocos2d::CCDirector *v8; // x0
cocos2d::CCLayer *WinSize; // x0
__int64 v10; // x0
__int64 v11; // x22
void (__fastcall *v12)(__int64, __int64 *); // x24
void (__fastcall *v13)(__int64, __int64 *); // x24
__int64 v14; // x0
char **v15; // x2
__int64 v16; // x1
cocos2d::CCSprite *v17; // x0
__int64 v18; // x26
void (__fastcall *v19)(__int64, __int64 *); // x22
__int64 v20; // x28
__int64 v21; // x0
__int64 (__fastcall *v22)(__int64); // x1
void (__fastcall *v23)(__int64, __int64 *); // x26
__int64 v24; // x22
void (__fastcall *v25)(__int64, __int64 *); // x2
_BOOL4 v26; // w22
const char *v27; // x1
size_t v28; // x0
EmoteSprite *v29; // x0
int v30; // w0
EmoteSprite *v31; // x0
float v32; // s11
const char *v33; // x1
size_t v34; // x0
EmoteSprite *v35; // x0
int v36; // w0
__int64 v37; // x26
void (__fastcall *v38)(__int64, __int64 *); // x28
__int64 v39; // x0
__int64 v40; // x3
cocos2d::CCArray *v41; // x0
cocos2d::CCArray *v42; // x27
const char *v43; // x1
__int64 v44; // x2
__int64 v45; // x3
bool v46; // w4
__int64 v47; // x5
const char *v48; // x6
__int64 v49; // x0
cocos2d::CCObject *v50; // x26
const char *v51; // x6
const char *v52; // x5
__int64 v53; // x0
cocos2d::CCObject *v54; // x26
cocos2d::CCNode *v55; // x26
const char *v56; // x1
__int64 v57; // x0
__int64 v58; // x26
cocos2d::CCNode *v59; // x28
void (__fastcall *v60)(__int64, __int64 *); // x27
cocos2d::CCNode *v61; // x28
CCMenuItemToggler *ToggleButton; // x26
__int64 v63; // x26
cocos2d::CCNode *v64; // x28
__int64 (__fastcall *v65)(__int64, __int64 *); // x27
cocos2d::CCArray *v66; // x0
cocos2d::CCArray *v67; // x26
CCMenuItemToggler *v68; // x0
char v69; // w1
__int64 v70; // x26
cocos2d::CCNode *v71; // x28
void (__fastcall *v72)(__int64, __int64 *); // x27
cocos2d::CCNode *v73; // x28
__int64 v74; // x9
__int64 v75; // x6
__int64 v76; // x7
__int64 v77; // x4
__int64 v78; // x5
__int64 v79; // x2
__int64 v80; // x3
cocos2d::CCSprite *v81; // x0
__int64 v82; // x26
void (__fastcall *v83)(__int64, __int64 *); // x21
unsigned int v84; // w0
cocos2d::CCString *v85; // x0
cocos2d::CCLabelBMFont *CString; // x0
const char *v87; // x2
__int64 v88; // x21
void (__fastcall *v89)(__int64, __int64 *); // x20
void (__fastcall *v90)(__int64, __int64 *); // x20
__int64 v91; // x26
int v92; // w0
int v93; // w0
cocos2d::CCSize *v94; // [xsp+C0h] [xbp+90h]
__int64 v95; // [xsp+C8h] [xbp+98h]
__int64 v96; // [xsp+C8h] [xbp+98h]
cocos2d::CCNode *v97; // [xsp+C8h] [xbp+98h]
const char *v98; // [xsp+D0h] [xbp+A0h]
char *v99; // [xsp+D0h] [xbp+A0h]
unsigned __int8 v100; // [xsp+D0h] [xbp+A0h]
unsigned __int8 v101; // [xsp+D0h] [xbp+A0h]
cocos2d::CCNode *v102; // [xsp+D0h] [xbp+A0h]
__int64 v103[8]; // [xsp+E0h] [xbp+B0h] BYREF
__int64 v104; // [xsp+120h] [xbp+F0h] BYREF
_BYTE v105[8]; // [xsp+128h] [xbp+F8h] BYREF
_BYTE v106[8]; // [xsp+130h] [xbp+100h] BYREF
_BYTE v107[8]; // [xsp+138h] [xbp+108h] BYREF
_BYTE v108[16]; // [xsp+140h] [xbp+110h] BYREF
__int64 v109[2]; // [xsp+150h] [xbp+120h] BYREF
__int64 v110[2]; // [xsp+160h] [xbp+130h] BYREF
void *v111; // [xsp+170h] [xbp+140h]
__int64 v112[2]; // [xsp+178h] [xbp+148h] BYREF
void *v113; // [xsp+188h] [xbp+158h]
__int64 v114[2]; // [xsp+190h] [xbp+160h] BYREF
void *v115; // [xsp+1A0h] [xbp+170h]
__int64 v116[2]; // [xsp+1A8h] [xbp+178h] BYREF
void *v117; // [xsp+1B8h] [xbp+188h]
__int64 v118[2]; // [xsp+1C0h] [xbp+190h] BYREF
void *v119; // [xsp+1D0h] [xbp+1A0h]
__int64 v120[2]; // [xsp+1D8h] [xbp+1A8h] BYREF
void *v121; // [xsp+1E8h] [xbp+1B8h]
__int64 v122[2]; // [xsp+1F0h] [xbp+1C0h] BYREF
void *v123; // [xsp+200h] [xbp+1D0h]
__int64 v124[2]; // [xsp+208h] [xbp+1D8h] BYREF
void *v125; // [xsp+218h] [xbp+1E8h]
__int64 v126[2]; // [xsp+220h] [xbp+1F0h] BYREF
void *v127; // [xsp+230h] [xbp+200h]
__int64 v128[2]; // [xsp+238h] [xbp+208h] BYREF
void *v129; // [xsp+248h] [xbp+218h]
char *v130; // [xsp+250h] [xbp+220h] BYREF
__int64 v131; // [xsp+258h] [xbp+228h]
cocos2d::CCSprite *v132; // [xsp+260h] [xbp+230h]
LODWORD(v109[0]) = -1778384896;
v4 = cocos2d::CCLayerColor::initWithColor(this, v109);
v5 = v4;
if ( v4 )
{
FLAlertLayer::incrementForcePrio((cocos2d::CCObject *)this);
*(this + 83) = a2;
cocos2d::CCObject::retain(a2);
(*((void (__fastcall **)(GJLevelList **, __int64))*this + 125))(this, 1);
v7 = (cocos2d::CCDirector *)(*((__int64 (__fastcall **)(GJLevelList **, __int64))*this + 134))(this, 1);
v8 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v7);
WinSize = (cocos2d::CCLayer *)cocos2d::CCDirector::getWinSize(&v104, v8);
v10 = cocos2d::CCLayer::create(WinSize);
*(this + 73) = (GJLevelList *)v10;
(*((void (__fastcall **)(GJLevelList **, __int64))*this + 57))(this, v10);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v109, 0.0, 0.0, 80.0, 80.0);
v11 = cocos2d::extension::CCScale9Sprite::create("GJ_square01.png", v109);
v12 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v11 + 320LL);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v109, 420.0, 300.0);
v12(v11, v109);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(*(_QWORD *)*(this + 73) + 464LL))(
*(this + 73),
v11,
0xFFFFFFFFLL);
v13 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v11 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v109, *(float *)&v104 * 0.5, *((float *)&v104 + 1) * 0.5);
v13(v11, v109);
v130 = nullptr;
v14 = (__int64)*(this + 83);
v131 = 0;
v132 = nullptr;
v15 = (char **)(v14 + 432);
if ( (*(_BYTE *)(v14 + 432) & 1) != 0 )
{
std::string::__init((__int64 *)&v130, *(void **)(v14 + 448), *(_QWORD *)(v14 + 440));
}
else
{
v16 = *(_QWORD *)(v14 + 440);
v130 = *v15;
v131 = v16;
v132 = *(cocos2d::CCSprite **)(v14 + 448);
}
v17 = (cocos2d::CCSprite *)((char *)&v130 + 1);
if ( ((unsigned __int8)v130 & 1) != 0 )
v17 = v132;
v18 = cocos2d::CCLabelBMFont::create(v17, "goldFont.fnt", (const char *)v15);
if ( ((unsigned __int8)v130 & 1) != 0 )
operator delete(v132);
(*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*(this + 73) + 456LL))(*(this + 73), v18);
v19 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v18 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v109,
*(float *)&v104 * 0.5,
(float)((float)(*((float *)&v104 + 1) * 0.5) + 150.0) - 20.0);
v19(v18, v109);
v130 = nullptr;
v131 = 0;
v132 = nullptr;
std::string::__init((__int64 *)&v130, "You cannot change the name once it is shared.", 0x35u);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v109, 0.5, 1.0);
v20 = TextArea::create((char *)&v130, "chatFont.fnt", (const cocos2d::CCPoint *)v109, 0, 0, 1.0, 400.0, 20.0);
if ( ((unsigned __int8)v130 & 1) != 0 )
operator delete(v132);
(*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*(this + 73) + 456LL))(*(this + 73), v20);
v21 = v18;
v22 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v18 + 192LL);
v23 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v20 + 184LL);
v95 = v22(v21);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v108, 0.0, -20.0);
cocos2d::CCPoint::operator+(v109, v95);
v23(v20, v109);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v20 + 160LL))(v20, 0.8);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v105,
*(float *)&v104 * 0.5,
(float)(*((float *)&v104 + 1) * 0.5) + 45.0);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v108, 0.0, 0.0, 80.0, 80.0);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v109, (const cocos2d::CCRect *)v108);
v24 = cocos2d::extension::CCScale9Sprite::create("square02b_001.png", v109);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v106, 380.0, 80.0);
(*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v24 + 320LL))(v24, v106);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(*(_QWORD *)*(this + 73) + 464LL))(
*(this + 73),
v24,
0xFFFFFFFFLL);
(*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v24 + 184LL))(v24, v105);
v25 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v24 + 960LL);
LOWORD(v109[0]) = 16514;
BYTE2(v109[0]) = 33;
v25(v24, v109);
v110[0] = 0;
v110[1] = 0;
v111 = nullptr;
std::string::__init(v110, "(No description provided)", 0x19u);
GJLevelList::getUnpackedDescription(*(this + 83), v112);
v114[0] = 0;
v114[1] = 0;
v115 = nullptr;
std::string::__init(v114, &byte_11B8890, 0);
v26 = sub_BA8AE8((__int64)v112, (__int64)v114);
if ( (v114[0] & 1) != 0 )
operator delete(v115);
if ( !v26 )
{
v27 = (char *)v112 + 1;
if ( (v112[0] & 1) != 0 )
v27 = (const char *)v113;
v98 = v27;
v28 = strlen(v27);
std::string::assign(v110, v98, v28);
}
v29 = (EmoteSprite *)GameToolbox::stripNonBreakingSpaces((unsigned __int8 *)v110);
v30 = EmoteSprite::maxEmotesComment(v29);
v31 = (EmoteSprite *)EmoteSprite::effectiveLength((char *)v110, v30);
if ( (int)v31 <= 280 )
{
v92 = EmoteSprite::maxEmotesComment(v31);
v93 = EmoteSprite::effectiveLength((char *)v110, v92);
if ( v93 > 70 )
v32 = (float)((float)((float)(180 - v93) / 280.0) * 0.2) + 0.8;
else
v32 = 1.0;
}
else
{
v32 = 0.72857;
}
v33 = (char *)v110 + 1;
if ( (v110[0] & 1) != 0 )
v33 = (const char *)v111;
v99 = (char *)v33;
v116[0] = 0;
v116[1] = 0;
v117 = nullptr;
v34 = strlen(v33);
std::string::__init(v116, v99, v34);
v35 = (EmoteSprite *)cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v109, 0.5, 0.5);
v36 = EmoteSprite::maxEmotesComment(v35);
v37 = TextArea::create((char *)v116, "chatFont.fnt", (const cocos2d::CCPoint *)v109, 1, v36, 1.0, 352.0 / v32, 20.0);
if ( (v116[0] & 1) != 0 )
operator delete(v117);
(*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*(this + 73) + 456LL))(*(this + 73), v37);
v38 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v37 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v107, 0.0, 1.0);
cocos2d::CCPoint::operator+(v109, v105);
v38(v37, v109);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v37 + 160LL))(v37, v32);
*((_DWORD *)this + 160) = -1;
v39 = cocos2d::CCMenu::create((cocos2d::CCMenu *)0xFFFFFFFFLL);
v40 = (__int64)*(this + 73);
*(this + 69) = (GJLevelList *)v39;
v41 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v40 + 464LL))(
v40,
v39,
10);
v42 = (cocos2d::CCArray *)cocos2d::CCArray::create(v41);
v49 = ButtonSprite::create((ButtonSprite *)"Cancel", v43, v44, v45, v46, v47, v48);
v50 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(v49, 0, (__int64)this, (__int64)ShareListLayer::onClose, 0);
(*(void (__fastcall **)(cocos2d::CCObject *, float))(*(_QWORD *)v50 + 160LL))(v50, 0.8);
*((_DWORD *)v50 + 101) = 1061997773;
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(*(_QWORD *)*(this + 69) + 456LL))(*(this + 69), v50);
cocos2d::CCArray::addObject(v42, v50);
if ( *((_BYTE *)*(this + 83) + 395) )
v52 = "GJ_button_04.png";
else
v52 = "GJ_button_01.png";
v53 = ButtonSprite::create((ButtonSprite *)"Share List", nullptr, 0, 0, 1.0, "goldFont.fnt", v52, v51);
v54 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(v53, 0, (__int64)this, (__int64)ShareListLayer::onShare, 0);
(*(void (__fastcall **)(cocos2d::CCObject *, float))(*(_QWORD *)v54 + 160LL))(v54, 0.8);
*((_DWORD *)v54 + 101) = 1061997773;
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(*(_QWORD *)*(this + 69) + 456LL))(*(this + 69), v54);
cocos2d::CCArray::addObject(v42, v54);
v55 = *(this + 69);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v107,
*(float *)&v104 * 0.5,
(float)((float)(*((float *)&v104 + 1) * 0.5) + -150.0) + 25.0);
cocos2d::CCNode::convertToNodeSpace(v109, v55, (const cocos2d::CCPoint *)v107);
GameToolbox::alignItemsHorisontally((__int64)v42, (__int64)v109, 0, 15.0);
v57 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_infoIcon_001.png", v56);
v58 = CCMenuItemSpriteExtra::create(v57, 0, (__int64)this, (__int64)ShareListLayer::onInfo, 0);
CCMenuItemSpriteExtra::setSizeMult(v58, 2.0);
(*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*(this + 69) + 456LL))(*(this + 69), v58);
v59 = *(this + 69);
v60 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v58 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v107,
(float)((float)(*(float *)&v104 * 0.5) + -210.0) + 20.0,
(float)((float)(*((float *)&v104 + 1) * 0.5) + 150.0) - 20.0);
cocos2d::CCNode::convertToNodeSpace(v109, v59, (const cocos2d::CCPoint *)v107);
v60(v58, v109);
v118[0] = 0;
v118[1] = 0;
v119 = nullptr;
std::string::__init(v118, "Unlisted", 8u);
v100 = *((_BYTE *)*(this + 83) + 393);
v61 = *(this + 69);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v107,
(float)(*(float *)&v104 * 0.5) + -50.0,
(float)(*((float *)&v104 + 1) * 0.5) + -70.0);
v96 = (__int64)*(this + 73);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v109, 8.0, 0.0);
ToggleButton = GameToolbox::createToggleButton(
(__int64)v118,
(const char *)ShareListLayer::onUnlisted,
0,
v100,
v61,
(const cocos2d::CCPoint *)v107,
(__int64)this,
v96,
0.8,
0.4,
0.0,
(float *)v109,
"bigFont.fnt",
0,
0,
nullptr);
if ( (v118[0] & 1) != 0 )
operator delete(v119);
(*(void (__fastcall **)(CCMenuItemToggler *, _QWORD))(*(_QWORD *)ToggleButton + 72LL))(ToggleButton, 0);
v120[0] = 0;
v120[1] = 0;
v121 = nullptr;
std::string::__init(v120, "Info", 4u);
v122[0] = 0;
v122[1] = 0;
v123 = nullptr;
std::string::__init(
v122,
"Makes it so that your list can only be found by searching for the exact ID. It will not be visible"
" on your profile, from search, or anywhere else.",
0xA2u);
v63 = InfoAlertButton::create((char *)v120, (char *)v122, 0.8);
if ( (v122[0] & 1) != 0 )
operator delete(v123);
if ( (v120[0] & 1) != 0 )
operator delete(v121);
(*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*(this + 69) + 456LL))(*(this + 69), v63);
v64 = *(this + 69);
v65 = *(__int64 (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v63 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v107,
(float)((float)(*(float *)&v104 * 0.5) + -50.0) - 30.0,
(float)(*((float *)&v104 + 1) * 0.5) + -70.0);
cocos2d::CCNode::convertToNodeSpace(v109, v64, (const cocos2d::CCPoint *)v107);
v66 = (cocos2d::CCArray *)v65(v63, v109);
v67 = (cocos2d::CCArray *)cocos2d::CCArray::create(v66);
v124[0] = 0;
v124[1] = 0;
v125 = nullptr;
std::string::__init(v124, "Friends\nOnly", 0xCu);
v101 = *((_BYTE *)*(this + 83) + 394);
v97 = *(this + 69);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v107,
(float)(*(float *)&v104 * 0.5) + 100.0,
(float)(*((float *)&v104 + 1) * 0.5) + -70.0);
v94 = *(this + 73);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v109, 8.0, 0.0);
v68 = GameToolbox::createToggleButton(
(__int64)v124,
(const char *)ShareListLayer::onUnlisted,
0,
v101,
v97,
(const cocos2d::CCPoint *)v107,
(__int64)this,
(__int64)v94,
0.8,
0.4,
0.0,
(float *)v109,
"bigFont.fnt",
0,
0,
v67);
v69 = v124[0];
*(this + 84) = v68;
if ( (v69 & 1) != 0 )
{
operator delete(v125);
v68 = *(this + 84);
}
(*(void (__fastcall **)(CCMenuItemToggler *, __int64))(*(_QWORD *)v68 + 72LL))(v68, 1);
*(this + 85) = (GJLevelList *)cocos2d::CCArray::objectAtIndex(v67, 1u);
v126[0] = 0;
v126[1] = 0;
v127 = nullptr;
std::string::__init(v126, "Info", 4u);
v128[0] = 0;
v128[1] = 0;
v129 = nullptr;
std::string::__init(
v128,
"Makes it so that your list can only be found by friends who search for the exact ID. It will n"
"ot be visible on your profile, from search, or anywhere else.",
0xB3u);
v70 = InfoAlertButton::create((char *)v126, (char *)v128, 0.8);
if ( (v128[0] & 1) != 0 )
operator delete(v129);
if ( (v126[0] & 1) != 0 )
operator delete(v127);
(*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*(this + 69) + 456LL))(*(this + 69), v70);
v71 = *(this + 69);
v72 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v70 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v107,
(float)((float)(*(float *)&v104 * 0.5) + 100.0) - 30.0,
(float)(*((float *)&v104 + 1) * 0.5) + -70.0);
cocos2d::CCNode::convertToNodeSpace(v109, v71, (const cocos2d::CCPoint *)v107);
v72(v70, v109);
v102 = *(this + 69);
v73 = *(this + 73);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v109,
(float)(*(float *)&v104 * 0.5) + -180.0,
(float)(*((float *)&v104 + 1) * 0.5) + -50.0);
GameToolbox::createNotifyToggles(
v73,
v102,
(__int64)this,
(__int64)ShareListLayer::onNotifyFriends,
0,
(__int64)ShareListLayer::onNotifyFollowers,
0,
(float *)v109,
v103,
38.0,
(float)(*((float *)&v104 + 1) * 0.5) + -14.0);
v74 = v103[1];
v75 = v103[2];
v76 = v103[3];
v77 = v103[4];
v78 = v103[5];
v79 = v103[6];
v80 = v103[7];
*(this + 86) = (GJLevelList *)v103[0];
*(this + 87) = (GJLevelList *)v74;
*(this + 88) = (GJLevelList *)v75;
*(this + 89) = (GJLevelList *)v76;
*(this + 90) = (GJLevelList *)v77;
*(this + 91) = (GJLevelList *)v78;
*(this + 92) = (GJLevelList *)v79;
*(this + 93) = (GJLevelList *)v80;
ShareListLayer::updateUnlistedF((ShareListLayer *)this);
GJLevelList::frameForListDifficulty(*((_DWORD *)*(this + 83) + 90), 2, (__int64 *)&v130);
v81 = (cocos2d::CCSprite *)((char *)&v130 + 1);
if ( ((unsigned __int8)v130 & 1) != 0 )
v81 = v132;
v82 = cocos2d::CCSprite::createWithSpriteFrameName(v81, (const char *)(unsigned __int8)v130);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(*(_QWORD *)*(this + 73) + 464LL))(*(this + 73), v82, 1);
v83 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v82 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v109,
(float)(*(float *)&v104 * 0.5) + -50.0,
(float)(*((float *)&v104 + 1) * 0.5) + -25.0);
v83(v82, v109);
v84 = GJLevelList::totalLevels(*(this + 83));
v85 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i Levels", (const char *)v84);
CString = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v85);
v88 = cocos2d::CCLabelBMFont::create(CString, "goldFont.fnt", v87);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v88 + 160LL))(v88, 0.8);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(*(_QWORD *)*(this + 73) + 464LL))(*(this + 73), v88, 1);
v89 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v88 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v109, 0.0, 0.5);
v89(v88, v109);
v90 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v88 + 184LL);
v91 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v82 + 192LL))(v82);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v107, 30.0, 0.0);
cocos2d::CCPoint::operator+(v109, v91);
v90(v88, v109);
if ( ((unsigned __int8)v130 & 1) != 0 )
operator delete(v132);
if ( (v112[0] & 1) != 0 )
operator delete(v113);
if ( (v110[0] & 1) != 0 )
operator delete(v111);
}
return v5;
}