//
// GameSettingsLayer::addSpecialContent from 0xc05b00 to 0xc068f8 (3576 bytes)
//
// 2 xrefs:
// > GameSettingsLayer::init @ 0xc08284
// > ??> @ 0x8bcd8
//
// 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:03:51 +0000
//
__int64 __fastcall GameSettingsLayer::addSpecialContent(cocos2d::CCObject **this)
{
cocos2d::CCDirector *v2; // x0
unsigned int PopupPage; // w26
GameManager *v4; // x0
unsigned int v5; // w25
const char *v6; // x1
cocos2d::CCObject *v7; // x24
cocos2d::CCNode *v8; // x27
void (__fastcall *v9)(cocos2d::CCObject *, __int64 *); // x28
unsigned int v10; // w25
__int64 v11; // x6
__int64 v12; // x0
cocos2d::CCObject *v13; // x24
cocos2d::CCNode *v14; // x27
void (__fastcall *v15)(cocos2d::CCObject *, __int64 *); // x26
GameManager *v16; // x0
unsigned int v17; // w25
GameManager *v18; // x0
GameManager *IntGameVariable; // x0
GameManager *v20; // x0
GameManager *v21; // x0
GameManager *v22; // x0
GameManager *GameVariable; // x0
GameManager *v24; // x0
float v25; // s8
const char *v26; // x2
cocos2d::CCObject *v27; // x24
void (__fastcall *v28)(cocos2d::CCObject *, __int64 *); // x28
void (__fastcall *v29)(cocos2d::CCObject *, __int64 *); // x28
cocos2d::CCString *v30; // x0
cocos2d::CCLabelBMFont *CString; // x0
const char *v32; // x2
__int64 v33; // x0
__int64 v34; // x3
const char *v35; // x1
__int64 v36; // x24
cocos2d::CCObject *v37; // x24
const char *v38; // x1
cocos2d::CCSprite *v39; // x24
cocos2d::CCObject *v40; // x24
void (__fastcall *v41)(cocos2d::CCObject *, __int64 *); // x28
const char *v42; // x2
cocos2d::CCObject *v43; // x24
void (__fastcall *v44)(cocos2d::CCObject *, __int64 *); // x28
void (__fastcall *v45)(cocos2d::CCObject *, __int64 *); // x28
cocos2d::CCString *v46; // x0
cocos2d::CCLabelBMFont *v47; // x0
const char *v48; // x2
__int64 v49; // x0
__int64 v50; // x3
const char *v51; // x1
__int64 v52; // x22
cocos2d::CCObject *v53; // x22
const char *v54; // x1
cocos2d::CCSprite *v55; // x22
cocos2d::CCObject *v56; // x22
cocos2d::CCNode *v57; // x28
void (__fastcall *v58)(cocos2d::CCObject *, __int64 *); // x27
__int64 v60; // x0
cocos2d::CCObject *v61; // x20
cocos2d::CCNode *v62; // x24
void (__fastcall *v63)(cocos2d::CCObject *, __int64 *); // x23
cocos2d::CCNode *v64; // [xsp+A0h] [xbp+A0h]
cocos2d::CCNode *v65; // [xsp+A0h] [xbp+A0h]
cocos2d::CCNode *v66; // [xsp+A8h] [xbp+A8h]
cocos2d::CCNode *v67; // [xsp+A8h] [xbp+A8h]
cocos2d::CCNode *v68; // [xsp+A8h] [xbp+A8h]
__int64 v69; // [xsp+B8h] [xbp+B8h] BYREF
_BYTE v70[8]; // [xsp+C0h] [xbp+C0h] BYREF
_BYTE v71[8]; // [xsp+C8h] [xbp+C8h] BYREF
_BYTE v72[8]; // [xsp+D0h] [xbp+D0h] BYREF
_BYTE v73[8]; // [xsp+D8h] [xbp+D8h] BYREF
__int64 v74; // [xsp+E0h] [xbp+E0h] BYREF
__int64 v75; // [xsp+E8h] [xbp+E8h] BYREF
__int64 v76[2]; // [xsp+F0h] [xbp+F0h] BYREF
void *v77; // [xsp+100h] [xbp+100h]
__int64 v78[2]; // [xsp+108h] [xbp+108h] BYREF
void *v79; // [xsp+118h] [xbp+118h]
int v80; // [xsp+120h] [xbp+120h] BYREF
__int64 v81[2]; // [xsp+128h] [xbp+128h] BYREF
void *v82; // [xsp+138h] [xbp+138h]
__int64 v83; // [xsp+140h] [xbp+140h] BYREF
_DWORD v84[2]; // [xsp+148h] [xbp+148h] BYREF
int v85; // [xsp+150h] [xbp+150h]
int v86; // [xsp+154h] [xbp+154h]
char v87; // [xsp+158h] [xbp+158h]
int v88; // [xsp+15Ch] [xbp+15Ch]
int v89; // [xsp+160h] [xbp+160h]
unsigned int v90; // [xsp+164h] [xbp+164h]
unsigned int v91; // [xsp+168h] [xbp+168h]
int v92; // [xsp+16Ch] [xbp+16Ch]
int v93; // [xsp+170h] [xbp+170h]
char v94; // [xsp+174h] [xbp+174h]
char v95; // [xsp+175h] [xbp+175h]
int v96; // [xsp+178h] [xbp+178h]
__int64 v97[2]; // [xsp+180h] [xbp+180h] BYREF
void *v98; // [xsp+190h] [xbp+190h]
float v99; // [xsp+198h] [xbp+198h]
__int64 v100[2]; // [xsp+1A0h] [xbp+1A0h] BYREF
void *v101; // [xsp+1B0h] [xbp+1B0h]
v2 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard);
cocos2d::CCDirector::getWinSize(&v69, v2);
PopupPage = TabbedPopupLayer::getPopupPage((TabbedPopupLayer *)this, 4, 0);
v4 = *(this + 127);
v5 = *((_DWORD *)v4 + 84);
if ( !*(_QWORD *)(GameManager::sharedState(v4) + 544) )
{
v60 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_savedSongsBtn_001.png", v6);
v61 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(v60, 0, (__int64)this, 1424, 1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v61 + 72LL))(v61, 4294966295LL);
CCMenuItemSpriteExtra::setSizeMult((__int64)v61, 1.2);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(*(_QWORD *)*(this + 69) + 456LL))(*(this + 69), v61);
v62 = *(this + 69);
v63 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v61 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v74,
(float)((float)(*((float *)this + 183) * 0.5) + (float)(*(float *)&v69 * 0.5)) - 38.0,
38.0 - (float)((float)(*((float *)this + 184) * 0.5) - (float)(*((float *)&v69 + 1) * 0.5)));
cocos2d::CCNode::convertToNodeSpace(&v75, v62, (const cocos2d::CCPoint *)&v74);
v63(v61, &v75);
SetupTriggerPopup::addObjectToPage(this, v61, PopupPage);
SetupTriggerPopup::addObjectToGroup(this, v61, v5);
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v61 + 344LL))(v61, 0);
}
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v70,
90.0 - (float)((float)(*((float *)this + 183) * 0.5) - (float)(*(float *)&v69 * 0.5)),
40.0 - (float)((float)(*((float *)this + 184) * 0.5) - (float)(*((float *)&v69 + 1) * 0.5)));
v80 = 0;
v81[0] = 0;
v81[1] = 0;
v82 = nullptr;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v83, (const cocos2d::CCPoint *)&unk_155EB18);
v85 = 2;
v93 = 2;
v86 = 6;
LOBYTE(v84[1]) = 0;
v84[0] = 1.0;
v87 = 1;
v88 = 0;
v90 = 0;
v89 = 0;
v91 = 0;
v92 = 0;
v94 = 0;
v95 = 0;
v96 = 1116471296;
v97[0] = 0;
v97[1] = 0;
v98 = nullptr;
std::string::__init(v97, "goldFont.fnt", 0xCu);
v100[0] = 0;
v100[1] = 0;
v99 = 0.0;
v101 = nullptr;
std::string::__init(v100, "Num", 3u);
v80 = -3;
std::string::assign(v81, "Offset");
cocos2d::CCPoint::operator=(&v83, v70);
v87 = 0;
strcpy((char *)v84, "333?");
v85 = 2;
v86 = 4;
v90 = PopupPage;
v91 = v5;
v88 = -1027080192;
v89 = 1120403456;
std::string::assign(v97, "bigFont.fnt");
v99 = 0.5;
SetupTriggerPopup::createValueControlAdvanced(this, (ValueControlSettings *)&v80);
v76[0] = 0;
v76[1] = 0;
v77 = nullptr;
std::string::__init(v76, "Music Offset", 0xCu);
v78[0] = 0;
v78[1] = 0;
v79 = nullptr;
std::string::__init(v78, "Offset the game music in milliseconds.", 0x26u);
v7 = (cocos2d::CCObject *)InfoAlertButton::create((char *)v76, (char *)v78, 0.5);
if ( (v78[0] & 1) != 0 )
operator delete(v79);
if ( (v76[0] & 1) != 0 )
operator delete(v77);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(*(_QWORD *)*(this + 69) + 456LL))(*(this + 69), v7);
v8 = *(this + 69);
v9 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v7 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v73, -49.0, 5.0);
cocos2d::CCPoint::operator+(&v74, v70);
cocos2d::CCNode::convertToNodeSpace(&v75, v8, (const cocos2d::CCPoint *)&v74);
v9(v7, &v75);
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v7 + 344LL))(v7, 0);
SetupTriggerPopup::addObjectToPage(this, v7, PopupPage);
SetupTriggerPopup::addObjectToGroup(this, v7, v5);
v10 = TabbedPopupLayer::getPopupPage((TabbedPopupLayer *)this, 5, 1);
v11 = (__int64)*(this + 127);
LODWORD(v9) = *(_DWORD *)(v11 + 408);
v12 = ButtonSprite::create(
(ButtonSprite *)"Clear Plat. Saves",
nullptr,
0,
0,
0.475,
"goldFont.fnt",
"GJ_button_05.png",
(const char *)v11,
25.0);
v13 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(v12, 0, (__int64)this, 1424, 1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v13 + 72LL))(v13, 4294966292LL);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(*(_QWORD *)*(this + 69) + 456LL))(*(this + 69), v13);
v14 = *(this + 69);
v15 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v13 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v74,
(float)(*(float *)&v69 * 0.5) + 44.0,
26.0 - (float)((float)(*((float *)this + 184) * 0.5) - (float)(*((float *)&v69 + 1) * 0.5)));
cocos2d::CCNode::convertToNodeSpace(&v75, v14, (const cocos2d::CCPoint *)&v74);
v15(v13, &v75);
SetupTriggerPopup::addObjectToPage(this, v13, v10);
SetupTriggerPopup::addObjectToGroup(this, v13, (unsigned int)v9);
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v13 + 344LL))(v13, 0);
LODWORD(v15) = TabbedPopupLayer::getPopupPage((TabbedPopupLayer *)this, 3, 0);
v16 = *(this + 127);
v17 = *((_DWORD *)v16 + 66);
v18 = (GameManager *)GameManager::sharedState(v16);
IntGameVariable = (GameManager *)GameManager::getIntGameVariable(v18, "0049");
*((_DWORD *)this + 287) = (_DWORD)IntGameVariable;
v20 = (GameManager *)GameManager::sharedState(IntGameVariable);
v21 = (GameManager *)GameManager::getIntGameVariable(v20, "0050");
*((_DWORD *)this + 288) = (_DWORD)v21;
v22 = (GameManager *)GameManager::sharedState(v21);
GameVariable = (GameManager *)GameManager::getGameVariable(v22, "0191");
*((_BYTE *)this + 1176) = (_BYTE)GameVariable;
v24 = (GameManager *)GameManager::sharedState(GameVariable);
*((_BYTE *)this + 1177) = GameManager::getGameVariable(v24, "0247");
v25 = 28.0 - (float)((float)(*((float *)this + 184) * 0.5) - (float)(*((float *)&v69 + 1) * 0.5));
v27 = (cocos2d::CCObject *)cocos2d::CCLabelBMFont::create(
(cocos2d::CCLabelBMFont *)"Buttons\nPer Row:",
"goldFont.fnt",
v26);
(*(void (__fastcall **)(cocos2d::CCObject *, float))(*(_QWORD *)v27 + 160LL))(v27, 0.45);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *, __int64))(*(_QWORD *)*(this + 73) + 464LL))(*(this + 73), v27, 2);
v28 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v27 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v75, (float)(*(float *)&v69 * 0.5) + -172.0, v25 - 1.0);
v28(v27, &v75);
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v27 + 344LL))(v27, 0);
v29 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v27 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v75, 0.0, 0.5);
v29(v27, &v75);
SetupTriggerPopup::addObjectToPage(this, v27, (unsigned int)v15);
SetupTriggerPopup::addObjectToGroup(this, v27, v17);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v71, (float)(*(float *)&v69 * 0.5) + -65.0, v25);
v30 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i",
(const char *)*((unsigned int *)this + 287));
CString = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v30);
v33 = cocos2d::CCLabelBMFont::create(CString, "goldFont.fnt", v32);
v34 = (__int64)*(this + 73);
*(this + 145) = (cocos2d::CCObject *)v33;
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v34 + 464LL))(v34, v33, 2);
(*(void (__fastcall **)(_QWORD, _BYTE *))(*(_QWORD *)*(this + 145) + 184LL))(*(this + 145), v71);
(*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*(this + 145) + 344LL))(*(this + 145), 0);
(*(void (__fastcall **)(_QWORD, float))(*(_QWORD *)*(this + 145) + 160LL))(*(this + 145), 0.85);
SetupTriggerPopup::addObjectToPage(this, *(this + 145), (unsigned int)v15);
SetupTriggerPopup::addObjectToGroup(this, *(this + 145), v17);
v36 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_arrow_03_001.png", v35);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v36 + 160LL))(v36, 0.6);
v37 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
v36,
0,
(__int64)this,
(__int64)GameSettingsLayer::onButtonsPerRow,
0);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(*(_QWORD *)*(this + 69) + 456LL))(*(this + 69), v37);
v64 = *(this + 69);
v66 = *(cocos2d::CCNode **)(*(_QWORD *)v37 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v73, -32.0, -2.0);
cocos2d::CCPoint::operator+(&v74, v71);
cocos2d::CCNode::convertToNodeSpace(&v75, v64, (const cocos2d::CCPoint *)&v74);
((void (__fastcall *)(cocos2d::CCObject *, __int64 *))v66)(v37, &v75);
CCMenuItemSpriteExtra::setSizeMult((__int64)v37, 2.0);
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v37 + 72LL))(v37, 0);
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v37 + 344LL))(v37, 0);
SetupTriggerPopup::addObjectToPage(this, v37, (unsigned int)v15);
SetupTriggerPopup::addObjectToGroup(this, v37, v17);
v39 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName(
(cocos2d::CCSprite *)"GJ_arrow_03_001.png",
v38);
cocos2d::CCSprite::setFlipX(v39, 1);
(*(void (__fastcall **)(cocos2d::CCSprite *, float))(*(_QWORD *)v39 + 160LL))(v39, 0.6);
v40 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
(__int64)v39,
0,
(__int64)this,
(__int64)GameSettingsLayer::onButtonsPerRow,
0);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(*(_QWORD *)*(this + 69) + 456LL))(*(this + 69), v40);
v67 = *(this + 69);
v41 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v40 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v73, 32.0, -2.0);
cocos2d::CCPoint::operator+(&v74, v71);
cocos2d::CCNode::convertToNodeSpace(&v75, v67, (const cocos2d::CCPoint *)&v74);
v41(v40, &v75);
CCMenuItemSpriteExtra::setSizeMult((__int64)v40, 2.0);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v40 + 72LL))(v40, 1);
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v40 + 344LL))(v40, 0);
SetupTriggerPopup::addObjectToPage(this, v40, (unsigned int)v15);
SetupTriggerPopup::addObjectToGroup(this, v40, v17);
v43 = (cocos2d::CCObject *)cocos2d::CCLabelBMFont::create(
(cocos2d::CCLabelBMFont *)"Button\nRows:",
"goldFont.fnt",
v42);
(*(void (__fastcall **)(cocos2d::CCObject *, float))(*(_QWORD *)v43 + 160LL))(v43, 0.45);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *, __int64))(*(_QWORD *)*(this + 73) + 464LL))(*(this + 73), v43, 2);
v44 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v43 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v75, (float)(*(float *)&v69 * 0.5) + 20.0, v25 - 1.0);
v44(v43, &v75);
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v43 + 344LL))(v43, 0);
v45 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v43 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v75, 0.0, 0.5);
v45(v43, &v75);
SetupTriggerPopup::addObjectToPage(this, v43, (unsigned int)v15);
SetupTriggerPopup::addObjectToGroup(this, v43, v17);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v72, (float)(*(float *)&v69 * 0.5) + 115.0, v25);
v46 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i",
(const char *)*((unsigned int *)this + 288));
v47 = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v46);
v49 = cocos2d::CCLabelBMFont::create(v47, "goldFont.fnt", v48);
v50 = (__int64)*(this + 73);
*(this + 146) = (cocos2d::CCObject *)v49;
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v50 + 464LL))(v50, v49, 2);
(*(void (__fastcall **)(_QWORD, _BYTE *))(*(_QWORD *)*(this + 146) + 184LL))(*(this + 146), v72);
(*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*(this + 146) + 344LL))(*(this + 146), 0);
(*(void (__fastcall **)(_QWORD, float))(*(_QWORD *)*(this + 146) + 160LL))(*(this + 146), 0.85);
SetupTriggerPopup::addObjectToPage(this, *(this + 146), (unsigned int)v15);
SetupTriggerPopup::addObjectToGroup(this, *(this + 146), v17);
v52 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_arrow_02_001.png", v51);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v52 + 160LL))(v52, 0.6);
v53 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
v52,
0,
(__int64)this,
(__int64)GameSettingsLayer::onButtonRows,
0);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(*(_QWORD *)*(this + 69) + 456LL))(*(this + 69), v53);
v65 = *(this + 69);
v68 = *(cocos2d::CCNode **)(*(_QWORD *)v53 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v73, -32.0, -2.0);
cocos2d::CCPoint::operator+(&v74, v72);
cocos2d::CCNode::convertToNodeSpace(&v75, v65, (const cocos2d::CCPoint *)&v74);
((void (__fastcall *)(cocos2d::CCObject *, __int64 *))v68)(v53, &v75);
CCMenuItemSpriteExtra::setSizeMult((__int64)v53, 2.0);
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v53 + 72LL))(v53, 0);
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v53 + 344LL))(v53, 0);
SetupTriggerPopup::addObjectToPage(this, v53, (unsigned int)v15);
SetupTriggerPopup::addObjectToGroup(this, v53, v17);
v55 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName(
(cocos2d::CCSprite *)"GJ_arrow_02_001.png",
v54);
cocos2d::CCSprite::setFlipX(v55, 1);
(*(void (__fastcall **)(cocos2d::CCSprite *, float))(*(_QWORD *)v55 + 160LL))(v55, 0.6);
v56 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create(
(__int64)v55,
0,
(__int64)this,
(__int64)GameSettingsLayer::onButtonRows,
0);
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(*(_QWORD *)*(this + 69) + 456LL))(*(this + 69), v56);
v57 = *(this + 69);
v58 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v56 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v73, 32.0, -2.0);
cocos2d::CCPoint::operator+(&v74, v72);
cocos2d::CCNode::convertToNodeSpace(&v75, v57, (const cocos2d::CCPoint *)&v74);
v58(v56, &v75);
CCMenuItemSpriteExtra::setSizeMult((__int64)v56, 2.0);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v56 + 72LL))(v56, 1);
(*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v56 + 344LL))(v56, 0);
SetupTriggerPopup::addObjectToPage(this, v56, (unsigned int)v15);
SetupTriggerPopup::addObjectToGroup(this, v56, v17);
if ( (v100[0] & 1) != 0 )
operator delete(v101);
if ( (v97[0] & 1) != 0 )
operator delete(v98);
if ( (v81[0] & 1) != 0 )
operator delete(v82);
return _stack_chk_guard;
}