// // SetGroupIDLayer::init from 0x63d06c to 0x63e728 (5820 bytes) // // 1 xrefs: // > SetGroupIDLayer::create @ 0x63e870 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:55:26 +0000 // cocos2d::CCArray *__fastcall SetGroupIDLayer::init(cocos2d::CCPoint **this, GameObject *a2, cocos2d::CCArray *a3) { cocos2d::CCArray *v5; // r0 cocos2d::CCObject *v6; // r0 cocos2d::CCDictionary *v7; // r0 cocos2d::CCObject *v8; // r0 cocos2d::CCDictionary *v9; // r0 cocos2d::CCObject *v10; // r0 cocos2d::CCDirector *v11; // r0 cocos2d::CCLayer *WinSize; // r0 cocos2d::CCPoint *v13; // r0 cocos2d::CCPoint *v14; // r3 cocos2d::CCArray *v15; // r0 cocos2d::CCObject *v16; // r0 GameManager *v17; // r0 int v18; // r5 void (__fastcall *v19)(int, int *); // r6 void (__fastcall *v20)(int, int *); // r6 void (__fastcall *v21)(cocos2d::CCPoint *, int *); // r5 void (__fastcall *v22)(cocos2d::CCPoint *, int *); // r5 const char *v23; // r2 int v24; // r6 void (__fastcall *v25)(int, int *); // r7 const char *v26; // r2 int v27; // r7 void (__fastcall *v28)(int, int *); // r9 const char *v29; // r2 void (__fastcall *v30)(cocos2d::CCArray *, int *); // r9 const char *v31; // r2 void (__fastcall *v32)(char *, int *); // r9 int v33; // r10 const char *v34; // r2 void (__fastcall *v35)(cocos2d::CCPoint *, int *); // r9 cocos2d::CCMenu *v36; // r0 cocos2d::CCPoint *v37; // r0 ButtonSprite *v38; // r0 int v39; // r0 int v40; // r10 void (__fastcall *v41)(int, int *); // r9 const char *v42; // r1 int v43; // r8 int v44; // r10 const char *v45; // r1 int v46; // r9 int v47; // r10 void (__fastcall *v48)(int, int *); // r9 const char *v49; // r1 int v50; // r9 int v51; // r10 void (__fastcall *v52)(int, int *); // r9 _DWORD *v53; // r8 const cocos2d::CCPoint *v54; // r9 int v55; // r6 int v56; // r6 int v57; // r6 float v58; // s22 ButtonSprite *v59; // r0 int v60; // r7 float v61; // s19 int v62; // r0 ButtonSprite *v63; // r0 int v64; // r8 void (__fastcall *v65)(int, int *); // r6 int v66; // r9 int v67; // r6 int v68; // r1 int v69; // r2 int v70; // r3 int *v71; // r0 int v72; // r8 int *v73; // r7 void (__fastcall *v74)(int *, int *); // r6 int v75; // r9 cocos2d::CCMenu *v76; // r0 cocos2d::CCPoint *v77; // r0 int v78; // r6 cocos2d::CCArray *v79; // r0 cocos2d::CCArray *v80; // r0 const char *v81; // r12 char *v82; // r0 int v83; // r7 cocos2d::CCObject *v84; // r9 const cocos2d::CCPoint *v85; // r6 int v86; // r8 cocos2d::CCArray *v87; // r0 const char *v88; // r1 const char *v89; // r1 const cocos2d::CCPoint *v90; // r0 const cocos2d::CCPoint *v91; // r6 void *v92; // r1 const char *v93; // r2 cocos2d::CCLabelBMFont *v94; // r0 int v95; // r8 int v96; // r6 float v97; // r1 float v98; // r8 GameObject *v99; // r0 int ParentMode; // r5 unsigned int v101; // r6 GameObject *v102; // r0 int v103; // r0 cocos2d::CCString *v104; // r0 const char *CString; // r5 size_t v106; // r0 const char *v107; // r2 cocos2d::CCLabelBMFont *v108; // r0 int v109; // r6 void (__fastcall *v110)(int, int *); // r5 int v111; // r7 int v112; // r1 int v113; // r2 int v114; // r3 int v115; // r1 int v116; // r2 int v117; // r3 const char *v118; // r1 int v119; // r5 int v120; // r5 void (__fastcall *v121)(int, int *); // r7 const cocos2d::CCPoint *v122; // r5 ButtonSprite *v123; // r10 ButtonSprite *v124; // r5 ButtonSprite *v125; // r6 ButtonSprite *v126; // r7 ButtonSprite *v127; // r8 int v128; // r10 int v129; // r5 int v130; // r6 int v131; // r7 GameManager *v132; // r0 GameManager *v133; // r8 GameObject *v134; // r9 int v135; // r0 void (__fastcall *v136)(int, int *); // r10 void (__fastcall *v137)(int, int *); // r10 void (__fastcall *v138)(GameManager *, int *); // r7 GameManager *v139; // r0 const cocos2d::CCPoint *v141; // r10 int v142; // r9 GameManager *v143; // r0 GameObject *v144; // r7 const cocos2d::CCPoint *v145; // r9 GameManager *v146; // r0 GameObject *v147; // r5 const cocos2d::CCPoint *v148; // r7 GameManager *v149; // r0 GameObject *v150; // r8 const cocos2d::CCPoint *v151; // r10 float v152; // [sp+10h] [bp-194h] float v153; // [sp+10h] [bp-194h] float v154; // [sp+10h] [bp-194h] float v155; // [sp+10h] [bp-194h] float v156; // [sp+10h] [bp-194h] float v157; // [sp+10h] [bp-194h] float v158; // [sp+10h] [bp-194h] cocos2d::CCPoint *v159; // [sp+38h] [bp-16Ch] cocos2d::CCArray *v161; // [sp+40h] [bp-164h] cocos2d::CCArray *v162; // [sp+40h] [bp-164h] cocos2d::CCArray *v163; // [sp+40h] [bp-164h] cocos2d::CCArray *v164; // [sp+40h] [bp-164h] cocos2d::CCArray *v165; // [sp+40h] [bp-164h] cocos2d::CCPoint *v166; // [sp+44h] [bp-160h] cocos2d::CCPoint *v167; // [sp+44h] [bp-160h] char *v168; // [sp+4Ch] [bp-158h] char *v169; // [sp+4Ch] [bp-158h] cocos2d::CCArray *v170; // [sp+50h] [bp-154h] cocos2d::CCPoint *v171; // [sp+54h] [bp-150h] cocos2d::CCPoint *v172; // [sp+54h] [bp-150h] cocos2d::CCPoint *v173; // [sp+54h] [bp-150h] cocos2d::CCPoint *v174; // [sp+54h] [bp-150h] cocos2d::CCPoint *v175; // [sp+54h] [bp-150h] cocos2d::CCPoint *v176; // [sp+5Ch] [bp-148h] cocos2d::CCObject *v177; // [sp+64h] [bp-140h] char *v178; // [sp+68h] [bp-13Ch] float v179; // [sp+70h] [bp-134h] BYREF float v180; // [sp+74h] [bp-130h] _BYTE v181[8]; // [sp+78h] [bp-12Ch] BYREF _BYTE v182[8]; // [sp+80h] [bp-124h] BYREF _BYTE v183[8]; // [sp+88h] [bp-11Ch] BYREF _BYTE v184[8]; // [sp+90h] [bp-114h] BYREF _BYTE v185[8]; // [sp+98h] [bp-10Ch] BYREF _BYTE v186[8]; // [sp+A0h] [bp-104h] BYREF _BYTE v187[8]; // [sp+A8h] [bp-FCh] BYREF int (__fastcall *v188)(cocos2d::CCArray **, cocos2d::CCObject *); // [sp+B0h] [bp-F4h] int v189; // [sp+B4h] [bp-F0h] int (__fastcall *v190)(SetGroupIDLayer *, cocos2d::CCObject *); // [sp+B8h] [bp-ECh] int v191; // [sp+BCh] [bp-E8h] int (__fastcall *v192)(SetGroupIDLayer *, cocos2d::CCObject *); // [sp+C0h] [bp-E4h] int v193; // [sp+C4h] [bp-E0h] int (__fastcall *v194)(SetGroupIDLayer *, cocos2d::CCObject *); // [sp+C8h] [bp-DCh] int v195; // [sp+CCh] [bp-D8h] void (__fastcall *v196)(SetGroupIDLayer *, cocos2d::CCObject *); // [sp+D0h] [bp-D4h] int v197; // [sp+D4h] [bp-D0h] void (__fastcall *v198)(SetGroupIDLayer *, cocos2d::CCObject *); // [sp+D8h] [bp-CCh] int v199; // [sp+DCh] [bp-C8h] unsigned int (__fastcall *v200)(SetGroupIDLayer *, cocos2d::CCObject *); // [sp+E0h] [bp-C4h] int v201; // [sp+E4h] [bp-C0h] unsigned int (__fastcall *v202)(cocos2d::CCArray **, cocos2d::CCObject *); // [sp+E8h] [bp-BCh] int v203; // [sp+ECh] [bp-B8h] int (__fastcall *v204)(SetGroupIDLayer *, cocos2d::CCObject *); // [sp+F0h] [bp-B4h] int v205; // [sp+F4h] [bp-B0h] int (__fastcall *v206)(GameObject **, cocos2d::CCObject *); // [sp+F8h] [bp-ACh] int v207; // [sp+FCh] [bp-A8h] void (__fastcall *v208)(GameObject **, cocos2d::CCObject *); // [sp+100h] [bp-A4h] int v209; // [sp+104h] [bp-A0h] int (__fastcall *v210)(SetupObjectOptionsPopup **, cocos2d::CCObject *, cocos2d::CCArray *); // [sp+108h] [bp-9Ch] int v211; // [sp+10Ch] [bp-98h] int (__fastcall *v212)(SetupObjectOptions2Popup **, cocos2d::CCObject *, cocos2d::CCArray *); // [sp+110h] [bp-94h] int v213; // [sp+114h] [bp-90h] int (__fastcall *v214)(SetGroupIDLayer *, cocos2d::CCObject *); // [sp+118h] [bp-8Ch] BYREF float v215; // [sp+11Ch] [bp-88h] int (__fastcall *v216)(EffectGameObject **, cocos2d::CCObject *); // [sp+120h] [bp-84h] BYREF int v217; // [sp+124h] [bp-80h] int (__fastcall *v218)(SetGroupIDLayer *, cocos2d::CCObject *); // [sp+128h] [bp-7Ch] BYREF int v219; // [sp+12Ch] [bp-78h] int (__fastcall *v220)(SetGroupIDLayer *, cocos2d::CCObject *); // [sp+130h] [bp-74h] BYREF int v221; // [sp+134h] [bp-70h] int v222[2]; // [sp+138h] [bp-6Ch] BYREF cocos2d::CCLabelBMFont *v223; // [sp+140h] [bp-64h] int v224[3]; // [sp+144h] [bp-60h] BYREF int v225[3]; // [sp+150h] [bp-54h] BYREF int v226[3]; // [sp+15Ch] [bp-48h] BYREF int v227[3]; // [sp+168h] [bp-3Ch] BYREF int v228; // [sp+174h] [bp-30h] BYREF int v229; // [sp+178h] [bp-2Ch] int v230; // [sp+17Ch] [bp-28h] int v231; // [sp+180h] [bp-24h] BYREF int v232; // [sp+184h] [bp-20h] cocos2d::CCLabelBMFont *v233; // [sp+188h] [bp-1Ch] int v234; // [sp+18Ch] [bp-18h] BYREF int v235; // [sp+190h] [bp-14h] v234 = 1258291200; v5 = (cocos2d::CCArray *)cocos2d::CCLayerColor::initWithColor(this, &v234); v170 = v5; if ( !v5 ) return v170; *((_BYTE *)this + 609) = 1; *((_BYTE *)this + 468) = 1; if ( a2 ) { *(this + 131) = a2; } else { *(this + 132) = a3; v5 = (cocos2d::CCArray *)cocos2d::CCObject::retain(a3); } v6 = (cocos2d::CCObject *)cocos2d::CCArray::create(v5); *(this + 133) = v6; v7 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain(v6); v8 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v7); *(this + 156) = v8; v9 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain(v8); v10 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v9); *(this + 157) = v10; cocos2d::CCObject::retain(v10); FLAlertLayer::incrementForcePrio((cocos2d::CCObject *)this); (*((void (__fastcall **)(cocos2d::CCPoint **, int))*this + 125))(this, 1); v11 = (cocos2d::CCDirector *)(*((int (__fastcall **)(cocos2d::CCPoint **, int))*this + 134))(this, 1); cocos2d::CCDirector::sharedDirector(v11); WinSize = (cocos2d::CCLayer *)cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v179); v13 = (cocos2d::CCPoint *)cocos2d::CCLayer::create(WinSize); v14 = *this; *(this + 115) = v13; (*((void (__fastcall **)(cocos2d::CCPoint **, cocos2d::CCPoint *))v14 + 57))(this, v13); v15 = (cocos2d::CCArray *)(*((int (__fastcall **)(cocos2d::CCPoint **, int))*this + 146))(this, 200); v16 = (cocos2d::CCObject *)cocos2d::CCArray::create(v15); *(this + 134) = v16; v17 = (GameManager *)cocos2d::CCObject::retain(v16); *(this + 144) = *(cocos2d::CCPoint **)(GameManager::sharedState(v17) + 764); cocos2d::CCRect::CCRect((cocos2d::CCRect *)&v234, 0.0, 0.0, 80.0, 80.0); v18 = cocos2d::extension::CCScale9Sprite::create("GJ_square01.png", &v234); v19 = *(void (__fastcall **)(int, int *))(*(_DWORD *)v18 + 160); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v234, 390.0, 310.0); v19(v18, &v234); (*(void (__fastcall **)(_DWORD, int, int))(*(_DWORD *)*(this + 115) + 232))(*(this + 115), v18, -2); v20 = *(void (__fastcall **)(int, int *))(*(_DWORD *)v18 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v234, v179 * 0.5, v180 * 0.5); v20(v18, &v234); cocos2d::CCRect::CCRect((cocos2d::CCRect *)&v234, 0.0, 0.0, 80.0, 80.0); v166 = (cocos2d::CCPoint *)cocos2d::extension::CCScale9Sprite::create("square02_001.png", &v234); (*(void (__fastcall **)(cocos2d::CCPoint *, int))(*(_DWORD *)v166 + 456))(v166, 50); v21 = *(void (__fastcall **)(cocos2d::CCPoint *, int *))(*(_DWORD *)v166 + 160); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v234, 360.0, 68.0); v21(v166, &v234); (*(void (__fastcall **)(_DWORD, cocos2d::CCPoint *, int))(*(_DWORD *)*(this + 115) + 232))(*(this + 115), v166, -1); v22 = *(void (__fastcall **)(cocos2d::CCPoint *, int *))(*(_DWORD *)v166 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v234, v179 * 0.5, (float)(v180 * 0.5) - 17.0); v22(v166, &v234); v24 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Editor L", "goldFont.fnt", v23); v25 = *(void (__fastcall **)(int, int *))(*(_DWORD *)v24 + 92); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v234, (float)(v179 * 0.5) - 125.0, (float)((float)(v180 * 0.5) + 155.0) - 16.0); v25(v24, &v234); (*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 115) + 228))(*(this + 115), v24); (*(void (__fastcall **)(int, int))(*(_DWORD *)v24 + 80))(v24, 1059481190); v27 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Editor L2", "goldFont.fnt", v26); v28 = *(void (__fastcall **)(int, int *))(*(_DWORD *)v27 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v234, v179 * 0.5, (float)((float)(v180 * 0.5) + 155.0) - 16.0); v28(v27, &v234); (*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 115) + 228))(*(this + 115), v27); (*(void (__fastcall **)(int, int))(*(_DWORD *)v27 + 80))(v27, 1059481190); v161 = (cocos2d::CCArray *)cocos2d::CCLabelBMFont::create( (cocos2d::CCLabelBMFont *)"Add Group ID", "goldFont.fnt", v29); v30 = *(void (__fastcall **)(cocos2d::CCArray *, int *))(*(_DWORD *)v161 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v234, v179 * 0.5, (float)(v180 * 0.5) + 80.0); v30(v161, &v234); (*(void (__fastcall **)(_DWORD, cocos2d::CCArray *))(*(_DWORD *)*(this + 115) + 228))(*(this + 115), v161); (*(void (__fastcall **)(cocos2d::CCArray *, int))(*(_DWORD *)v161 + 80))(v161, 1059481190); v168 = (char *)cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Z Order", "goldFont.fnt", v31); v32 = *(void (__fastcall **)(char *, int *))(*(_DWORD *)v168 + 92); v33 = (*(int (__fastcall **)(int))(*(_DWORD *)v24 + 96))(v24); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v220, 250.0, 0.0); cocos2d::CCPoint::operator+(&v234, v33, &v220); v32(v168, &v234); (*(void (__fastcall **)(_DWORD, char *))(*(_DWORD *)*(this + 115) + 228))(*(this + 115), v168); (*(void (__fastcall **)(char *, int))(*(_DWORD *)v168 + 80))(v168, 1059481190); v159 = (cocos2d::CCPoint *)cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Z Layer", "goldFont.fnt", v34); v35 = *(void (__fastcall **)(cocos2d::CCPoint *, int *))(*(_DWORD *)v159 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v234, v179 * 0.5, (float)(v180 * 0.5) - 64.0); v35(v159, &v234); (*(void (__fastcall **)(_DWORD, cocos2d::CCPoint *))(*(_DWORD *)*(this + 115) + 228))(*(this + 115), v159); v36 = (cocos2d::CCMenu *)(*(int (__fastcall **)(cocos2d::CCPoint *, int))(*(_DWORD *)v159 + 80))(v159, 1059481190); v37 = (cocos2d::CCPoint *)cocos2d::CCMenu::create(v36); *(this + 111) = v37; (*(void (__fastcall **)(_DWORD, cocos2d::CCPoint *, int))(*(_DWORD *)*(this + 115) + 232))(*(this + 115), v37, 10); *(this + 125) = (cocos2d::CCPoint *)-1; v38 = ButtonSprite::create( (ButtonSprite *)"OK", (const char *)&word_28, 0, 0.8, 1, "goldFont.fnt", "GJ_button_01.png", (const char *)0x41F00000, v152); v189 = 0; v188 = SetGroupIDLayer::onClose; v39 = CCMenuItemSpriteExtra::create((int)v38, 0, (int)this, (int)SetGroupIDLayer::onClose, 0); (*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 111) + 228))(*(this + 111), v39); v40 = (int)*(this + 111); v41 = *(void (__fastcall **)(int, int *))(*(_DWORD *)v40 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v234, v179 * 0.5, (float)((float)(v180 * 0.5) - 155.0) + 23.0); v41(v40, &v234); v43 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_plus2Btn_001.png", v42); (*(void (__fastcall **)(int, int))(*(_DWORD *)v43 + 80))(v43, 1061997773); v191 = 0; v190 = SetGroupIDLayer::onNextFreeEditorLayer1; v44 = CCMenuItemSpriteExtra::create(v43, 0, (int)this, (int)SetGroupIDLayer::onNextFreeEditorLayer1, 0); (*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 111) + 228))(*(this + 111), v44); v176 = *(this + 111); v171 = *(cocos2d::CCPoint **)(*(_DWORD *)v44 + 92); (*(void (__fastcall **)(int))(*(_DWORD *)v24 + 96))(v24); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)&v218, v176); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v220, 50.0, 0.0); cocos2d::CCPoint::operator+(&v234, &v218, &v220); ((void (__fastcall *)(int, int *))v171)(v44, &v234); v46 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_plus2Btn_001.png", v45); (*(void (__fastcall **)(int, int))(*(_DWORD *)v46 + 80))(v46, 1061997773); v193 = 0; v192 = SetGroupIDLayer::onNextFreeEditorLayer2; v47 = CCMenuItemSpriteExtra::create(v46, 0, (int)this, (int)SetGroupIDLayer::onNextFreeEditorLayer2, 0); (*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 111) + 228))(*(this + 111), v47); v48 = *(void (__fastcall **)(int, int *))(*(_DWORD *)v47 + 92); v172 = *(this + 111); (*(void (__fastcall **)(int))(*(_DWORD *)v27 + 96))(v27); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)&v218, v172); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v220, 54.0, 0.0); cocos2d::CCPoint::operator+(&v234, &v218, &v220); v48(v47, &v234); v50 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_optionsBtn_001.png", v49); (*(void (__fastcall **)(int, int))(*(_DWORD *)v50 + 80))(v50, 1051931443); v195 = 0; v194 = SetGroupIDLayer::onGroupIDOptions; v51 = CCMenuItemSpriteExtra::create(v50, 0, (int)this, (int)SetGroupIDLayer::onGroupIDOptions, 0); (*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 111) + 228))(*(this + 111), v51); v52 = *(void (__fastcall **)(int, int *))(*(_DWORD *)v51 + 92); v173 = *(this + 111); (*(void (__fastcall **)(cocos2d::CCArray *))(*(_DWORD *)v161 + 96))(v161); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)&v218, v173); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v220, 73.0, 0.0); cocos2d::CCPoint::operator+(&v234, &v218, &v220); v52(v51, &v234); v228 = 0; v229 = 0; v230 = 0; std::string::__init(&v228, "Help", 4u); v231 = 0; v232 = 0; v233 = nullptr; std::string::__init( &v231, "Add assigns up to 10 groups to the selected object(s).\n" " P sets a single object as group parent.\n" "Editor L1 and L2 places the object(s) on an editor layer.\n" "Z layer sets the draw layer of the object(s). T layers are above, while B layers are below the player.\n" "Z order sets the draw order of the object(s) within the Z layer.\n" "CH sets the channel of the object(s).\n" "ORD sets the order of the object(s).\n" "Extra has more advanced options.\n" "Preview makes touch toggled triggers preview in editor.\n" "Playback starts playback from this object.", 0x260u); v53 = (_DWORD *)InfoAlertButton::create((char *)&v228, (int)&v231, 1061997773); std::string::~string((int)&v231); std::string::~string((int)&v228); v53[104] = 1063675494; (*(void (__fastcall **)(_DWORD, _DWORD *))(*(_DWORD *)*(this + 111) + 228))(*(this + 111), v53); v54 = *(this + 111); v174 = *(cocos2d::CCPoint **)(*v53 + 92); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v220, (float)((float)(v179 * 0.5) + 195.0) - 17.0, (float)((float)(v180 * 0.5) + 155.0) - 17.0); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)&v234, v54); ((void (__fastcall *)(_DWORD *, int *))v174)(v53, &v234); v55 = (*(int (__fastcall **)(int))(*(_DWORD *)v24 + 96))(v24); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v220, 0.0, -30.0); cocos2d::CCPoint::operator+(&v234, v55, &v220); v231 = 0; v232 = 0; v233 = nullptr; std::string::__init(&v231, "L1", 2u); *(this + 135) = (cocos2d::CCPoint *)SetGroupIDLayer::createTextInput( (int)this, (int)&v234, &byte_5, 6, (int)&v231, (CCTextInputNode *)0x42480000, (_BYTE *)&dword_0 + 2); std::string::~string((int)&v231); v56 = (*(int (__fastcall **)(int))(*(_DWORD *)v27 + 96))(v27); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v220, 0.0, -30.0); cocos2d::CCPoint::operator+(&v234, v56, &v220); v231 = 0; v232 = 0; v233 = nullptr; std::string::__init(&v231, "L2", 2u); *(this + 136) = (cocos2d::CCPoint *)SetGroupIDLayer::createTextInput( (int)this, (int)&v234, &byte_6, (int)&byte_6, (int)&v231, (CCTextInputNode *)0x42480000, (_BYTE *)&dword_0 + 3); std::string::~string((int)&v231); v57 = (*(int (__fastcall **)(cocos2d::CCArray *))(*(_DWORD *)v161 + 96))(v161); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v234, -80.0, -31.0); cocos2d::CCPoint::operator+(v181, v57, &v234); v231 = 0; v232 = 0; v233 = nullptr; std::string::__init(&v231, &unk_B6B226, 0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v234, (const cocos2d::CCPoint *)v181); *(this + 161) = (cocos2d::CCPoint *)IDNameInput::create( (int)this, (int)(this + 110), 1, 1, (int)&v231, (int)&v234, 1.0, (int)&byte_6, 0, 0, 0); std::string::~string((int)&v231); *(this + 138) = *((cocos2d::CCPoint **)*(this + 161) + 75); v58 = -20.0; if ( !a2 ) v58 = 0.0; v59 = ButtonSprite::create( (ButtonSprite *)"Add", (const char *)&word_32, 0, 0.7, 1, "goldFont.fnt", "GJ_button_04.png", COERCE_CONST_CHAR_(25.0), v153); v197 = 0; v196 = SetGroupIDLayer::onAddGroup; v60 = CCMenuItemSpriteExtra::create((int)v59, 0, (int)this, (int)SetGroupIDLayer::onAddGroup, 0); (*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 111) + 228))(*(this + 111), v60); v162 = *(cocos2d::CCArray **)(*(_DWORD *)v60 + 92); v175 = *(this + 111); v61 = (float)(v179 * 0.5) + 85.0; v62 = (*(int (__fastcall **)(_DWORD))(*(_DWORD *)*(this + 138) + 96))(*(this + 138)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v220, v61 + v58, *(float *)(v62 + 4)); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)&v234, v175); ((void (__fastcall *)(int, int *))v162)(v60, &v234); if ( a2 ) { v63 = ButtonSprite::create( (ButtonSprite *)"P", (const char *)&word_32, 0, 0.7, 0, "goldFont.fnt", "GJ_button_04.png", COERCE_CONST_CHAR_(25.0), v154); v199 = 0; v198 = SetGroupIDLayer::onAddGroupParent; v64 = CCMenuItemSpriteExtra::create((int)v63, 0, (int)this, (int)SetGroupIDLayer::onAddGroupParent, 0); (*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 111) + 228))(*(this + 111), v64); v65 = *(void (__fastcall **)(int, int *))(*(_DWORD *)v64 + 92); v66 = (*(int (__fastcall **)(int))(*(_DWORD *)v60 + 96))(v60); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v220, 60.0, 0.0); cocos2d::CCPoint::operator+(&v234, v66, &v220); v65(v64, &v234); } v67 = (*(int (__fastcall **)(char *))(*(_DWORD *)v168 + 96))(v168); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v220, 0.0, -30.0); cocos2d::CCPoint::operator+(&v234, v67, &v220); v231 = 0; v232 = 0; v233 = nullptr; std::string::__init(&v231, "Z", 1u); *(this + 137) = (cocos2d::CCPoint *)SetGroupIDLayer::createTextInput( (int)this, (int)&v234, &byte_7, 6, (int)&v231, (CCTextInputNode *)0x42480000, (_BYTE *)&dword_0 + 2); std::string::~string((int)&v231); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v234, 360.0, 68.0); v71 = ScrollableContentLayer::create((const cocos2d::CCSize *)&v234, v68, v69, v70); v72 = 0; *(this + 158) = (cocos2d::CCPoint *)v71; v73 = v71; v74 = *(void (__fastcall **)(int *, int *))(*v71 + 92); v75 = (*(int (__fastcall **)(cocos2d::CCPoint *))(*(_DWORD *)v166 + 96))(v166); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v220, 180.0, 34.0); cocos2d::CCPoint::operator-(&v234, v75, &v220); v74(v73, &v234); v76 = (cocos2d::CCMenu *)(*(int (__fastcall **)(_DWORD, _DWORD, _DWORD))(*(_DWORD *)*(this + 115) + 232))( *(this + 115), *(this + 158), 0); v77 = (cocos2d::CCPoint *)cocos2d::CCMenu::create(v76); *(this + 159) = v77; (*(void (__fastcall **)(cocos2d::CCPoint *, void *))(*(_DWORD *)v77 + 148))(v77, &unk_D2CF30); (*(void (__fastcall **)(_DWORD, void *))(*(_DWORD *)*(this + 159) + 160))(*(this + 159), &unk_D2CF38); v78 = -5; (*(void (__fastcall **)(_DWORD, void *))(*(_DWORD *)*(this + 159) + 92))(*(this + 159), &unk_D2CF30); v79 = (cocos2d::CCArray *)(*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)*(this + 158) + 80) + 228))( *((_DWORD *)*(this + 158) + 80), *(this + 159)); v80 = (cocos2d::CCArray *)cocos2d::CCArray::create(v79); v81 = "T4"; v163 = v80; v82 = "B5"; while ( 1 ) { v83 = 0; ++v72; v178 = (char *)v81; v84 = ButtonSprite::create( (ButtonSprite *)v82, (const char *)off_DC, 0, 0.3, 0, "bigFont.fnt", "GJ_button_04.png", COERCE_CONST_CHAR_(25.0), v154); cocos2d::CCArray::addObject(*(this + 133), v84); v201 = 0; v200 = SetGroupIDLayer::onZLayer; v177 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create((int)v84, 0, (int)this, (int)SetGroupIDLayer::onZLayer, 0); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v177 + 36))(v177, v78); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v84 + 36))(v84, v78); (*(void (__fastcall **)(_DWORD, cocos2d::CCObject *))(*(_DWORD *)*(this + 111) + 228))(*(this + 111), v177); cocos2d::CCArray::addObject(v163, v177); v81 = v178; if ( v72 == 10 ) break; switch ( v72 ) { case 1: v78 = -3; v82 = "B4"; break; case 2: v78 = -1; v82 = "B3"; break; case 3: v78 = 1; v82 = "B2"; break; case 4: v78 = 3; v82 = "B1"; break; case 5: v78 = 5; v82 = "T1"; break; case 6: v78 = 7; v82 = "T2"; break; case 7: v78 = 9; v82 = "T3"; break; case 8: v78 = 11; v82 = v178; break; default: v78 = 0; v82 = "Default"; break; } } v85 = *(this + 111); v86 = (*(int (__fastcall **)(cocos2d::CCPoint *))(*(_DWORD *)v159 + 96))(v159); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v218, 0.0, -28.0); cocos2d::CCPoint::operator+(&v220, v86, &v218); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)&v234, v85); GameToolbox::alignItemsHorisontally(*(float *)&v163, 5.0, (int)&v234, 0); SetGroupIDLayer::determineStartValues((SetGroupIDLayer *)this); if ( *(this + 150) == (cocos2d::CCPoint *)-100 && (v87 = *(this + 132)) != nullptr && cocos2d::CCArray::count(v87) ) { v88 = "-"; while ( 1 ) { v231 = 0; v232 = 0; v233 = nullptr; std::string::__init(&v231, v88, 1u); v90 = (const cocos2d::CCPoint *)cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"GJ_colorBtn_001.png", v89); v91 = v90; v92 = v83 ? &unk_BEEF9B : &unk_BEEF98; (*(void (__fastcall **)(const cocos2d::CCPoint *, void *))(*(_DWORD *)v90 + 480))(v90, v92); (*(void (__fastcall **)(const cocos2d::CCPoint *, int))(*(_DWORD *)v91 + 456))(v91, 100); v94 = (v231 & 1) != 0 ? v233 : (cocos2d::CCLabelBMFont *)((char *)&v231 + 1); v95 = cocos2d::CCLabelBMFont::create(v94, "bigFont.fnt", v93); (*(void (__fastcall **)(const cocos2d::CCPoint *, int))(*(_DWORD *)v91 + 228))(v91, v95); (*(void (__fastcall **)(int, int))(*(_DWORD *)v95 + 80))(v95, 1068708659); v164 = *(cocos2d::CCArray **)(*(_DWORD *)v95 + 92); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)&v218, v91); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v220, 2.0, 2.5); cocos2d::CCPoint::operator+(&v234, &v218, &v220); ((void (__fastcall *)(int, int *))v164)(v95, &v234); (*(void (__fastcall **)(const cocos2d::CCPoint *, int))(*(_DWORD *)v91 + 80))(v91, 1050253722); v203 = 0; v202 = SetGroupIDLayer::onZLayerShift; v96 = CCMenuItemSpriteExtra::create((int)v91, 0, (int)this, (int)SetGroupIDLayer::onZLayerShift, 0); (*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 111) + 228))(*(this + 111), v96); (*(void (__fastcall **)(int, int))(*(_DWORD *)v96 + 36))(v96, v83); v165 = *(cocos2d::CCArray **)(*(_DWORD *)v96 + 92); v167 = *(this + 111); v169 = (char *)(*(int (__fastcall **)(cocos2d::CCPoint *))(*(_DWORD *)v159 + 96))(v159); v97 = v83 ? 40.0 : -40.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v218, v97, -2.0); cocos2d::CCPoint::operator+(&v220, v169, &v218); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)&v234, v167); ((void (__fastcall *)(int, int *))v165)(v96, &v234); CCMenuItemSpriteExtra::setSizeMult(v96, 2.0); std::string::~string((int)&v231); v88 = "+"; if ( v83 ) break; v83 = 1; } v98 = 55.0; } else { v98 = 40.0; } v99 = *(this + 131); if ( v99 ) { ParentMode = GameObject::getParentMode(v99); LABEL_46: if ( ParentMode == -1 ) { CString = "(-)"; } else { v104 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"(%i)", (const char *)ParentMode); CString = (const char *)cocos2d::CCString::getCString(v104); } goto LABEL_49; } if ( *(this + 132) ) { v101 = (unsigned int)*(this + 131); ParentMode = -1; while ( v101 < cocos2d::CCArray::count(*(this + 132)) ) { v102 = (GameObject *)cocos2d::CCArray::objectAtIndex(*(this + 132), v101); if ( ParentMode == -1 ) { v103 = GameObject::getParentMode(v102); } else { v103 = GameObject::getParentMode(v102); if ( ParentMode != v103 ) goto LABEL_63; } ++v101; ParentMode = v103; } goto LABEL_46; } LABEL_63: CString = "(-)"; LABEL_49: v222[0] = 0; v222[1] = 0; v223 = nullptr; v106 = strlen(CString); std::string::__init(v222, CString, v106); if ( (v222[0] & 1) != 0 ) v108 = v223; else v108 = (cocos2d::CCLabelBMFont *)((char *)v222 + 1); v109 = cocos2d::CCLabelBMFont::create(v108, "chatFont.fnt", v107); v110 = *(void (__fastcall **)(int, int *))(*(_DWORD *)v109 + 92); v111 = (*(int (__fastcall **)(cocos2d::CCPoint *))(*(_DWORD *)v159 + 96))(v159); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v220, v98, -2.0); cocos2d::CCPoint::operator+(&v234, v111, &v220); v110(v109, &v234); (*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 115) + 228))(*(this + 115), v109); (*(void (__fastcall **)(int, int))(*(_DWORD *)v109 + 80))(v109, 1058642330); (*(void (__fastcall **)(int, void *))(*(_DWORD *)v109 + 536))(v109, &unk_BEEF9E); if ( *((_BYTE *)this + 564) ) { cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v214, (float)(v179 * 0.5) - 125.0, (float)((float)(v180 * 0.5) - 155.0) + 25.0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v216, (float)(v179 * 0.5) + 125.0, v215); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v234, (const cocos2d::CCPoint *)&v214); memset(v224, 0, sizeof(v224)); std::string::__init(v224, "ORD", 3u); *(this + 139) = (cocos2d::CCPoint *)SetGroupIDLayer::createTextInput( (int)this, (int)&v234, (char *)&dword_0 + 3, 6, (int)v224, (CCTextInputNode *)0x42480000, (_BYTE *)&dword_0 + 2); std::string::~string((int)v224); SetGroupIDLayer::updateEditorOrderLabel((SetGroupIDLayer *)this, v112, v113, v114); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v234, (const cocos2d::CCPoint *)&v216); memset(v225, 0, sizeof(v225)); std::string::__init(v225, "CH", 2u); *(this + 140) = (cocos2d::CCPoint *)SetGroupIDLayer::createTextInput( (int)this, (int)&v234, byte_4, 6, (int)v225, (CCTextInputNode *)0x42480000, (_BYTE *)&dword_0 + 2); std::string::~string((int)v225); SetGroupIDLayer::updateOrderChannelLabel((SetGroupIDLayer *)this, v115, v116, v117); v119 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_plus2Btn_001.png", v118); (*(void (__fastcall **)(int, int))(*(_DWORD *)v119 + 80))(v119, 1061997773); v205 = 0; v204 = SetGroupIDLayer::onNextFreeOrderChannel; v120 = CCMenuItemSpriteExtra::create(v119, 0, (int)this, (int)SetGroupIDLayer::onNextFreeOrderChannel, 0); (*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 111) + 228))(*(this + 111), v120); v121 = *(void (__fastcall **)(int, int *))(*(_DWORD *)v120 + 92); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)&v218, *(this + 111)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v220, -75.0, 0.0); cocos2d::CCPoint::operator+(&v234, &v218, &v220); v121(v120, &v234); } SetGroupIDLayer::updateGroupIDLabel((SetGroupIDLayer *)this); SetGroupIDLayer::updateEditorLabel((SetGroupIDLayer *)this); SetGroupIDLayer::updateEditorLabel2((SetGroupIDLayer *)this); SetGroupIDLayer::updateZOrderLabel((SetGroupIDLayer *)this); SetGroupIDLayer::updateZLayerButtons(this); SetGroupIDLayer::updateGroupIDButtons(this); v122 = *(this + 111); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v234, (float)(v179 * 0.5) + 217.0, (float)(v180 * 0.5) + 142.0); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v182, v122); v123 = ButtonSprite::create( (ButtonSprite *)"Copy", (const char *)&dword_14, 0, 0.5, 1, "goldFont.fnt", "GJ_button_04.png", COERCE_CONST_CHAR_(25.0), v154); v124 = ButtonSprite::create( (ButtonSprite *)"Paste", (const char *)&dword_14, 0, 0.5, 1, "goldFont.fnt", "GJ_button_04.png", COERCE_CONST_CHAR_(25.0), v155); v125 = ButtonSprite::create( (ButtonSprite *)"Extra", (const char *)&dword_14, 0, 0.5, 1, "goldFont.fnt", "GJ_button_04.png", COERCE_CONST_CHAR_(25.0), v156); v126 = ButtonSprite::create( (ButtonSprite *)"Extra2", (const char *)&dword_14, 0, 0.5, 1, "goldFont.fnt", "GJ_button_04.png", COERCE_CONST_CHAR_(25.0), v157); v127 = ButtonSprite::create( (ButtonSprite *)"Anim", (const char *)&dword_14, 0, 0.5, 1, "goldFont.fnt", "GJ_button_04.png", COERCE_CONST_CHAR_(25.0), v158); v207 = 0; v206 = SetGroupIDLayer::onCopy; v128 = CCMenuItemSpriteExtra::create((int)v123, 0, (int)this, (int)SetGroupIDLayer::onCopy, 0); v209 = 0; v208 = SetGroupIDLayer::onPaste; v129 = CCMenuItemSpriteExtra::create((int)v124, 0, (int)this, (int)SetGroupIDLayer::onPaste, 0); v211 = 0; v210 = SetGroupIDLayer::onExtra; v130 = CCMenuItemSpriteExtra::create((int)v125, 0, (int)this, (int)SetGroupIDLayer::onExtra, 0); v213 = 0; v212 = SetGroupIDLayer::onExtra2; v131 = CCMenuItemSpriteExtra::create((int)v126, 0, (int)this, (int)SetGroupIDLayer::onExtra2, 0); v215 = 0.0; v214 = SetGroupIDLayer::onAnim; v132 = (GameManager *)CCMenuItemSpriteExtra::create((int)v127, 0, (int)this, (int)SetGroupIDLayer::onAnim, 0); v133 = v132; v134 = a2; if ( a2 ) v134 = (GameObject *)(&dword_0 + 1); if ( v134 ) { (*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 111) + 228))(*(this + 111), v128); (*(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v128 + 92))(v128, v182); LABEL_69: (*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 111) + 228))(*(this + 111), v129); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v218, (const cocos2d::CCPoint *)v182); if ( v134 ) { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v220, 0.0, -31.0); cocos2d::CCPoint::operator+(&v234, &v218, &v220); cocos2d::CCPoint::operator=(&v218, &v234); } (*(void (__fastcall **)(int, int (__fastcall **)(SetGroupIDLayer *, cocos2d::CCObject *)))(*(_DWORD *)v129 + 92))( v129, &v218); goto LABEL_59; } v135 = GameManager::sharedState(v132); if ( LevelEditorLayer::canPasteState(*(LevelEditorLayer **)(v135 + 408)) ) goto LABEL_69; LABEL_59: (*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 111) + 228))(*(this + 111), v130); v136 = *(void (__fastcall **)(int, int *))(*(_DWORD *)v130 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v220, 0.0, -62.0); cocos2d::CCPoint::operator+(&v234, v182, &v220); v136(v130, &v234); (*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 111) + 228))(*(this + 111), v131); v137 = *(void (__fastcall **)(int, int *))(*(_DWORD *)v131 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v220, 0.0, -93.0); cocos2d::CCPoint::operator+(&v234, v182, &v220); v137(v131, &v234); (*(void (__fastcall **)(_DWORD, GameManager *))(*(_DWORD *)*(this + 111) + 228))(*(this + 111), v133); v138 = *(void (__fastcall **)(GameManager *, int *))(*(_DWORD *)v133 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v220, 0.0, -124.0); cocos2d::CCPoint::operator+(&v234, v182, &v220); v138(v133, &v234); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v183, 0.0, 2.0); v139 = (GameManager *)cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v184, (float)(v179 * 0.5) + 217.0, (float)((float)(v180 * 0.5) + 142.0) - 164.0); if ( v134 ) { if ( *((_DWORD *)a2 + 271) == 1 ) { v139 = (GameManager *)GameManager::sharedState(v139); if ( *((_DWORD *)v139 + 102) ) { memset(v226, 0, sizeof(v226)); std::string::__init(v226, "Preview", 7u); v141 = *(this + 111); v217 = 0; v216 = SetGroupIDLayer::onToggleGuide; v142 = *((unsigned __int8 *)a2 + 1584); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v218, 0.0, -0.0); cocos2d::CCPoint::operator+(&v220, v184, &v218); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v234, (const cocos2d::CCPoint *)v183); GameToolbox::createToggleButton( (int)v226, (int)v216, v217, v142, v141, (int)&v220, (int)this, (int)this, 0.7, 0.3, 80.0, (int)&v234, "goldFont.fnt", 1, 0, nullptr); v143 = (GameManager *)std::string::~string((int)v226); v144 = *(GameObject **)(*(_DWORD *)(GameManager::sharedState(v143) + 408) + 12212); memset(v227, 0, sizeof(v227)); std::string::__init(v227, "Playback", 8u); v145 = *(this + 111); v219 = 0; v218 = SetGroupIDLayer::onToggleSelectedOrder; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v187, 0.0, -38.0); cocos2d::CCPoint::operator+(&v220, v184, v187); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v234, (const cocos2d::CCPoint *)v183); GameToolbox::createToggleButton( (int)v227, (int)v218, v219, v144 == a2, v145, (int)&v220, (int)this, (int)this, 0.7, 0.3, 80.0, (int)&v234, "goldFont.fnt", 1, 0, nullptr); v146 = (GameManager *)std::string::~string((int)v227); v147 = *(GameObject **)(*(_DWORD *)(GameManager::sharedState(v146) + 408) + 12220); v228 = 0; v229 = 0; v230 = 0; std::string::__init(&v228, "Trace Out", 9u); v221 = 0; v148 = *(this + 111); v220 = SetGroupIDLayer::onToggleTraceOut; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v186, 0.0, -76.0); cocos2d::CCPoint::operator+(v187, v184, v186); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v234, (const cocos2d::CCPoint *)v183); GameToolbox::createToggleButton( (int)&v228, (int)v220, v221, v147 == a2, v148, (int)v187, (int)this, (int)this, 0.7, 0.3, 80.0, (int)&v234, "goldFont.fnt", 1, 0, nullptr); v139 = (GameManager *)std::string::~string((int)&v228); } } v149 = (GameManager *)GameManager::sharedState(v139); if ( *((_DWORD *)v149 + 102) ) { v150 = *(GameObject **)(*(_DWORD *)(GameManager::sharedState(v149) + 408) + 12216); v231 = 0; v232 = 0; v233 = nullptr; std::string::__init(&v231, "Trace In", 8u); v151 = *(this + 111); v235 = 0; v234 = (int)SetGroupIDLayer::onToggleTraceIn; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v185, 0.0, -114.0); cocos2d::CCPoint::operator+(v186, v184, v185); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v187, (const cocos2d::CCPoint *)v183); GameToolbox::createToggleButton( (int)&v231, v234, v235, v150 == a2, v151, (int)v186, (int)this, (int)this, 0.7, 0.3, 80.0, (int)v187, "goldFont.fnt", 1, 0, nullptr); std::string::~string((int)&v231); } } *((_BYTE *)this + 609) = 0; std::string::~string((int)v222); return v170; }
GD Web Decomp Icon

GD Web Decomp

Raw Source