// // EditorPauseLayer::customSetup from 0x508310 to 0x508c96 (2438 bytes) // // 0 xrefs: // // 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:51:26 +0000 // int __fastcall EditorPauseLayer::customSetup(EditorPauseLayer *this) { cocos2d::CCDirector *v2; // r0 cocos2d::CCMenu *WinSize; // r0 cocos2d::CCMenu *v4; // r7 ButtonSprite *v5; // r0 int v6; // r0 int v7; // r11 ButtonSprite *v8; // r0 int v9; // r0 cocos2d::CCMenu *v10; // r0 int v11; // r1 cocos2d::CCDirector *v12; // r0 int (__fastcall *v13)(cocos2d::CCPoint *, _BYTE *); // r5 float v14; // s18 cocos2d::CCDirector *v15; // r0 float v16; // r0 cocos2d::CCDirector *v17; // r0 cocos2d::CCDirector *v18; // r0 float v19; // r0 float v20; // s20 cocos2d::CCDirector *v21; // r0 float v22; // r0 float v23; // s21 cocos2d::CCDirector *v24; // r0 _DWORD *v25; // r7 cocos2d::CCDirector *v26; // r0 int v27; // r3 int v28; // r8 void (__fastcall *v29)(int, _BYTE *); // r9 const cocos2d::CCSize *v30; // r0 const char *v31; // r2 cocos2d::CCLabelBMFont *v32; // r10 const char *v33; // r1 float *v34; // r9 float v35; // s18 float v36; // s15 float v37; // s17 float v38; // r0 float v39; // s18 float v40; // s15 int v41; // r11 float v42; // s18 cocos2d::CCDirector *v43; // r0 int v44; // r9 int v45; // r8 float v46; // s18 float v47; // s15 FMODAudioEngine *v48; // r0 FMODAudioEngine *v49; // r0 FMODAudioEngine *BackgroundMusicVolume; // r0 FMODAudioEngine *v51; // r0 EditorSFXManager *EffectsVolume; // r0 const char *v53; // r2 float v54; // s20 int v55; // r7 _DWORD *v56; // r3 Slider *v57; // r7 float v58; // r1 GameManager *v59; // r0 GJBaseGameLayer *v60; // r1 int v61; // r5 cocos2d::CCDirector *v62; // r0 int (__fastcall *v63)(int, _BYTE *); // r4 cocos2d::CCDirector *v64; // r0 float v65; // r0 float v67; // [sp+10h] [bp-1B4h] float v68; // [sp+10h] [bp-1B4h] float v69; // [sp+10h] [bp-1B4h] float v70; // [sp+10h] [bp-1B4h] float v71; // [sp+10h] [bp-1B4h] cocos2d::CCPoint *v72; // [sp+14h] [bp-1B0h] cocos2d::CCPoint *v73; // [sp+14h] [bp-1B0h] cocos2d::CCPoint *v74; // [sp+14h] [bp-1B0h] cocos2d::CCPoint *v75; // [sp+14h] [bp-1B0h] cocos2d::CCPoint *v76; // [sp+14h] [bp-1B0h] cocos2d::CCPoint *v77; // [sp+14h] [bp-1B0h] ButtonSprite *v78; // [sp+18h] [bp-1ACh] int v79; // [sp+18h] [bp-1ACh] ButtonSprite *v80; // [sp+1Ch] [bp-1A8h] int v81; // [sp+1Ch] [bp-1A8h] ButtonSprite *v82; // [sp+20h] [bp-1A4h] _BOOL4 v83; // [sp+24h] [bp-1A0h] int v84; // [sp+30h] [bp-194h] void (__fastcall *v85)(cocos2d::CCLabelBMFont *, _BYTE *); // [sp+38h] [bp-18Ch] void (__fastcall *v86)(float *, _BYTE *); // [sp+38h] [bp-18Ch] int (__fastcall *v87)(int, _BYTE *); // [sp+3Ch] [bp-188h] float v88[2]; // [sp+40h] [bp-184h] BYREF _BYTE v89[8]; // [sp+48h] [bp-17Ch] BYREF float v90[2]; // [sp+50h] [bp-174h] BYREF float v91; // [sp+58h] [bp-16Ch] BYREF float v92; // [sp+5Ch] [bp-168h] _BYTE v93[8]; // [sp+60h] [bp-164h] BYREF _DWORD (*v94)(EditorPauseLayer *__hidden, cocos2d::CCObject *); // [sp+68h] [bp-15Ch] int v95; // [sp+6Ch] [bp-158h] _DWORD (*v96)(EditorPauseLayer *__hidden, cocos2d::CCObject *); // [sp+70h] [bp-154h] int v97; // [sp+74h] [bp-150h] _DWORD (*v98)(EditorPauseLayer *__hidden, cocos2d::CCObject *); // [sp+78h] [bp-14Ch] int v99; // [sp+7Ch] [bp-148h] _DWORD (*v100)(EditorPauseLayer *__hidden, cocos2d::CCObject *); // [sp+80h] [bp-144h] int v101; // [sp+84h] [bp-140h] _DWORD (*v102)(EditorPauseLayer *__hidden, cocos2d::CCObject *); // [sp+88h] [bp-13Ch] int v103; // [sp+8Ch] [bp-138h] _BYTE v104[16]; // [sp+90h] [bp-134h] BYREF _DWORD v105[15]; // [sp+A0h] [bp-124h] BYREF _DWORD v106[2]; // [sp+DCh] [bp-E8h] BYREF _BYTE v107[8]; // [sp+E4h] [bp-E0h] BYREF int v108; // [sp+ECh] [bp-D8h] _DWORD (*v109)(EditorPauseLayer *__hidden, cocos2d::CCObject *); // [sp+F0h] [bp-D4h] _DWORD v110[3]; // [sp+F4h] [bp-D0h] _BYTE v111[8]; // [sp+100h] [bp-C4h] BYREF int v112; // [sp+108h] [bp-BCh] _DWORD (*v113)(EditorPauseLayer *__hidden, cocos2d::CCObject *); // [sp+10Ch] [bp-B8h] int v114; // [sp+110h] [bp-B4h] const char *v115; // [sp+114h] [bp-B0h] const char *v116; // [sp+118h] [bp-ACh] _BYTE v117[8]; // [sp+11Ch] [bp-A8h] BYREF float v118; // [sp+124h] [bp-A0h] _DWORD (*v119)(EditorPauseLayer *__hidden, cocos2d::CCObject *); // [sp+128h] [bp-9Ch] int v120; // [sp+12Ch] [bp-98h] const char *v121; // [sp+130h] [bp-94h] const char *v122; // [sp+134h] [bp-90h] _BYTE v123[8]; // [sp+138h] [bp-8Ch] BYREF float v124; // [sp+140h] [bp-84h] _DWORD (*v125)(EditorPauseLayer *__hidden, cocos2d::CCObject *); // [sp+144h] [bp-80h] int v126; // [sp+148h] [bp-7Ch] const char *v127; // [sp+14Ch] [bp-78h] const char *v128; // [sp+150h] [bp-74h] _BYTE v129[8]; // [sp+154h] [bp-70h] BYREF float v130; // [sp+15Ch] [bp-68h] _DWORD (*v131)(EditorPauseLayer *__hidden, cocos2d::CCObject *); // [sp+160h] [bp-64h] int v132; // [sp+164h] [bp-60h] const char *v133; // [sp+168h] [bp-5Ch] const char *v134; // [sp+16Ch] [bp-58h] _BYTE v135[8]; // [sp+170h] [bp-54h] BYREF float v136; // [sp+178h] [bp-4Ch] _DWORD (*v137)(EditorPauseLayer *__hidden, cocos2d::CCObject *); // [sp+17Ch] [bp-48h] int v138; // [sp+180h] [bp-44h] const char *v139; // [sp+184h] [bp-40h] const char *v140; // [sp+188h] [bp-3Ch] _BYTE v141[8]; // [sp+18Ch] [bp-38h] BYREF int v142; // [sp+194h] [bp-30h] _DWORD (*v143)(EditorPauseLayer *__hidden, cocos2d::CCObject *); // [sp+198h] [bp-2Ch] int v144; // [sp+19Ch] [bp-28h] const char *v145; // [sp+1A0h] [bp-24h] const char *v146; // [sp+1A4h] [bp-20h] _BYTE v147[8]; // [sp+1A8h] [bp-1Ch] BYREF int v148; // [sp+1B0h] [bp-14h] _DWORD (*v149)(EditorPauseLayer *__hidden, cocos2d::CCObject *); // [sp+1B4h] [bp-10h] int v150; // [sp+1B8h] [bp-Ch] v2 = (cocos2d::CCDirector *)(*(int (__fastcall **)(EditorPauseLayer *, int))(*(_DWORD *)this + 584))(this, 175); cocos2d::CCDirector::sharedDirector(v2); WinSize = (cocos2d::CCMenu *)cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v88); v4 = (cocos2d::CCMenu *)cocos2d::CCMenu::create(WinSize); (*(void (__fastcall **)(EditorPauseLayer *, cocos2d::CCMenu *))(*(_DWORD *)this + 228))(this, v4); v5 = ButtonSprite::create( (ButtonSprite *)"Resume", (const char *)&dword_B4, 0, 0.8, 1, "goldFont.fnt", "GJ_button_01.png", COERCE_CONST_CHAR_(28.0), v67); v95 = 0; v94 = EditorPauseLayer::onResume; v6 = CCMenuItemSpriteExtra::create((int)v5, 0, (int)this, (int)EditorPauseLayer::onResume, 0); (*(void (__fastcall **)(cocos2d::CCMenu *, int))(*(_DWORD *)v4 + 228))(v4, v6); v78 = ButtonSprite::create( (ButtonSprite *)"Save and Play", (const char *)&dword_B4, 0, 0.8, 1, "goldFont.fnt", "GJ_button_01.png", COERCE_CONST_CHAR_(28.0), v68); v97 = 0; v96 = EditorPauseLayer::onSaveAndPlay; v72 = (cocos2d::CCPoint *)CCMenuItemSpriteExtra::create( (int)v78, 0, (int)this, (int)EditorPauseLayer::onSaveAndPlay, 0); (*(void (__fastcall **)(cocos2d::CCMenu *, cocos2d::CCPoint *))(*(_DWORD *)v4 + 228))(v4, v72); v80 = ButtonSprite::create( (ButtonSprite *)"Save and Exit", (const char *)&dword_B4, 0, 0.8, 1, "goldFont.fnt", "GJ_button_01.png", COERCE_CONST_CHAR_(28.0), v69); v99 = 0; v98 = EditorPauseLayer::onSaveAndExit; v84 = CCMenuItemSpriteExtra::create((int)v80, 0, (int)this, (int)EditorPauseLayer::onSaveAndExit, 0); (*(void (__fastcall **)(cocos2d::CCMenu *, int))(*(_DWORD *)v4 + 228))(v4, v84); v82 = ButtonSprite::create( (ButtonSprite *)"Save", (const char *)&dword_B4, 0, 0.8, 1, "goldFont.fnt", "GJ_button_01.png", COERCE_CONST_CHAR_(28.0), v70); v101 = 0; v100 = EditorPauseLayer::onSave; v7 = CCMenuItemSpriteExtra::create((int)v82, 0, (int)this, (int)EditorPauseLayer::onSave, 0); (*(void (__fastcall **)(cocos2d::CCMenu *, int))(*(_DWORD *)v4 + 228))(v4, v7); v8 = ButtonSprite::create( (ButtonSprite *)"Exit", (const char *)&dword_B4, 0, 0.8, 1, "goldFont.fnt", "GJ_button_01.png", COERCE_CONST_CHAR_(28.0), v71); v103 = 0; v102 = EditorPauseLayer::onExitNoSave; v9 = CCMenuItemSpriteExtra::create((int)v8, 0, (int)this, (int)EditorPauseLayer::onExitNoSave, 0); (*(void (__fastcall **)(cocos2d::CCMenu *, int))(*(_DWORD *)v4 + 228))(v4, v9); v10 = (cocos2d::CCMenu *)cocos2d::CCMenu::alignItemsVerticallyWithPadding(v4, 14.0); v11 = *(_DWORD *)(*(_DWORD *)(*((_DWORD *)this + 114) + 1408) + 952); v83 = v11 != 2; if ( v11 != 2 ) { memset(v104, 75, 3); (*(void (__fastcall **)(_DWORD, _BYTE *))(**((_DWORD **)v78 + 137) + 480))(*((_DWORD *)v78 + 137), v104); (*(void (__fastcall **)(_DWORD, _BYTE *))(**((_DWORD **)v78 + 134) + 536))(*((_DWORD *)v78 + 134), v104); (*(void (__fastcall **)(cocos2d::CCPoint *, _DWORD))(*(_DWORD *)v72 + 528))(v72, 0); (*(void (__fastcall **)(_DWORD, _BYTE *))(**((_DWORD **)v80 + 137) + 480))(*((_DWORD *)v80 + 137), v104); (*(void (__fastcall **)(_DWORD, _BYTE *))(**((_DWORD **)v80 + 134) + 536))(*((_DWORD *)v80 + 134), v104); (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v84 + 528))(v84, 0); (*(void (__fastcall **)(_DWORD, _BYTE *))(**((_DWORD **)v82 + 137) + 480))(*((_DWORD *)v82 + 137), v104); (*(void (__fastcall **)(_DWORD, _BYTE *))(**((_DWORD **)v82 + 134) + 536))(*((_DWORD *)v82 + 134), v104); v10 = (cocos2d::CCMenu *)(*(int (__fastcall **)(int, _DWORD))(*(_DWORD *)v7 + 528))(v7, 0); } v73 = (cocos2d::CCPoint *)cocos2d::CCMenu::create(v10); v12 = (cocos2d::CCDirector *)(*(int (__fastcall **)(EditorPauseLayer *, cocos2d::CCPoint *))(*(_DWORD *)this + 228))( this, v73); v13 = *(int (__fastcall **)(cocos2d::CCPoint *, _BYTE *))(*(_DWORD *)v73 + 92); v14 = v88[0]; v15 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v12); v16 = COERCE_FLOAT(cocos2d::CCDirector::getScreenBottom(v15)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v104, v14 * 0.5, v16 + 28.0); v17 = (cocos2d::CCDirector *)v13(v73, v104); v18 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v17); v19 = COERCE_FLOAT(cocos2d::CCDirector::getScreenRight(v18)); v20 = v19 - 50.0; v21 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)LODWORD(v19)); v22 = COERCE_FLOAT(cocos2d::CCDirector::getScreenTop(v21)); v23 = v22 - 20.0; v24 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)LODWORD(v22)); cocos2d::CCDirector::getScreenLeft(v24); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v89, 8.0, 0.0); v106[0] = "Settings"; v106[1] = "GJ_sSettingsIcon_001.png"; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v107, -0.75, 1.0); v108 = 1065353216; v110[0] = 0; v109 = EditorPauseLayer::onOptions; v110[1] = "Export"; v110[2] = "GJ_sExportIcon_001.png"; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v111, -1.0, 1.0); v112 = 1065353216; v114 = 0; v115 = "Editor SFX"; v113 = EditorPauseLayer::onExport; v116 = "GJ_sSFXIcon_001.png"; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v117, -0.5, 0.5); v118 = 0.95; v120 = 0; v119 = EditorPauseLayer::onEditorSounds; v121 = "Auto-Save"; v122 = "GJ_sSaveIcon_001.png"; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v123, -1.0, 0.5); v124 = 0.95; v126 = 0; v125 = EditorPauseLayer::onAutoSaveSettings; v127 = "Death Stats"; v128 = "GJ_sMarkerIcon_001.png"; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v129, -0.5, 0.5); v130 = 0.95; v132 = 0; v131 = EditorPauseLayer::onDeathStats; v133 = "Get Audio"; v134 = "GJ_sAudioDLIcon_001.png"; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v135, -0.5, 0.5); v136 = 0.95; v138 = 0; v137 = EditorPauseLayer::onDownloadAudio; v139 = "Help"; v140 = "GJ_sHelpIcon_001.png"; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v141, -0.5, 0.5); v142 = 1065353216; v25 = v106; v144 = 0; v143 = EditorPauseLayer::onHelp; v145 = "Controls"; v146 = "controllerBtn_DPad_None_001.png"; v26 = (cocos2d::CCDirector *)cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v147, -0.5, 0.5); v148 = 1057803469; v27 = *((_DWORD *)this + 114); v150 = 0; v149 = EditorPauseLayer::onControls; v79 = 0; v81 = *(unsigned __int8 *)(*(_DWORD *)(v27 + 2084) + 281); do { if ( v81 || *(_QWORD *)(v25 + 5) != (unsigned int)EditorPauseLayer::onControls ) { cocos2d::CCRect::CCRect((cocos2d::CCRect *)v104, 0.0, 0.0, 40.0, 40.0); v28 = cocos2d::extension::CCScale9Sprite::create("GJ_button_05.png", v104); v29 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v28 + 160); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v104, 82.0, 26.0); v29(v28, v104); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v90, -1.0, 1.0); v30 = (const cocos2d::CCSize *)(*(int (__fastcall **)(int))(*(_DWORD *)v28 + 164))(v28); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v91, v30); v32 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)*v25, "bigFont.fnt", v31); (*(void (__fastcall **)(int, cocos2d::CCLabelBMFont *, int))(*(_DWORD *)v28 + 232))(v28, v32, 1); cocos2d::CCLabelBMFont::limitLabelWidth(v32, 50.0, 0.45, 0.0); v34 = (float *)cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)v25[1], v33); (*(void (__fastcall **)(int, float *, int))(*(_DWORD *)v28 + 232))(v28, v34, 1); (*(void (__fastcall **)(float *, _DWORD))(*(_DWORD *)v34 + 80))(v34, v25[4]); v35 = v34[86]; v36 = COERCE_FLOAT((*(int (__fastcall **)(float *))(*(_DWORD *)v34 + 84))(v34)); v37 = *(float *)(*(int (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v32 + 164))(v32); v38 = (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)v32 + 84))(v32); v85 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _BYTE *))(*(_DWORD *)v32 + 92); v39 = (float)(v35 * v36) * 0.5; v40 = (float)(v37 * v38) + 5.0; cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v104, (float)((float)((float)(v91 * 0.5) - (float)((float)((float)(v39 + v40) + 8.0) * 0.5)) + (float)(v40 * 0.5)) + v90[0], v90[1] + (float)(v92 * 0.5)); v85(v32, v104); v86 = *(void (__fastcall **)(float *, _BYTE *))(*(_DWORD *)v34 + 92); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v104, (float)((float)((float)((float)((float)(v39 + v40) + 8.0) * 0.5) + (float)(v91 * 0.5)) - v39) + *((float *)v25 + 2), *((float *)v25 + 3) + (float)(v92 * 0.5)); v86(v34, v104); v41 = CCMenuItemSpriteExtra::create(v28, 0, (int)this, v110[7 * v79 - 1], v110[7 * v79]); (*(void (__fastcall **)(cocos2d::CCPoint *, int))(*(_DWORD *)v73 + 228))(v73, v41); v87 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v41 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v93, v20, v23 - (float)((float)v79 * 32.0)); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v104, v73); v26 = (cocos2d::CCDirector *)v87(v41, v104); if ( v83 && *(_QWORD *)(v25 + 5) == (unsigned int)EditorPauseLayer::onExport ) { memset(v104, 75, 3); (*(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v28 + 480))(v28, v104); (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, _BYTE *))(*(_DWORD *)v32 + 536))(v32, v104); (*(void (__fastcall **)(float *, _BYTE *))(*(_DWORD *)v34 + 480))(v34, v104); v26 = (cocos2d::CCDirector *)(*(int (__fastcall **)(int, _DWORD))(*(_DWORD *)v41 + 528))(v41, 0); } } v25 += 7; ++v79; } while ( v79 != 8 ); v42 = v88[0]; v43 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v26); v44 = 0; v45 = 0; v46 = v42 * 0.5; v47 = COERCE_FLOAT(cocos2d::CCDirector::getScreenBottom(v43)); v48 = (FMODAudioEngine *)memset(v105, 0, sizeof(v105)); v105[0] = "Music"; v105[1] = EditorPauseLayer::musicSliderChanged; v105[5] = "SFX"; v105[6] = EditorPauseLayer::sfxSliderChanged; v105[10] = "Editor SFX"; v105[11] = EditorPauseLayer::editorSFXSliderChanged; v49 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine(v48); BackgroundMusicVolume = (FMODAudioEngine *)FMODAudioEngine::getBackgroundMusicVolume(v49); v105[4] = (char *)this + 476; v105[3] = BackgroundMusicVolume; v51 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine(BackgroundMusicVolume); EffectsVolume = (EditorSFXManager *)FMODAudioEngine::getEffectsVolume(v51); v105[9] = (char *)this + 480; v105[8] = EffectsVolume; v105[13] = *(_DWORD *)(EditorSFXManager::sharedState(EffectsVolume) + 96); v105[14] = (char *)this + 484; do { v54 = v46 + (float)((float)(v45 - 1) * 160.0); v55 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)v105[v44], "bigFont.fnt", v53); (*(void (__fastcall **)(int, int))(*(_DWORD *)v55 + 80))(v55, 1053609165); v74 = *(cocos2d::CCPoint **)(*(_DWORD *)v55 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v104, 0.5, 0.5); ((void (__fastcall *)(int, _BYTE *))v74)(v55, v104); v75 = *(cocos2d::CCPoint **)(*(_DWORD *)v55 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v104, v54, (float)(v47 + 22.0) + 20.0); ((void (__fastcall *)(int, _BYTE *))v75)(v55, v104); (*(void (__fastcall **)(EditorPauseLayer *, int, int))(*(_DWORD *)this + 232))(this, v55, 1); v56 = &v105[5 * v45++]; v57 = (Slider *)Slider::create((int)this, v56[1], v56[2], 0.55); Slider::setBarVisibility(v57, 1); v76 = *(cocos2d::CCPoint **)(*(_DWORD *)v57 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v104, v54, v47 + 22.0); ((void (__fastcall *)(Slider *, _BYTE *))v76)(v57, v104); v77 = (cocos2d::CCPoint *)&v105[v44]; v58 = *(float *)&v105[v44 + 3]; v44 += 5; Slider::setValue(v57, v58); v59 = (GameManager *)(*(int (__fastcall **)(EditorPauseLayer *, Slider *, int))(*(_DWORD *)this + 232))( this, v57, 1); **((_DWORD **)v77 + 4) = v57; } while ( v45 != 3 ); *(_DWORD *)(GameManager::sharedState(v59) + 744) = (char *)this + 448; v61 = TimeSpeedControl::create(*((TimeSpeedControl **)this + 114), v60); v62 = (cocos2d::CCDirector *)(*(int (__fastcall **)(EditorPauseLayer *, int, int))(*(_DWORD *)this + 232))( this, v61, 1); v63 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v61 + 92); v64 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v62); v65 = COERCE_FLOAT(cocos2d::CCDirector::getScreenLeft(v64)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v104, (float)(v65 + 40.0) + 0.0, (float)(v88[1] * 0.5) + 14.0); return v63(v61, v104); }
GD Web Decomp Icon

GD Web Decomp

Raw Source