//
// EditorPauseLayer::customSetup from 0x8b55e0 to 0x8b61d4 (3060 bytes)
//
// 2 xrefs:
// > ??> @ 0xf08b0
// > ??> @ 0x1459c18
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:56:25 +0000
//
__int64 __fastcall EditorPauseLayer::customSetup(EditorPauseLayer *this)
{
cocos2d::CCDirector *v2; // x0
cocos2d::CCDirector *v3; // x0
cocos2d::CCMenu *WinSize; // x0
cocos2d::CCMenu *v5; // x19
const char *v6; // x6
__int64 v7; // x0
__int64 v8; // x0
const char *v9; // x6
__int64 v10; // x24
__int64 v11; // x22
const char *v12; // x6
__int64 v13; // x23
__int64 v14; // x28
const char *v15; // x6
__int64 v16; // x26
__int64 v17; // x27
const char *v18; // x6
__int64 v19; // x0
__int64 v20; // x0
unsigned __int64 v21; // x0
cocos2d::CCDirector **v22; // x24
float *v23; // x22
int v24; // w21
__int64 (__fastcall *v25)(cocos2d::CCDirector **, __int64 *); // x23
float v26; // s10
cocos2d::CCDirector *v27; // x0
float v28; // s0
cocos2d::CCDirector *v29; // x0
cocos2d::CCDirector *v30; // x0
cocos2d::CCDirector *ScreenRight; // x0
float v32; // s0
float v33; // s15
cocos2d::CCDirector *v34; // x0
cocos2d::CCDirector *ScreenTop; // x0
float v36; // s0
cocos2d::CCDirector *v37; // x0
__int64 v38; // x0
__int64 v39; // x23
void (__fastcall *v40)(__int64, __int64 *); // x25
const cocos2d::CCSize *v41; // x0
const char *v42; // x2
cocos2d::CCLabelBMFont *v43; // x27
const char *v44; // x1
float *v45; // x25
float v46; // s10
float v47; // s10
float v48; // s12
float v49; // s0
void (__fastcall *v50)(cocos2d::CCLabelBMFont *, __int64 *); // x26
float v51; // s12
void (__fastcall *v52)(float *, __int64 *); // x26
__int64 v53; // x26
void (__fastcall *v54)(__int64, __int64 *); // x28
__int64 v55; // x22
int v56; // w24
float v57; // s13
cocos2d::CCDirector *v58; // x0
float v59; // s0
float v60; // s11
float v61; // s12
FMODAudioEngine *v62; // x0
float BackgroundMusicVolume; // s0
FMODAudioEngine *v64; // x0
float EffectsVolume; // s0
int v66; // w0
const char *v67; // x2
cocos2d::CCLabelBMFont *v68; // x0
float *v69; // x26
float v70; // s8
__int64 v71; // x21
void (__fastcall *v72)(__int64, __int64 *); // x27
void (__fastcall *v73)(__int64, __int64 *); // x27
__int64 v74; // x1
__int64 v75; // x2
Slider *v76; // x21
void (__fastcall *v77)(Slider *, __int64 *); // x27
GameManager *v78; // x0
cocos2d::CCDirector **v79; // x21
void (__fastcall *v80)(cocos2d::CCDirector **, __int64 *); // x20
cocos2d::CCDirector *v81; // x0
float v82; // s0
float v84; // [xsp+B4h] [xbp+B4h]
_BOOL4 v85; // [xsp+B8h] [xbp+B8h]
int v86; // [xsp+BCh] [xbp+BCh]
__int64 v87; // [xsp+D8h] [xbp+D8h] BYREF
_BYTE v88[8]; // [xsp+E0h] [xbp+E0h] BYREF
float v89[2]; // [xsp+E8h] [xbp+E8h] BYREF
float v90; // [xsp+F0h] [xbp+F0h] BYREF
float v91; // [xsp+F4h] [xbp+F4h]
_BYTE v92[8]; // [xsp+F8h] [xbp+F8h] BYREF
__int64 v93[2]; // [xsp+100h] [xbp+100h] BYREF
_QWORD v94[3]; // [xsp+110h] [xbp+110h] BYREF
__int64 v95; // [xsp+128h] [xbp+128h]
char *v96; // [xsp+130h] [xbp+130h]
const char *v97; // [xsp+138h] [xbp+138h]
__int64 (__fastcall *v98)(EditorPauseLayer *__hidden, cocos2d::CCObject *); // [xsp+140h] [xbp+140h]
__int64 v99; // [xsp+148h] [xbp+148h]
__int64 v100; // [xsp+150h] [xbp+150h]
char *v101; // [xsp+158h] [xbp+158h]
const char *v102; // [xsp+160h] [xbp+160h]
__int64 (__fastcall *v103)(EditorPauseLayer *__hidden, cocos2d::CCObject *); // [xsp+168h] [xbp+168h]
__int64 v104; // [xsp+170h] [xbp+170h]
__int64 v105; // [xsp+178h] [xbp+178h]
char *v106; // [xsp+180h] [xbp+180h]
_QWORD v107[2]; // [xsp+188h] [xbp+188h] BYREF
_DWORD v108[4]; // [xsp+198h] [xbp+198h] BYREF
__int64 (__fastcall *v109)(EditorPauseLayer *__hidden, cocos2d::CCObject *); // [xsp+1A8h] [xbp+1A8h]
_QWORD v110[3]; // [xsp+1B0h] [xbp+1B0h]
_DWORD v111[4]; // [xsp+1C8h] [xbp+1C8h] BYREF
__int64 (__fastcall *v112)(EditorPauseLayer *__hidden, cocos2d::CCObject *); // [xsp+1D8h] [xbp+1D8h]
__int64 v113; // [xsp+1E0h] [xbp+1E0h]
const char *v114; // [xsp+1E8h] [xbp+1E8h]
const char *v115; // [xsp+1F0h] [xbp+1F0h]
_DWORD v116[4]; // [xsp+1F8h] [xbp+1F8h] BYREF
__int64 (__fastcall *v117)(EditorPauseLayer *__hidden, cocos2d::CCObject *); // [xsp+208h] [xbp+208h]
__int64 v118; // [xsp+210h] [xbp+210h]
const char *v119; // [xsp+218h] [xbp+218h]
const char *v120; // [xsp+220h] [xbp+220h]
_DWORD v121[4]; // [xsp+228h] [xbp+228h] BYREF
__int64 (__fastcall *v122)(EditorPauseLayer *__hidden, cocos2d::CCObject *); // [xsp+238h] [xbp+238h]
__int64 v123; // [xsp+240h] [xbp+240h]
const char *v124; // [xsp+248h] [xbp+248h]
const char *v125; // [xsp+250h] [xbp+250h]
_DWORD v126[4]; // [xsp+258h] [xbp+258h] BYREF
__int64 (__fastcall *v127)(EditorPauseLayer *__hidden, cocos2d::CCObject *); // [xsp+268h] [xbp+268h]
__int64 v128; // [xsp+270h] [xbp+270h]
const char *v129; // [xsp+278h] [xbp+278h]
const char *v130; // [xsp+280h] [xbp+280h]
_DWORD v131[4]; // [xsp+288h] [xbp+288h] BYREF
__int64 (__fastcall *v132)(EditorPauseLayer *__hidden, cocos2d::CCObject *); // [xsp+298h] [xbp+298h]
__int64 v133; // [xsp+2A0h] [xbp+2A0h]
char *v134; // [xsp+2A8h] [xbp+2A8h]
const char *v135; // [xsp+2B0h] [xbp+2B0h]
_DWORD v136[4]; // [xsp+2B8h] [xbp+2B8h] BYREF
__int64 (__fastcall *v137)(EditorPauseLayer *__hidden, cocos2d::CCObject *); // [xsp+2C8h] [xbp+2C8h]
__int64 v138; // [xsp+2D0h] [xbp+2D0h]
char *v139; // [xsp+2D8h] [xbp+2D8h]
const char *v140; // [xsp+2E0h] [xbp+2E0h]
_DWORD v141[4]; // [xsp+2E8h] [xbp+2E8h] BYREF
__int64 (__fastcall *v142)(EditorPauseLayer *__hidden, cocos2d::CCObject *); // [xsp+2F8h] [xbp+2F8h]
__int64 v143; // [xsp+300h] [xbp+300h]
v2 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(EditorPauseLayer *, __int64))(*(_QWORD *)this + 1168LL))(
this,
4294967215LL);
v3 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v2);
WinSize = (cocos2d::CCMenu *)cocos2d::CCDirector::getWinSize(&v87, v3);
v5 = (cocos2d::CCMenu *)cocos2d::CCMenu::create(WinSize);
(*(void (__fastcall **)(EditorPauseLayer *, cocos2d::CCMenu *))(*(_QWORD *)this + 456LL))(this, v5);
v7 = ButtonSprite::create(
(ButtonSprite *)"Resume",
(const char *)&dword_B4,
0,
1,
0.8,
"goldFont.fnt",
"GJ_button_01.png",
v6,
28.0);
v8 = CCMenuItemSpriteExtra::create(v7, 0, (__int64)this, (__int64)EditorPauseLayer::onResume, 0);
(*(void (__fastcall **)(cocos2d::CCMenu *, __int64))(*(_QWORD *)v5 + 456LL))(v5, v8);
v10 = ButtonSprite::create(
(ButtonSprite *)"Save and Play",
(const char *)&dword_B4,
0,
1,
0.8,
"goldFont.fnt",
"GJ_button_01.png",
v9,
28.0);
v11 = CCMenuItemSpriteExtra::create(v10, 0, (__int64)this, (__int64)EditorPauseLayer::onSaveAndPlay, 0);
(*(void (__fastcall **)(cocos2d::CCMenu *, __int64))(*(_QWORD *)v5 + 456LL))(v5, v11);
v13 = ButtonSprite::create(
(ButtonSprite *)"Save and Exit",
(const char *)&dword_B4,
0,
1,
0.8,
"goldFont.fnt",
"GJ_button_01.png",
v12,
28.0);
v14 = CCMenuItemSpriteExtra::create(v13, 0, (__int64)this, (__int64)EditorPauseLayer::onSaveAndExit, 0);
(*(void (__fastcall **)(cocos2d::CCMenu *, __int64))(*(_QWORD *)v5 + 456LL))(v5, v14);
v16 = ButtonSprite::create(
(ButtonSprite *)"Save",
(const char *)&dword_B4,
0,
1,
0.8,
"goldFont.fnt",
"GJ_button_01.png",
v15,
28.0);
v17 = CCMenuItemSpriteExtra::create(v16, 0, (__int64)this, (__int64)EditorPauseLayer::onSave, 0);
(*(void (__fastcall **)(cocos2d::CCMenu *, __int64))(*(_QWORD *)v5 + 456LL))(v5, v17);
v19 = ButtonSprite::create(
(ButtonSprite *)"Exit",
(const char *)&dword_B4,
0,
1,
0.8,
"goldFont.fnt",
"GJ_button_01.png",
v18,
28.0);
v20 = CCMenuItemSpriteExtra::create(v19, 0, (__int64)this, (__int64)EditorPauseLayer::onExitNoSave, 0);
(*(void (__fastcall **)(cocos2d::CCMenu *, __int64))(*(_QWORD *)v5 + 456LL))(v5, v20);
cocos2d::CCMenu::alignItemsVerticallyWithPadding(v5, 14.0);
v21 = *(_DWORD *)(*(_QWORD *)(*((_QWORD *)this + 72) + 1936LL) + 1140LL) != 2;
v85 = *(_DWORD *)(*(_QWORD *)(*((_QWORD *)this + 72) + 1936LL) + 1140LL) != 2;
if ( *(_DWORD *)(*(_QWORD *)(*((_QWORD *)this + 72) + 1936LL) + 1140LL) != 2 )
{
memset(v93, 75, 3);
(*(void (__fastcall **)(_QWORD, __int64 *))(**(_QWORD **)(v10 + 648) + 960LL))(*(_QWORD *)(v10 + 648), v93);
(*(void (__fastcall **)(_QWORD, __int64 *))(**(_QWORD **)(v10 + 624) + 1072LL))(*(_QWORD *)(v10 + 624), v93);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v11 + 1056LL))(v11, 0);
(*(void (__fastcall **)(_QWORD, __int64 *))(**(_QWORD **)(v13 + 648) + 960LL))(*(_QWORD *)(v13 + 648), v93);
(*(void (__fastcall **)(_QWORD, __int64 *))(**(_QWORD **)(v13 + 624) + 1072LL))(*(_QWORD *)(v13 + 624), v93);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v14 + 1056LL))(v14, 0);
(*(void (__fastcall **)(_QWORD, __int64 *))(**(_QWORD **)(v16 + 648) + 960LL))(*(_QWORD *)(v16 + 648), v93);
(*(void (__fastcall **)(_QWORD, __int64 *))(**(_QWORD **)(v16 + 624) + 1072LL))(*(_QWORD *)(v16 + 624), v93);
v21 = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v17 + 1056LL))(v17, 0);
}
v22 = (cocos2d::CCDirector **)cocos2d::CCMenu::create((cocos2d::CCMenu *)v21);
v23 = (float *)v107;
v24 = 0;
(*(void (__fastcall **)(EditorPauseLayer *, cocos2d::CCDirector **))(*(_QWORD *)this + 456LL))(this, v22);
v25 = *((__int64 (__fastcall **)(cocos2d::CCDirector **, __int64 *))*v22 + 23);
v26 = *(float *)&v87 * 0.5;
v27 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(*v22);
cocos2d::CCDirector::getScreenBottom(v27);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v93, v26, v28 + 28.0);
v29 = (cocos2d::CCDirector *)v25(v22, v93);
v30 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v29);
ScreenRight = (cocos2d::CCDirector *)cocos2d::CCDirector::getScreenRight(v30);
v33 = v32 - 50.0;
v34 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(ScreenRight);
ScreenTop = (cocos2d::CCDirector *)cocos2d::CCDirector::getScreenTop(v34);
v84 = v36 - 20.0;
v37 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(ScreenTop);
cocos2d::CCDirector::getScreenLeft(v37);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v88, 8.0, 0.0);
v107[0] = "Settings";
v107[1] = "GJ_sSettingsIcon_001.png";
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v108, -0.75, 1.0);
v109 = EditorPauseLayer::onOptions;
v110[1] = "Export";
v110[0] = 0;
v110[2] = "GJ_sExportIcon_001.png";
v108[2] = 1.0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v111, -1.0, 1.0);
v112 = EditorPauseLayer::onExport;
v114 = "Editor SFX";
v113 = 0;
v115 = "GJ_sSFXIcon_001.png";
v111[2] = 1.0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v116, -0.5, 0.5);
v118 = 0;
v117 = EditorPauseLayer::onEditorSounds;
v119 = "Auto-Save";
v120 = "GJ_sSaveIcon_001.png";
v116[2] = 1064514355;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v121, -1.0, 0.5);
v123 = 0;
v122 = EditorPauseLayer::onAutoSaveSettings;
v124 = "Death Stats";
v125 = "GJ_sMarkerIcon_001.png";
v121[2] = 1064514355;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v126, -0.5, 0.5);
v128 = 0;
v127 = EditorPauseLayer::onDeathStats;
v129 = "Get Audio";
v130 = "GJ_sAudioDLIcon_001.png";
v126[2] = 1064514355;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v131, -0.5, 0.5);
v133 = 0;
v132 = EditorPauseLayer::onDownloadAudio;
v134 = "Help";
v135 = "GJ_sHelpIcon_001.png";
v131[2] = 1064514355;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v136, -0.5, 0.5);
v138 = 0;
v137 = EditorPauseLayer::onHelp;
v139 = "Controls";
v140 = "controllerBtn_DPad_None_001.png";
v136[2] = 1.0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v141, -0.5, 0.5);
v143 = 0;
v38 = *(_QWORD *)(*((_QWORD *)this + 72) + 3272LL);
v142 = EditorPauseLayer::onControls;
v141[2] = 1057803469;
v86 = *(unsigned __int8 *)(v38 + 341);
do
{
if ( v86
|| *((__int64 (__fastcall **)(EditorPauseLayer *__hidden, cocos2d::CCObject *))v23 + 4) != EditorPauseLayer::onControls
|| *((_QWORD *)v23 + 5) )
{
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v93, 0.0, 0.0, 40.0, 40.0);
v39 = cocos2d::extension::CCScale9Sprite::create("GJ_button_05.png", v93);
v40 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v39 + 320LL);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v93, 82.0, 26.0);
v40(v39, v93);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v89, -1.0, 1.0);
v41 = (const cocos2d::CCSize *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v39 + 328LL))(v39);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v90, v41);
v43 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(
*(cocos2d::CCLabelBMFont **)v23,
"bigFont.fnt",
v42);
(*(void (__fastcall **)(__int64, cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)v39 + 464LL))(v39, v43, 1);
cocos2d::CCLabelBMFont::limitLabelWidth(v43, 50.0, 0.45, 0.0);
v45 = (float *)cocos2d::CCSprite::createWithSpriteFrameName(*((cocos2d::CCSprite **)v23 + 1), v44);
(*(void (__fastcall **)(__int64, float *, __int64))(*(_QWORD *)v39 + 464LL))(v39, v45, 1);
(*(void (__fastcall **)(float *, float))(*(_QWORD *)v45 + 160LL))(v45, v23[6]);
v46 = v45[108];
v47 = v46 * (*(float (__fastcall **)(float *))(*(_QWORD *)v45 + 168LL))(v45);
v48 = *(float *)(*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v43 + 328LL))(v43);
v49 = (float)(v48 * (*(float (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)v43 + 168LL))(v43)) + 5.0;
v50 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v43 + 184LL);
v51 = (float)((float)(v49 + (float)(v47 * 0.5)) + 8.0) * 0.5;
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v93,
(float)((float)(v49 * 0.5) - (float)(v51 - (float)(v90 * 0.5))) + v89[0],
v89[1] + (float)(v91 * 0.5));
v50(v43, v93);
v52 = *(void (__fastcall **)(float *, __int64 *))(*(_QWORD *)v45 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v93,
(float)((float)(v51 + (float)(v90 * 0.5)) - (float)(v47 * 0.5)) + v23[4],
v23[5] + (float)(v91 * 0.5));
v52(v45, v93);
v53 = CCMenuItemSpriteExtra::create(v39, 0, (__int64)this, v110[6 * v24 - 1], v110[6 * v24]);
(*((void (__fastcall **)(cocos2d::CCDirector **, __int64))*v22 + 57))(v22, v53);
v54 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v53 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v92, v33, v84 - (float)((float)v24 * 32.0));
cocos2d::CCNode::convertToNodeSpace(v93, (cocos2d::CCNode *)v22, (const cocos2d::CCPoint *)v92);
v54(v53, v93);
if ( v85
&& *((__int64 (__fastcall **)(EditorPauseLayer *__hidden, cocos2d::CCObject *))v23 + 4) == EditorPauseLayer::onExport
&& !*((_QWORD *)v23 + 5) )
{
memset(v93, 75, 3);
(*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v39 + 960LL))(v39, v93);
(*(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v43 + 1072LL))(v43, v93);
(*(void (__fastcall **)(float *, __int64 *))(*(_QWORD *)v45 + 960LL))(v45, v93);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v53 + 1056LL))(v53, 0);
}
}
++v24;
v23 += 12;
}
while ( v24 != 8 );
v55 = 0;
v56 = 0;
v57 = *(float *)&v87 * 0.5;
v58 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)"Path of Light Rank 1");
cocos2d::CCDirector::getScreenBottom(v58);
v96 = nullptr;
v60 = v59 + 22.0;
v99 = 0;
v61 = (float)(v59 + 22.0) + 20.0;
v94[1] = EditorPauseLayer::musicSliderChanged;
v98 = EditorPauseLayer::sfxSliderChanged;
v94[0] = "Music";
v97 = "SFX";
v102 = "Editor SFX";
v103 = EditorPauseLayer::editorSFXSliderChanged;
v94[2] = 0;
v95 = 0;
v100 = 0;
v101 = nullptr;
v104 = 0;
v105 = 0;
v106 = nullptr;
v62 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine((FMODAudioEngine *)"Editor SFX");
BackgroundMusicVolume = FMODAudioEngine::getBackgroundMusicVolume(v62);
v96 = (char *)this + 616;
*(float *)&v95 = BackgroundMusicVolume;
v64 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine((EditorPauseLayer *)((char *)this + 616));
EffectsVolume = FMODAudioEngine::getEffectsVolume(v64);
v101 = (char *)this + 624;
*(float *)&v100 = EffectsVolume;
v66 = *(_DWORD *)(EditorSFXManager::sharedState((EditorPauseLayer *)((char *)this + 624)) + 192);
v106 = (char *)this + 632;
LODWORD(v105) = v66;
do
{
v67 = (const char *)(unsigned int)(v56 - 1);
v68 = (cocos2d::CCLabelBMFont *)v94[v55];
v69 = (float *)&v94[v55];
v55 += 5;
v70 = v57 + (float)((float)(int)v67 * 160.0);
v71 = cocos2d::CCLabelBMFont::create(v68, "bigFont.fnt", v67);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v71 + 160LL))(v71, 0.4);
v72 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v71 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v93, 0.5, 0.5);
v72(v71, v93);
v73 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v71 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v93, v70, v61);
v73(v71, v93);
(*(void (__fastcall **)(EditorPauseLayer *, __int64, __int64))(*(_QWORD *)this + 464LL))(this, v71, 1);
v74 = v56;
v75 = 4LL * v56++;
v76 = (Slider *)Slider::create((int)this, v94[v74 + 1 + v75], v94[v74 + 2 + v75], 0.55);
Slider::setBarVisibility(v76);
v77 = *(void (__fastcall **)(Slider *, __int64 *))(*(_QWORD *)v76 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v93, v70, v60);
v77(v76, v93);
Slider::setValue(v76, v69[6]);
(*(void (__fastcall **)(EditorPauseLayer *, Slider *, __int64))(*(_QWORD *)this + 464LL))(this, v76, 1);
v78 = *((GameManager **)v69 + 4);
*(_QWORD *)v78 = v76;
}
while ( v56 != 3 );
*(_QWORD *)(GameManager::sharedState(v78) + 952) = (char *)this + 560;
v79 = (cocos2d::CCDirector **)TimeSpeedControl::create(
*((TimeSpeedControl **)this + 72),
(EditorPauseLayer *)((char *)this + 560));
(*(void (__fastcall **)(EditorPauseLayer *, cocos2d::CCDirector **, __int64))(*(_QWORD *)this + 464LL))(this, v79, 1);
v80 = *((void (__fastcall **)(cocos2d::CCDirector **, __int64 *))*v79 + 23);
v81 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(*v79);
cocos2d::CCDirector::getScreenLeft(v81);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v93,
(float)(v82 + 40.0) + 0.0,
(float)(*((float *)&v87 + 1) * 0.5) + 14.0);
v80(v79, v93);
return _stack_chk_guard;
}