// // GameSettingsLayer::addSpecialContent from 0x1402c5200 to 0x1402c65f9 (5113 bytes) // // 2 xrefs: // > GameSettingsLayer::create @ 0x1402c286d // > @ 0x14091dbac // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:29:22 +0000 // // Hidden C++ exception states: #wind=12 void __fastcall GameSettingsLayer::addSpecialContent(__int64 a1) { __int64 v2; // rax __int64 v3; // r8 unsigned int v4; // r15d unsigned int *v5; // r15 unsigned int v6; // r12d __int64 v7; // rax int v8; // eax struct cocos2d::CCObject *v9; // rsi __int64 v10; // rdi __int64 v11; // rbx __int64 v12; // rax __int64 v13; // rax cocos2d::CCArray *PageContainer; // rax cocos2d::CCArray *GroupContainer; // rax struct cocos2d::CCObject *v16; // rdi __int64 v17; // rax __int64 v18; // rbx __int64 v19; // rax cocos2d::CCArray *v20; // rax cocos2d::CCArray *v21; // rax __int64 v22; // r8 unsigned int v23; // r15d __int64 v24; // r15 unsigned int v25; // r12d struct cocos2d::CCObject *v26; // rdi __int64 v27; // rax __int64 v28; // rbx __int64 v29; // rax cocos2d::CCArray *v30; // rax cocos2d::CCArray *v31; // rax cocos2d::CCObject *v32; // rbx struct cocos2d::CCObject *v33; // rsi __int64 v34; // rdi __int64 v35; // rbx __int64 v36; // rax __int64 v37; // rax cocos2d::CCArray *v38; // rax cocos2d::CCArray *v39; // rax __int64 v40; // r8 unsigned int v41; // esi unsigned int *v42; // rcx unsigned int v43; // r15d __int64 v44; // rbx cocos2d::CCString *v45; // rax int v46; // ebx void *v47; // r8 __int64 v48; // rbx cocos2d::CCString *v49; // rax int v50; // ebx void *v51; // r8 __int64 v52; // rcx __int64 v53; // rcx float v54; // xmm13_4 struct cocos2d::CCObject *v55; // rdi __int64 v56; // rbx __int64 v57; // rax __int64 v58; // rbx __int64 v59; // rax cocos2d::CCArray *v60; // rax cocos2d::CCArray *v61; // rax cocos2d::CCString *v62; // rax const char *CString; // rax struct cocos2d::CCLabelBMFont *v64; // rax struct cocos2d::CCObject *v65; // rbx cocos2d::CCArray *v66; // rax struct cocos2d::CCObject *v67; // rbx cocos2d::CCArray *v68; // rax struct cocos2d::CCSprite *v69; // rax struct cocos2d::CCObject *v70; // rdi __int64 v71; // rax __int64 v72; // rbx __int64 v73; // rax cocos2d::CCArray *v74; // rax cocos2d::CCArray *v75; // rax cocos2d::CCSprite *v76; // rbx struct cocos2d::CCObject *v77; // rdi __int64 v78; // rax __int64 v79; // rbx __int64 v80; // rax cocos2d::CCArray *v81; // rax cocos2d::CCArray *v82; // rax struct cocos2d::CCObject *v83; // rdi __int64 v84; // rbx __int64 v85; // rax __int64 v86; // rbx __int64 v87; // rax cocos2d::CCArray *v88; // rax cocos2d::CCArray *v89; // rax cocos2d::CCString *v90; // rax const char *v91; // rax struct cocos2d::CCLabelBMFont *v92; // rax struct cocos2d::CCObject *v93; // rbx cocos2d::CCArray *v94; // rax struct cocos2d::CCObject *v95; // rbx cocos2d::CCArray *v96; // rax struct cocos2d::CCSprite *v97; // rax struct cocos2d::CCObject *v98; // rdi __int64 v99; // rax __int64 v100; // rbx __int64 v101; // rax cocos2d::CCArray *v102; // rax cocos2d::CCArray *v103; // rax cocos2d::CCSprite *v104; // rbx struct cocos2d::CCObject *v105; // rdi __int64 v106; // rax __int64 v107; // rbx __int64 v108; // rax cocos2d::CCArray *v109; // rax cocos2d::CCArray *v110; // rax void **v111; // [rsp+58h] [rbp-B0h] BYREF void *v112; // [rsp+60h] [rbp-A8h] BYREF float v113; // [rsp+68h] [rbp-A0h] BYREF float v114; // [rsp+6Ch] [rbp-9Ch] void **v115; // [rsp+70h] [rbp-98h] BYREF _BYTE v116[8]; // [rsp+78h] [rbp-90h] BYREF _BYTE v117[8]; // [rsp+80h] [rbp-88h] BYREF _BYTE v118[8]; // [rsp+88h] [rbp-80h] BYREF _BYTE v119[8]; // [rsp+90h] [rbp-78h] BYREF void *Block[2]; // [rsp+98h] [rbp-70h] BYREF __int64 v121; // [rsp+A8h] [rbp-60h] unsigned __int64 v122; // [rsp+B0h] [rbp-58h] void *Src[2]; // [rsp+B8h] [rbp-50h] BYREF __int64 v124; // [rsp+C8h] [rbp-40h] unsigned __int64 v125; // [rsp+D0h] [rbp-38h] int v126; // [rsp+D8h] [rbp-30h] BYREF void *v127[4]; // [rsp+E0h] [rbp-28h] BYREF _BYTE v128[8]; // [rsp+100h] [rbp-8h] BYREF char v129[8]; // [rsp+108h] [rbp+0h] BYREF int v130; // [rsp+110h] [rbp+8h] int v131; // [rsp+114h] [rbp+Ch] char v132; // [rsp+118h] [rbp+10h] int v133; // [rsp+11Ch] [rbp+14h] int v134; // [rsp+120h] [rbp+18h] unsigned int v135; // [rsp+124h] [rbp+1Ch] unsigned int v136; // [rsp+128h] [rbp+20h] void *v137[4]; // [rsp+140h] [rbp+38h] BYREF int v138; // [rsp+160h] [rbp+58h] _BYTE v139[32]; // [rsp+168h] [rbp+60h] BYREF int v140; // [rsp+188h] [rbp+80h] BYREF void *v141[4]; // [rsp+190h] [rbp+88h] BYREF _BYTE v142[8]; // [rsp+1B0h] [rbp+A8h] BYREF char v143[8]; // [rsp+1B8h] [rbp+B0h] BYREF int v144; // [rsp+1C0h] [rbp+B8h] int v145; // [rsp+1C4h] [rbp+BCh] char v146; // [rsp+1C8h] [rbp+C0h] int v147; // [rsp+1CCh] [rbp+C4h] int v148; // [rsp+1D0h] [rbp+C8h] unsigned int v149; // [rsp+1D4h] [rbp+CCh] unsigned int v150; // [rsp+1D8h] [rbp+D0h] void *v151[4]; // [rsp+1F0h] [rbp+E8h] BYREF int v152; // [rsp+210h] [rbp+108h] _BYTE v153[32]; // [rsp+218h] [rbp+110h] BYREF v2 = cocos2d::CCDirector::sharedDirector(a1); cocos2d::CCDirector::getWinSize(v2, &v113); v3 = *(_QWORD *)(a1 + 1024); if ( (int)((*(_QWORD *)(a1 + 1032) - v3) / 24) > 4 ) { v5 = *(unsigned int **)(v3 + 96); if ( (int)((__int64)(*(_QWORD *)(v3 + 104) - (_QWORD)v5) >> 2) > 0 ) v4 = *v5; else v4 = 0; } else { v4 = 0; } v6 = *(_DWORD *)(*(_QWORD *)(a1 + 1000) + 416LL); v7 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v111 = (void **)operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v111); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v7 = qword_14090BFD0; } if ( !*(_QWORD *)(v7 + 560) ) { v8 = (unsigned int)cocos2d::CCSprite::createWithSpriteFrameName("GJ_savedSongsBtn_001.png"); v9 = CCMenuItemSpriteExtra::create(v8, 0, a1, (__int64)sub_1402C8C54); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(*(_QWORD *)v9 + 64LL))(v9, 4294966295LL); *((_DWORD *)v9 + 93) = 1067030938; (*(void (__fastcall **)(_QWORD, struct cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))( *(_QWORD *)(a1 + 552), v9); v10 = *(_QWORD *)v9; v11 = *(_QWORD *)(a1 + 552); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v111, (float)((float)(*(float *)(a1 + 732) * 0.5) + (float)(v113 * 0.5)) - 38.0, (float)((float)(v114 * 0.5) - (float)(*(float *)(a1 + 736) * 0.5)) + 38.0); cocos2d::CCNode::convertToNodeSpace(v11, v116, v12); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v10 + 184))(v9, v13); PageContainer = (cocos2d::CCArray *)SetupTriggerPopup::getPageContainer(a1, v4); cocos2d::CCArray::addObject(PageContainer, v9); GroupContainer = (cocos2d::CCArray *)SetupTriggerPopup::getGroupContainer(a1, v6); cocos2d::CCArray::addObject(GroupContainer, v9); (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v9 + 336LL))(v9, 0); } cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v119, (float)((float)(v113 * 0.5) - (float)(*(float *)(a1 + 732) * 0.5)) + 90.0, (float)((float)(v114 * 0.5) - (float)(*(float *)(a1 + 736) * 0.5)) + 40.0); sub_14009BE60((__int64)&v140); v140 = -3; sub_1400405A0(v141, "Offset", 6u); cocos2d::CCPoint::operator=(v142, v119); strcpy(v143, "333?"); v144 = 2; v145 = 4; v146 = 0; v147 = -1027080192; v148 = 1120403456; v149 = v4; v150 = v6; sub_1400405A0(v151, &qword_140704F78, 0xBu); v152 = 1056964608; SetupTriggerPopup::createValueControlAdvanced_1(a1, &v140); v111 = Src; *(_OWORD *)Src = 0; v124 = 0; v125 = 0; Src[0] = sub_14003D460(0x30u); v124 = 38; v125 = 47; strcpy((char *)Src[0], "Offset the game music in milliseconds."); v121 = 12; v122 = 15; strcpy((char *)Block, "Music Offset"); BYTE5(Block[1]) = 0; HIWORD(Block[1]) = 0; v16 = (struct cocos2d::CCObject *)InfoAlertButton::create(Block, Src); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))( *(_QWORD *)(a1 + 552), v16); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v111, -49.0, 5.0); cocos2d::CCPoint::operator+(v119, v116, v17); v18 = *(_QWORD *)v16; cocos2d::CCNode::convertToNodeSpace(*(_QWORD *)(a1 + 552), &v115, v116); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v18 + 184))(v16, v19); (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v16 + 336LL))(v16, 0); v20 = (cocos2d::CCArray *)SetupTriggerPopup::getPageContainer(a1, v4); cocos2d::CCArray::addObject(v20, v16); v21 = (cocos2d::CCArray *)SetupTriggerPopup::getGroupContainer(a1, v6); cocos2d::CCArray::addObject(v21, v16); v22 = *(_QWORD *)(a1 + 1024); if ( (int)((*(_QWORD *)(a1 + 1032) - v22) / 24) > 5 ) { v24 = *(_QWORD *)(v22 + 120); if ( (int)((*(_QWORD *)(v22 + 128) - v24) >> 2) > 1 ) v23 = *(_DWORD *)(v24 + 4); else v23 = 0; } else { v23 = 0; } v25 = *(_DWORD *)(*(_QWORD *)(a1 + 1000) + 504LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v116, (float)((float)(v113 * 0.5) - (float)(*(float *)(a1 + 732) * 0.5)) + 90.0, (float)((float)(v114 * 0.5) - (float)(*(float *)(a1 + 736) * 0.5)) + 40.0); sub_14009BE60((__int64)&v126); v126 = -4; sub_1400405A0(v127, "Scroll", 6u); cocos2d::CCPoint::operator=(v128, v116); strcpy(v129, "333?"); v130 = 1; v131 = 4; v132 = 0; v133 = 1056964608; v134 = 1077936128; v135 = v23; v136 = v25; sub_1400405A0(v137, &qword_140704F78, 0xBu); v138 = 1056964608; SetupTriggerPopup::createValueControlAdvanced_1(a1, &v126); v115 = Src; *(_OWORD *)Src = 0; v124 = 0; v125 = 0; Src[0] = sub_14003D460(0x30u); v124 = 43; v125 = 47; strcpy((char *)Src[0], "Scroll wheel speed in menus and the editor."); *(_OWORD *)Block = 0; v121 = 0; v122 = 0; Block[0] = sub_14003D460(0x20u); v121 = 18; v122 = 31; strcpy((char *)Block[0], "Scroll Sensitivity"); v26 = (struct cocos2d::CCObject *)InfoAlertButton::create(Block, Src); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))( *(_QWORD *)(a1 + 552), v26); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v115, -49.0, 5.0); cocos2d::CCPoint::operator+(v116, &v111, v27); v28 = *(_QWORD *)v26; cocos2d::CCNode::convertToNodeSpace(*(_QWORD *)(a1 + 552), &v112, &v111); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v28 + 184))(v26, v29); (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v26 + 336LL))(v26, 0); v30 = (cocos2d::CCArray *)SetupTriggerPopup::getPageContainer(a1, v23); cocos2d::CCArray::addObject(v30, v26); v31 = (cocos2d::CCArray *)SetupTriggerPopup::getGroupContainer(a1, v25); cocos2d::CCArray::addObject(v31, v26); sub_14003D310((__int64)v139); sub_14003D310((__int64)v137); sub_14003D310((__int64)v127); v112 = operator new(0x2C8u); v32 = (cocos2d::CCObject *)ButtonSprite::ButtonSprite((__int64)v112); if ( v32 ) { if ( ButtonSprite::init_1( (__int64)v32, (__int64)"Clear Plat. Saves", 0, 0, 1056125747, 0, "goldFont.fnt", (__int64)"GJ_button_05.png", 1103626240) ) { cocos2d::CCObject::autorelease(v32); } else { (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v32 + 8LL))(v32, 1); LODWORD(v32) = 0; } } v33 = CCMenuItemSpriteExtra::create((int)v32, 0, a1, (__int64)sub_1402C8C54); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(*(_QWORD *)v33 + 64LL))(v33, 4294966292LL); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))( *(_QWORD *)(a1 + 552), v33); v34 = *(_QWORD *)v33; v35 = *(_QWORD *)(a1 + 552); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v112, (float)(v113 * 0.5) + 44.0, (float)((float)(v114 * 0.5) - (float)(*(float *)(a1 + 736) * 0.5)) + 26.0); cocos2d::CCNode::convertToNodeSpace(v35, &v115, v36); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v34 + 184))(v33, v37); v38 = (cocos2d::CCArray *)SetupTriggerPopup::getPageContainer(a1, v23); cocos2d::CCArray::addObject(v38, v33); v39 = (cocos2d::CCArray *)SetupTriggerPopup::getGroupContainer(a1, v25); cocos2d::CCArray::addObject(v39, v33); (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v33 + 336LL))(v33, 0); v40 = *(_QWORD *)(a1 + 1024); v41 = 0; if ( (int)((*(_QWORD *)(a1 + 1032) - v40) / 24) > 3 ) { v42 = *(unsigned int **)(v40 + 72); if ( (int)((__int64)(*(_QWORD *)(v40 + 80) - (_QWORD)v42) >> 2) > 0 ) v41 = *v42; } v43 = *(_DWORD *)(*(_QWORD *)(a1 + 1000) + 328LL); v44 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v112 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v112); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v44 = qword_14090BFD0; } *(_OWORD *)Block = 0; v121 = 3; v122 = 15; LODWORD(Block[0]) = 6256231; sub_140044D80(Block, "0049", 4u); v45 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(*(_QWORD *)(v44 + 432), Block); v46 = cocos2d::CCString::intValue(v45); if ( v122 > 0xF ) { v47 = Block[0]; if ( v122 + 1 >= 0x1000 ) { v47 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v47 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v47); } v121 = 0; v122 = 15; LOBYTE(Block[0]) = 0; *(_DWORD *)(a1 + 1156) = v46; v48 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v112 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v112); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v48 = qword_14090BFD0; } *(_OWORD *)Src = 0; v124 = 3; v125 = 15; LODWORD(Src[0]) = 6256231; sub_140044D80(Src, "0050", 4u); v49 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(*(_QWORD *)(v48 + 432), Src); v50 = cocos2d::CCString::intValue(v49); if ( v125 > 0xF ) { v51 = Src[0]; if ( v125 + 1 >= 0x1000 ) { v51 = *((void **)Src[0] - 1); if ( (unsigned __int64)((char *)Src[0] - (char *)v51 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v51); } v124 = 0; v125 = 15; LOBYTE(Src[0]) = 0; *(_DWORD *)(a1 + 1160) = v50; v52 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v112 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v112); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v52 = qword_14090BFD0; } *(_BYTE *)(a1 + 1184) = GameManager::getGameVariable(v52, "0191"); v53 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v112 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v112); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v53 = qword_14090BFD0; } *(_BYTE *)(a1 + 1185) = GameManager::getGameVariable(v53, "0247"); v54 = (float)((float)(v114 * 0.5) - (float)(*(float *)(a1 + 736) * 0.5)) + 28.0; v55 = cocos2d::CCLabelBMFont::create("Buttons\nPer Row:", "goldFont.fnt"); (*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v55 + 160LL))(v55); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCObject *, __int64))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), v55, 2); v56 = *(_QWORD *)v55; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v112, (float)(v113 * 0.5) - 172.0, v54 - 1.0); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v56 + 184))(v55, v57); (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v55 + 336LL))(v55, 0); v58 = *(_QWORD *)v55; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v112, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v58 + 288))(v55, v59); v60 = (cocos2d::CCArray *)SetupTriggerPopup::getPageContainer(a1, v41); cocos2d::CCArray::addObject(v60, v55); v61 = (cocos2d::CCArray *)SetupTriggerPopup::getGroupContainer(a1, v43); cocos2d::CCArray::addObject(v61, v55); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v117, (float)(v113 * 0.5) - 65.0, v54); v62 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, *(unsigned int *)(a1 + 1156)); CString = cocos2d::CCString::getCString(v62); v64 = cocos2d::CCLabelBMFont::create(CString, "goldFont.fnt"); *(_QWORD *)(a1 + 1168) = v64; (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *, __int64))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), v64, 2); (*(void (__fastcall **)(_QWORD, _BYTE *))(**(_QWORD **)(a1 + 1168) + 184LL))(*(_QWORD *)(a1 + 1168), v117); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1168) + 336LL))(*(_QWORD *)(a1 + 1168), 0); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1168) + 160LL))(*(_QWORD *)(a1 + 1168)); v65 = *(struct cocos2d::CCObject **)(a1 + 1168); v66 = (cocos2d::CCArray *)SetupTriggerPopup::getPageContainer(a1, v41); cocos2d::CCArray::addObject(v66, v65); v67 = *(struct cocos2d::CCObject **)(a1 + 1168); v68 = (cocos2d::CCArray *)SetupTriggerPopup::getGroupContainer(a1, v43); cocos2d::CCArray::addObject(v68, v67); v69 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_arrow_03_001.png"); LODWORD(v67) = (_DWORD)v69; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v69 + 160LL))(v69); v70 = CCMenuItemSpriteExtra::create((int)v67, 0, a1, (__int64)GameSettingsLayer::onButtonsPerRow); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))( *(_QWORD *)(a1 + 552), v70); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v112, -32.0, -2.0); cocos2d::CCPoint::operator+(v117, &v111, v71); v72 = *(_QWORD *)v70; cocos2d::CCNode::convertToNodeSpace(*(_QWORD *)(a1 + 552), &v115, &v111); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v72 + 184))(v70, v73); *((_DWORD *)v70 + 93) = 0x40000000; (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v70 + 64LL))(v70, 0); (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v70 + 336LL))(v70, 0); v74 = (cocos2d::CCArray *)SetupTriggerPopup::getPageContainer(a1, v41); cocos2d::CCArray::addObject(v74, v70); v75 = (cocos2d::CCArray *)SetupTriggerPopup::getGroupContainer(a1, v43); cocos2d::CCArray::addObject(v75, v70); v76 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_arrow_03_001.png"); cocos2d::CCSprite::setFlipX(v76, 1); (*(void (__fastcall **)(cocos2d::CCSprite *))(*(_QWORD *)v76 + 160LL))(v76); v77 = CCMenuItemSpriteExtra::create((int)v76, 0, a1, (__int64)GameSettingsLayer::onButtonsPerRow); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))( *(_QWORD *)(a1 + 552), v77); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v112, 32.0, -2.0); cocos2d::CCPoint::operator+(v117, &v111, v78); v79 = *(_QWORD *)v77; cocos2d::CCNode::convertToNodeSpace(*(_QWORD *)(a1 + 552), &v115, &v111); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v79 + 184))(v77, v80); *((_DWORD *)v77 + 93) = 0x40000000; (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(*(_QWORD *)v77 + 64LL))(v77, 1); (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v77 + 336LL))(v77, 0); v81 = (cocos2d::CCArray *)SetupTriggerPopup::getPageContainer(a1, v41); cocos2d::CCArray::addObject(v81, v77); v82 = (cocos2d::CCArray *)SetupTriggerPopup::getGroupContainer(a1, v43); cocos2d::CCArray::addObject(v82, v77); v83 = cocos2d::CCLabelBMFont::create("Button\nRows:", "goldFont.fnt"); (*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v83 + 160LL))(v83); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCObject *, __int64))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), v83, 2); v84 = *(_QWORD *)v83; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v112, (float)(v113 * 0.5) + 20.0, v54 - 1.0); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v84 + 184))(v83, v85); (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v83 + 336LL))(v83, 0); v86 = *(_QWORD *)v83; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v112, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v86 + 288))(v83, v87); v88 = (cocos2d::CCArray *)SetupTriggerPopup::getPageContainer(a1, v41); cocos2d::CCArray::addObject(v88, v83); v89 = (cocos2d::CCArray *)SetupTriggerPopup::getGroupContainer(a1, v43); cocos2d::CCArray::addObject(v89, v83); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v118, (float)(v113 * 0.5) + 115.0, v54); v90 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, *(unsigned int *)(a1 + 1160)); v91 = cocos2d::CCString::getCString(v90); v92 = cocos2d::CCLabelBMFont::create(v91, "goldFont.fnt"); *(_QWORD *)(a1 + 1176) = v92; (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *, __int64))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), v92, 2); (*(void (__fastcall **)(_QWORD, _BYTE *))(**(_QWORD **)(a1 + 1176) + 184LL))(*(_QWORD *)(a1 + 1176), v118); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1176) + 336LL))(*(_QWORD *)(a1 + 1176), 0); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1176) + 160LL))(*(_QWORD *)(a1 + 1176)); v93 = *(struct cocos2d::CCObject **)(a1 + 1176); v94 = (cocos2d::CCArray *)SetupTriggerPopup::getPageContainer(a1, v41); cocos2d::CCArray::addObject(v94, v93); v95 = *(struct cocos2d::CCObject **)(a1 + 1176); v96 = (cocos2d::CCArray *)SetupTriggerPopup::getGroupContainer(a1, v43); cocos2d::CCArray::addObject(v96, v95); v97 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_arrow_02_001.png"); LODWORD(v95) = (_DWORD)v97; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v97 + 160LL))(v97); v98 = CCMenuItemSpriteExtra::create((int)v95, 0, a1, (__int64)GameSettingsLayer::onButtonRows); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))( *(_QWORD *)(a1 + 552), v98); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v112, -32.0, -2.0); cocos2d::CCPoint::operator+(v118, &v111, v99); v100 = *(_QWORD *)v98; cocos2d::CCNode::convertToNodeSpace(*(_QWORD *)(a1 + 552), &v115, &v111); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v100 + 184))(v98, v101); *((_DWORD *)v98 + 93) = 0x40000000; (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v98 + 64LL))(v98, 0); (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v98 + 336LL))(v98, 0); v102 = (cocos2d::CCArray *)SetupTriggerPopup::getPageContainer(a1, v41); cocos2d::CCArray::addObject(v102, v98); v103 = (cocos2d::CCArray *)SetupTriggerPopup::getGroupContainer(a1, v43); cocos2d::CCArray::addObject(v103, v98); v104 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_arrow_02_001.png"); cocos2d::CCSprite::setFlipX(v104, 1); (*(void (__fastcall **)(cocos2d::CCSprite *))(*(_QWORD *)v104 + 160LL))(v104); v105 = CCMenuItemSpriteExtra::create((int)v104, 0, a1, (__int64)GameSettingsLayer::onButtonRows); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))( *(_QWORD *)(a1 + 552), v105); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v112, 32.0, -2.0); cocos2d::CCPoint::operator+(v118, &v111, v106); v107 = *(_QWORD *)v105; cocos2d::CCNode::convertToNodeSpace(*(_QWORD *)(a1 + 552), &v115, &v111); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v107 + 184))(v105, v108); *((_DWORD *)v105 + 93) = 0x40000000; (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(*(_QWORD *)v105 + 64LL))(v105, 1); (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v105 + 336LL))(v105, 0); v109 = (cocos2d::CCArray *)SetupTriggerPopup::getPageContainer(a1, v41); cocos2d::CCArray::addObject(v109, v105); v110 = (cocos2d::CCArray *)SetupTriggerPopup::getGroupContainer(a1, v43); cocos2d::CCArray::addObject(v110, v105); sub_14003D310((__int64)v153); sub_14003D310((__int64)v151); sub_14003D310((__int64)v141); }
GD Web Decomp Icon

GD Web Decomp

Raw Source