// // GJBaseGameLayer::init from 0x5b4a50 to 0x5b5508 (2744 bytes) // // 2 xrefs: // > PlayLayer::init @ 0x40adb2 // > LevelEditorLayer::init @ 0x475b2e // // 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:53:36 +0000 // GameObject *__fastcall GJBaseGameLayer::init(GJBaseGameLayer *this) { GameObject *v2; // r0 GameObject *v3; // r7 int v4; // r8 cocos2d::CCNode *v5; // r0 cocos2d::CCArray *v6; // r0 cocos2d::CCObject *v7; // r0 cocos2d::CCArray *v8; // r0 cocos2d::CCObject *v9; // r0 cocos2d::CCArray *v10; // r0 cocos2d::CCObject *v11; // r0 GameManager *v12; // r0 GameManager *v13; // r0 GameManager *v14; // r0 GameManager *v15; // r0 GameManager *GameVariable; // r0 GameManager *v17; // r0 GameManager *v18; // r0 GameManager *v19; // r0 GameManager *v20; // r0 GameManager *v21; // r0 cocos2d::CCArray *v22; // r0 cocos2d::CCObject *v23; // r0 cocos2d::CCNode *v24; // r0 int v25; // r0 int v26; // r3 cocos2d::CCNode *v27; // r0 int v28; // r0 cocos2d::CCNode *v29; // r0 int v30; // r0 cocos2d::CCNode *v31; // r0 int v32; // r0 cocos2d::CCNode *v33; // r0 int v34; // r0 cocos2d::CCNode *v35; // r0 int v36; // r0 int v37; // r3 cocos2d::CCNode *v38; // r0 int v39; // r0 int v40; // r3 cocos2d::CCNode *v41; // r0 int v42; // r0 int v43; // r3 cocos2d::CCNode *v44; // r0 int v45; // r0 cocos2d::CCDictionary *v46; // r0 cocos2d::CCObject *v47; // r0 cocos2d::CCDictionary *v48; // r0 cocos2d::CCObject *v49; // r0 cocos2d::CCArray *v50; // r0 cocos2d::CCObject *v51; // r0 cocos2d::CCArray *v52; // r0 cocos2d::CCObject *v53; // r0 unsigned int v54; // r1 cocos2d::CCObject *v55; // r0 int *v56; // r0 int *v57; // r0 GJEffectManager *v58; // r0 cocos2d::CCObject *v59; // r0 cocos2d::CCArray *v60; // r0 cocos2d::CCObject *v61; // r0 cocos2d::CCArray *v62; // r0 cocos2d::CCObject *v63; // r0 cocos2d::CCDictionary *v64; // r0 cocos2d::CCObject *v65; // r0 cocos2d::CCNode *v66; // r0 cocos2d::CCObject *v67; // r0 cocos2d::CCDictionary *v68; // r0 cocos2d::CCObject *v69; // r0 cocos2d::CCDictionary *v70; // r0 cocos2d::CCObject *v71; // r0 cocos2d::CCDictionary *v72; // r0 cocos2d::CCObject *v73; // r0 cocos2d::CCDictionary *v74; // r0 cocos2d::CCObject *v75; // r0 cocos2d::CCDictionary *v76; // r0 cocos2d::CCObject *v77; // r0 cocos2d::CCDictionary *v78; // r0 cocos2d::CCObject *v79; // r0 cocos2d::CCDictionary *v80; // r0 cocos2d::CCObject *v81; // r0 cocos2d::CCDictionary *v82; // r0 cocos2d::CCObject *v83; // r0 GJBaseGameLayer *v84; // r12 __int64 v85; // r0 cocos2d::CCNode *v86; // r0 int v87; // r0 const cocos2d::CCPoint *v88; // r2 cocos2d::CCEaseInOut *v89; // r0 float v90; // r2 cocos2d::CCSequence *v91; // r8 const cocos2d::CCPoint *v92; // r2 cocos2d::CCEaseInOut *v93; // r0 float v94; // r2 cocos2d::CCFiniteTimeAction *v95; // r0 cocos2d::CCNode *v96; // r4 cocos2d::CCRepeatForever *v97; // r0 cocos2d::CCActionInterval *v98; // r1 cocos2d::CCAction *v99; // r0 cocos2d::CCDictionary *v100; // r0 cocos2d::CCObject *v101; // r0 cocos2d::CCDictionary *v102; // r0 cocos2d::CCObject *v103; // r0 cocos2d::CCDictionary *v104; // r0 cocos2d::CCObject *v105; // r0 cocos2d::CCDictionary *v106; // r0 cocos2d::CCObject *v107; // r0 cocos2d::CCArray *v108; // r0 cocos2d::CCObject *v109; // r0 cocos2d::CCArray *v110; // r0 cocos2d::CCObject *v111; // r0 AppDelegate *v112; // r0 AppDelegate *v113; // r0 GJBaseGameLayer *v114; // r1 cocos2d::CCLayerColor *v115; // r0 char *v116; // r0 cocos2d::CCPoint *v117; // r9 void *v118; // r4 cocos2d::CCPoint *v119; // r8 GameManager *v120; // r0 GameManager *v121; // r0 int v122; // r0 _QWORD v124[135]; // [sp+8h] [bp-444h] BYREF v2 = (GameObject *)cocos2d::CCLayer::init(this); v3 = v2; if ( v2 ) { GameObject::resetMID(v2); dword_D2C430 = 0; memset(v124, 0, sizeof(v124)); LODWORD(v124[0]) = 1.0; HIDWORD(v124[0]) = 1.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[1]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[2]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[3]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[4]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[5]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[6]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[7]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[8]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[9]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[10]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[11]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[12]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[13]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[14]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[15]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[16]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[17]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[18]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[19]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[20]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[21]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[22]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[23]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[24]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[25]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[26]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[27]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[28]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[29]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[30]); LOBYTE(v124[31]) = 0; HIDWORD(v124[31]) = 0; LOBYTE(v124[32]) = 0; HIDWORD(v124[32]) = 0; LOBYTE(v124[33]) = 0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)((char *)&v124[33] + 4)); HIDWORD(v124[34]) = 0; v124[37] = 1092616192; HIDWORD(v124[36]) = 1056964608; v124[47] = 1056964608; HIDWORD(v124[45]) = 1036831949; v124[46] = 0x3E99999A3DCCCCCDLL; memset(&v124[35], 0, 10); memset(&v124[38], 0, 24); v124[41] = COERCE_UNSIGNED_INT(1.0); LODWORD(v124[42]) = 0; BYTE4(v124[42]) = 0; memset(&v124[43], 0, 19); LODWORD(v124[48]) = 0; BYTE4(v124[48]) = 1; v124[49] = COERCE_UNSIGNED_INT(1.0); memset(&v124[57], 0, 64); HIDWORD(v124[53]) = 1.0; memset(&v124[54], 0, 16); LODWORD(v124[56]) = 1.0; memset(&v124[51], 0, 20); v124[50] = COERCE_UNSIGNED_INT(1.0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[65]); memset(&v124[68], 0, 16); v124[70] = COERCE_UNSIGNED_INT(1.0); HIDWORD(v124[74]) = 1.0; memset(&v124[75], 0, 24); LOBYTE(v124[66]) = 0; HIDWORD(v124[66]) = 0; LOWORD(v124[67]) = 0; BYTE2(v124[67]) = 0; HIDWORD(v124[67]) = 0; memset(&v124[71], 0, 28); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[78]); memset(&v124[81], 0, 12); HIDWORD(v124[80]) = &v124[81]; memset(&v124[79], 0, 9); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)((char *)&v124[82] + 4)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)((char *)&v124[83] + 4)); WORD2(v124[84]) = 0; BYTE6(v124[84]) = 0; LODWORD(v124[85]) = 0; WORD2(v124[85]) = 0; memset(&v124[86], 0, 12); v124[88] = 0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v124[89]); memset(&v124[90], 0, 20); LODWORD(v124[93]) = (char *)&v124[93] + 4; HIDWORD(v124[94]) = &v124[95]; HIDWORD(v124[92]) = 1.0; HIDWORD(v124[93]) = 0; LODWORD(v124[94]) = 0; memset(&v124[95], 0, 24); v124[98] = COERCE_UNSIGNED_INT(1.0); memset(&v124[99], 0, 12); HIDWORD(v124[100]) = 1.0; memset(&v124[101], 0, 100); HIDWORD(v124[113]) = 1.0; LOBYTE(v124[114]) = 0; HIDWORD(v124[114]) = 0; memset(&v124[115], 0, 34); HIDWORD(v124[119]) = 0; memset(&v124[120], 0, 16); v124[122] = __PAIR64__(&v124[123], 1.0); memset(&v124[123], 0, 24); v124[126] = COERCE_UNSIGNED_INT(1.0); memset(&v124[127], 0, 12); HIDWORD(v124[128]) = 1.0; memset(&v124[129], 0, 13); memset(&v124[131], 0, 13); LODWORD(v124[133]) = 0; BYTE4(v124[133]) = 0; v124[134] = 0; GJGameState::operator=((int)this + 328, (int *)v124); GJGameState::~GJGameState((GJGameState *)v124); *((_DWORD *)this + 2868) = 0; *((_DWORD *)this + 2869) = 0; *((_DWORD *)this + 2870) = 0; *((_DWORD *)this + 2871) = 0; *((_DWORD *)this + 2872) = 0; *((_DWORD *)this + 2873) = 0; *((_DWORD *)this + 2874) = 0; *((_DWORD *)this + 2875) = 0; *((_DWORD *)this + 2876) = 0; *((_DWORD *)this + 2877) = 0; *((_DWORD *)this + 2878) = 0; *((_DWORD *)this + 2879) = 0; *((_DWORD *)this + 2880) = 0; *((_DWORD *)this + 2881) = 0; *((_DWORD *)this + 2882) = 0; *((_DWORD *)this + 2883) = 0; *((_DWORD *)this + 2884) = 0; *((_DWORD *)this + 2885) = 0; *((_DWORD *)this + 2886) = 0; *((_DWORD *)this + 2887) = 0; *((_DWORD *)this + 2888) = 0; *((_DWORD *)this + 2889) = 0; *((_DWORD *)this + 2890) = 0; *((_DWORD *)this + 2891) = 0; *((_DWORD *)this + 2856) = 1008981770; v4 = 0; *((_DWORD *)this + 2857) = 1008981770; std::vector::reserve((_DWORD *)this + 2685, 0x64u); std::vector::reserve((_DWORD *)this + 2690, 0x64u); v6 = (cocos2d::CCArray *)cocos2d::CCNode::resetGlobalOrderOfArrival(v5); v7 = (cocos2d::CCObject *)cocos2d::CCArray::create(v6); *((_DWORD *)this + 2681) = v7; v8 = (cocos2d::CCArray *)cocos2d::CCObject::retain(v7); v9 = (cocos2d::CCObject *)cocos2d::CCArray::create(v8); *((_DWORD *)this + 2796) = v9; v10 = (cocos2d::CCArray *)cocos2d::CCObject::retain(v9); v11 = (cocos2d::CCObject *)cocos2d::CCArray::create(v10); *((_DWORD *)this + 2797) = v11; v12 = (GameManager *)cocos2d::CCObject::retain(v11); v13 = (GameManager *)GameManager::sharedState(v12); v14 = (GameManager *)(GameManager::getGameVariable(v13, "0129") ^ 1); *((_BYTE *)this + 11141) = (_BYTE)v14; v15 = (GameManager *)GameManager::sharedState(v14); GameVariable = (GameManager *)GameManager::getGameVariable(v15, "0130"); *((_BYTE *)this + 11142) = (_BYTE)GameVariable; v17 = (GameManager *)GameManager::sharedState(GameVariable); v18 = (GameManager *)GameManager::getGameVariable(v17, "0136"); *((_BYTE *)this + 1433) = (_BYTE)v18; v19 = (GameManager *)GameManager::sharedState(v18); v20 = (GameManager *)GameManager::getGameVariable(v19, "0176"); *((_BYTE *)this + 11666) = (_BYTE)v20; v21 = (GameManager *)GameManager::sharedState(v20); v22 = (cocos2d::CCArray *)GameManager::getGameVariable(v21, "0177"); *((_BYTE *)this + 11665) = (_BYTE)v22; v23 = (cocos2d::CCObject *)cocos2d::CCArray::create(v22); *((_DWORD *)this + 2786) = v23; v24 = (cocos2d::CCNode *)cocos2d::CCObject::retain(v23); v25 = cocos2d::CCNode::create(v24); v26 = *(_DWORD *)this; *((_DWORD *)this + 367) = v25; v27 = (cocos2d::CCNode *)(*(int (__fastcall **)(GJBaseGameLayer *, int))(v26 + 228))(this, v25); v28 = cocos2d::CCNode::create(v27); *((_DWORD *)this + 368) = v28; v29 = (cocos2d::CCNode *)(*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 367) + 228))( *((_DWORD *)this + 367), v28); v30 = cocos2d::CCNode::create(v29); *((_DWORD *)this + 369) = v30; v31 = (cocos2d::CCNode *)(*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 368) + 228))( *((_DWORD *)this + 368), v30); v32 = cocos2d::CCNode::create(v31); *((_DWORD *)this + 370) = v32; v33 = (cocos2d::CCNode *)(*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 369) + 228))( *((_DWORD *)this + 369), v32); v34 = cocos2d::CCNode::create(v33); *((_DWORD *)this + 371) = v34; v35 = (cocos2d::CCNode *)(*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 367) + 228))( *((_DWORD *)this + 367), v34); v36 = cocos2d::CCNode::create(v35); v37 = *(_DWORD *)this; *((_DWORD *)this + 606) = v36; v38 = (cocos2d::CCNode *)(*(int (__fastcall **)(GJBaseGameLayer *, int, int))(v37 + 232))(this, v36, -1); v39 = cocos2d::CCNode::create(v38); v40 = *(_DWORD *)this; *((_DWORD *)this + 607) = v39; (*(void (__fastcall **)(GJBaseGameLayer *, int, int))(v40 + 232))(this, v39, 1); v41 = (cocos2d::CCNode *)(*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 607) + 172))( *((_DWORD *)this + 607), 0); v42 = cocos2d::CCNode::create(v41); v43 = *(_DWORD *)this; *((_DWORD *)this + 608) = v42; (*(void (__fastcall **)(GJBaseGameLayer *, int, int))(v43 + 232))(this, v42, 2); v44 = (cocos2d::CCNode *)(*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 608) + 172))( *((_DWORD *)this + 608), 0); v45 = cocos2d::CCNode::create(v44); *((_DWORD *)this + 2698) = v45; (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 606) + 228))(*((_DWORD *)this + 606), v45); v46 = (cocos2d::CCDictionary *)(*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 2698) + 172))( *((_DWORD *)this + 2698), 0); v47 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v46); *((_DWORD *)this + 2704) = v47; v48 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain(v47); v49 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v48); *((_DWORD *)this + 2705) = v49; v50 = (cocos2d::CCArray *)cocos2d::CCObject::retain(v49); v51 = (cocos2d::CCObject *)cocos2d::CCArray::create(v50); *((_DWORD *)this + 617) = v51; v52 = (cocos2d::CCArray *)cocos2d::CCObject::retain(v51); v53 = (cocos2d::CCObject *)cocos2d::CCArray::create(v52); *((_DWORD *)this + 522) = v53; cocos2d::CCObject::retain(v53); v55 = (cocos2d::CCObject *)cocos2d::CCArray::createWithCapacity((cocos2d::CCArray *)&dword_64, v54); *((_DWORD *)this + 2811) = v55; cocos2d::CCObject::retain(v55); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v124, (const cocos2d::CCPoint *)&unk_D2C400); v56 = OBB2D::create((const cocos2d::CCPoint *)v124, 1.0, 1.0, 0.0); *((_DWORD *)this + 372) = v56; cocos2d::CCObject::retain((cocos2d::CCObject *)v56); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v124, (const cocos2d::CCPoint *)&unk_D2C400); v57 = OBB2D::create((const cocos2d::CCPoint *)v124, 1.0, 1.0, 0.0); *((_DWORD *)this + 2726) = v57; v58 = (GJEffectManager *)cocos2d::CCObject::retain((cocos2d::CCObject *)v57); v59 = (cocos2d::CCObject *)GJEffectManager::create(v58); *((_DWORD *)this + 381) = v59; cocos2d::CCObject::retain(v59); (*(void (__fastcall **)(GJBaseGameLayer *, _DWORD))(*(_DWORD *)this + 228))(this, *((_DWORD *)this + 381)); v60 = (cocos2d::CCArray *)(*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 381) + 172))( *((_DWORD *)this + 381), 0); *(_DWORD *)(*((_DWORD *)this + 381) + 264) = (char *)this + 316; v61 = (cocos2d::CCObject *)cocos2d::CCArray::create(v60); *((_DWORD *)this + 523) = v61; v62 = (cocos2d::CCArray *)cocos2d::CCObject::retain(v61); v63 = (cocos2d::CCObject *)cocos2d::CCArray::create(v62); *((_DWORD *)this + 525) = v63; v64 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain(v63); v65 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v64); *((_DWORD *)this + 526) = v65; v66 = (cocos2d::CCNode *)cocos2d::CCObject::retain(v65); v67 = (cocos2d::CCObject *)cocos2d::CCNode::create(v66); *((_DWORD *)this + 527) = v67; v68 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain(v67); v69 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v68); *((_DWORD *)this + 618) = v69; v70 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain(v69); v71 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v70); *((_DWORD *)this + 568) = v71; v72 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain(v71); v73 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v72); *((_DWORD *)this + 569) = v73; v74 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain(v73); v75 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v74); *((_DWORD *)this + 570) = v75; v76 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain(v75); v77 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v76); *((_DWORD *)this + 580) = v77; v78 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain(v77); v79 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v78); *((_DWORD *)this + 581) = v79; v80 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain(v79); v81 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v80); *((_DWORD *)this + 582) = v81; v82 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain(v81); v83 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v82); *((_DWORD *)this + 604) = v83; cocos2d::CCObject::retain(v83); std::vector::resize((_DWORD *)this + 571, 0x2710u); std::vector::resize((_DWORD *)this + 574, 0x2710u); std::vector::resize((_DWORD *)this + 577, 0x2710u); do { *(_DWORD *)(*((_DWORD *)this + 571) + v4) = 0; *(_DWORD *)(*((_DWORD *)this + 574) + v4) = 0; *(_DWORD *)(*((_DWORD *)this + 577) + v4) = 0; v4 += 4; } while ( v4 != 40000 ); std::vector::resize((int *)this + 284, 0x65u); std::vector::resize((int *)this + 287, 0x65u); v84 = (GJBaseGameLayer *)((char *)this + 2532); v85 = qword_D2C3F8; do { v85 = 214013 * v85 + 2531011; *(float *)v84 = (float)((float)((float)((v85 >> 16) & 0x7FFF) / 32767.0) + (float)((float)((v85 >> 16) & 0x7FFF) / 32767.0)) - 1.0; v84 = (GJBaseGameLayer *)((char *)v84 + 4); } while ( v84 != (GJBaseGameLayer *)((char *)this + 10532) ); qword_D2C3F8 = v85; std::vector::reserve((_DWORD *)this + 2727, 0x1F4u); v87 = cocos2d::CCNode::create(v86); *((_DWORD *)this + 366) = v87; (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v87 + 172))(v87, 0); (*(void (__fastcall **)(GJBaseGameLayer *, _DWORD))(*(_DWORD *)this + 228))(this, *((_DWORD *)this + 366)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v124, 0.0, -3.0); v89 = (cocos2d::CCEaseInOut *)cocos2d::CCMoveBy::create((cocos2d::CCMoveBy *)0x3F19999A, COERCE_FLOAT(v124), v88); v91 = (cocos2d::CCSequence *)cocos2d::CCEaseInOut::create(v89, (cocos2d::CCActionInterval *)0x3FC00000, v90); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v124, 0.0, 3.0); v93 = (cocos2d::CCEaseInOut *)cocos2d::CCMoveBy::create((cocos2d::CCMoveBy *)0x3F19999A, COERCE_FLOAT(v124), v92); v95 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCEaseInOut::create(v93, (cocos2d::CCActionInterval *)0x3FC00000, v94); v96 = *((cocos2d::CCNode **)this + 366); v97 = (cocos2d::CCRepeatForever *)cocos2d::CCSequence::create(v91, v95, 0); v99 = (cocos2d::CCAction *)cocos2d::CCRepeatForever::create(v97, v98); v100 = (cocos2d::CCDictionary *)cocos2d::CCNode::runAction(v96, v99); v101 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v100); *((_DWORD *)this + 2808) = v101; v102 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain(v101); v103 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v102); *((_DWORD *)this + 2661) = v103; v104 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain(v103); v105 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v104); *((_DWORD *)this + 2662) = v105; v106 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain(v105); v107 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v106); *((_DWORD *)this + 2669) = v107; v108 = (cocos2d::CCArray *)cocos2d::CCObject::retain(v107); v109 = (cocos2d::CCObject *)cocos2d::CCArray::create(v108); *((_DWORD *)this + 2670) = v109; v110 = (cocos2d::CCArray *)cocos2d::CCObject::retain(v109); v111 = (cocos2d::CCObject *)cocos2d::CCArray::create(v110); *((_DWORD *)this + 2663) = v111; v112 = (AppDelegate *)cocos2d::CCObject::retain(v111); *((_DWORD *)this + 2660) = 40; v113 = (AppDelegate *)AppDelegate::get(v112); if ( *((_BYTE *)v113 + 19) || (v113 = (AppDelegate *)AppDelegate::get(v113), *((_BYTE *)v113 + 20)) ) *((_DWORD *)this + 2660) = 10; *(_DWORD *)(GameManager::sharedState(v113) + 412) = this; v115 = UILayer::create(this, v114); *((_DWORD *)this + 2810) = v115; (*(void (__fastcall **)(GJBaseGameLayer *, cocos2d::CCLayerColor *, int))(*(_DWORD *)this + 232))(this, v115, 101); v116 = (char *)operator new[](0x2580u); v117 = (cocos2d::CCPoint *)(v116 + 9600); v118 = v116; v119 = (cocos2d::CCPoint *)v116; do { cocos2d::CCPoint::CCPoint(v119); v119 = (cocos2d::CCPoint *)((char *)v119 + 8); } while ( v119 != v117 ); *((_DWORD *)this + 2896) = v118; v120 = (GameManager *)memset(v118, 0, 0x2580u); v121 = (GameManager *)GameManager::sharedState(v120); v122 = GameManager::getGameVariable(v121, "0144"); GJBaseGameLayer::toggleAudioVisualizer(this, v122); } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source