//
// EditorUI::createMoveMenu from 0xbe10d4 to 0xbe1fc0 (3820 bytes)
//
// 3 xrefs:
// > EditorUI::setupEditMenu @ 0xbe1fdc
// > EditorUI::recreateButtonTabs @ 0xbe212c
// > ??> @ 0xd6ba0
//
// 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 13:03:46 +0000
//
__int64 __fastcall EditorUI::createMoveMenu(EditorUI *this)
{
cocos2d::CCDirector *v2; // x0
cocos2d::CCDictionary *WinSize; // x0
cocos2d::CCObject *v4; // x0
cocos2d::CCArray *v5; // x0
GameManager *v6; // x21
GameManager *v7; // x0
cocos2d::CCDirector *GameVariable; // x0
int v9; // w28
float v10; // s0
float v11; // s9
float *v12; // x26
unsigned int v13; // w0
cocos2d::CCString *v14; // x0
const char *CString; // x0
size_t v16; // x0
float *v17; // x26
unsigned int v18; // w0
cocos2d::CCString *v19; // x0
const char *v20; // x0
size_t v21; // x0
float *v22; // x26
unsigned int v23; // w0
cocos2d::CCString *v24; // x0
const char *v25; // x0
size_t v26; // x0
float *v27; // x23
__int64 v28; // x26
unsigned int v29; // w0
cocos2d::CCString *v30; // x0
const char *v31; // x0
size_t v32; // x0
float *v33; // x26
unsigned int v34; // w0
cocos2d::CCString *v35; // x0
const char *v36; // x0
size_t v37; // x0
float *v38; // x23
__int64 v39; // x26
unsigned int v40; // w0
cocos2d::CCString *v41; // x0
const char *v42; // x0
size_t v43; // x0
float *v44; // x23
__int64 v45; // x25
unsigned int v46; // w0
cocos2d::CCString *v47; // x0
const char *v48; // x0
size_t v49; // x0
GameManager *v50; // x0
GameManager *v52; // x0
GameManager *IntGameVariable; // x0
GameManager *v54; // x0
cocos2d::CCDirector *v55; // x0
float v56; // s8
cocos2d::CCDirector *v57; // x0
float v58; // s0
_QWORD *v59; // x0
__int64 v60; // x3
float *SpriteButton; // x23
float *v62; // x23
float *v63; // x23
float *v64; // x26
float *v65; // x25
float *v66; // x24
float *v67; // x23
__int64 v68; // x0
__int64 v69; // x0
__int64 v70; // x0
__int64 v71; // x0
float *v72; // x23
float *v73; // x23
float *v74; // x23
float *v75; // x22
int v76[2]; // [xsp+80h] [xbp+80h]
int v77[2]; // [xsp+80h] [xbp+80h]
int v78[2]; // [xsp+80h] [xbp+80h]
int v79[2]; // [xsp+80h] [xbp+80h]
int v80; // [xsp+80h] [xbp+80h]
cocos2d::CCObject *v81; // [xsp+88h] [xbp+88h]
cocos2d::CCObject *v82; // [xsp+88h] [xbp+88h]
cocos2d::CCObject *v83; // [xsp+88h] [xbp+88h]
cocos2d::CCObject *v84; // [xsp+88h] [xbp+88h]
cocos2d::CCObject *v85; // [xsp+88h] [xbp+88h]
cocos2d::CCObject *v86; // [xsp+88h] [xbp+88h]
cocos2d::CCObject *v87; // [xsp+88h] [xbp+88h]
cocos2d::CCObject *v88; // [xsp+88h] [xbp+88h]
cocos2d::CCObject *v89; // [xsp+88h] [xbp+88h]
cocos2d::CCObject *v90; // [xsp+88h] [xbp+88h]
cocos2d::CCObject *v91; // [xsp+88h] [xbp+88h]
int v92; // [xsp+88h] [xbp+88h]
cocos2d::CCObject *v93; // [xsp+88h] [xbp+88h]
cocos2d::CCObject *v94; // [xsp+88h] [xbp+88h]
cocos2d::CCObject *v95; // [xsp+88h] [xbp+88h]
cocos2d::CCObject *v96; // [xsp+88h] [xbp+88h]
cocos2d::CCObject *v97; // [xsp+88h] [xbp+88h]
cocos2d::CCObject *v98; // [xsp+88h] [xbp+88h]
cocos2d::CCObject *v99; // [xsp+88h] [xbp+88h]
cocos2d::CCObject *v100; // [xsp+88h] [xbp+88h]
cocos2d::CCObject *v101; // [xsp+88h] [xbp+88h]
__int64 v102; // [xsp+90h] [xbp+90h] BYREF
float v103[6]; // [xsp+98h] [xbp+98h] BYREF
__int64 v104; // [xsp+B0h] [xbp+B0h] BYREF
__int64 v105; // [xsp+B8h] [xbp+B8h]
void *v106; // [xsp+C0h] [xbp+C0h]
v2 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard);
WinSize = (cocos2d::CCDictionary *)cocos2d::CCDirector::getWinSize(&v102, v2);
v4 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(WinSize);
*((_QWORD *)this + 102) = v4;
v5 = (cocos2d::CCArray *)cocos2d::CCObject::retain(v4);
v6 = (GameManager *)cocos2d::CCArray::create(v5);
v7 = (GameManager *)GameManager::sharedState(v6);
GameVariable = (cocos2d::CCDirector *)GameManager::getGameVariable(v7, "0191");
v9 = (unsigned __int8)GameVariable;
if ( (_BYTE)GameVariable )
{
v11 = 0.0;
SpriteButton = EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_upBtn_001.png",
(__int64)EditorUI::moveObjectCall,
0,
0,
0.9);
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)SpriteButton + 72LL))(SpriteButton, 3);
cocos2d::CCArray::addObject(v6, (cocos2d::CCObject *)SpriteButton);
v62 = EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_downBtn_001.png",
(__int64)EditorUI::moveObjectCall,
0,
0,
0.9);
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v62 + 72LL))(v62, 4);
cocos2d::CCArray::addObject(v6, (cocos2d::CCObject *)v62);
v63 = EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_leftBtn_001.png",
(__int64)EditorUI::moveObjectCall,
0,
0,
0.9);
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v63 + 72LL))(v63, 1);
cocos2d::CCArray::addObject(v6, (cocos2d::CCObject *)v63);
v93 = (cocos2d::CCObject *)EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_rightBtn_001.png",
(__int64)EditorUI::moveObjectCall,
0,
0,
0.9);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v93 + 72LL))(v93, 2);
cocos2d::CCArray::addObject(v6, v93);
v94 = (cocos2d::CCObject *)EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_upBtn2_001.png",
(__int64)EditorUI::moveObjectCall,
0,
0,
0.9);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v94 + 72LL))(v94, 7);
cocos2d::CCArray::addObject(v6, v94);
v95 = (cocos2d::CCObject *)EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_downBtn2_001.png",
(__int64)EditorUI::moveObjectCall,
0,
0,
0.9);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v95 + 72LL))(v95, 8);
cocos2d::CCArray::addObject(v6, v95);
v96 = (cocos2d::CCObject *)EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_leftBtn2_001.png",
(__int64)EditorUI::moveObjectCall,
0,
0,
0.9);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v96 + 72LL))(v96, 5);
cocos2d::CCArray::addObject(v6, v96);
v97 = (cocos2d::CCObject *)EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_rightBtn2_001.png",
(__int64)EditorUI::moveObjectCall,
0,
0,
0.9);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v97 + 72LL))(v97, 6);
cocos2d::CCArray::addObject(v6, v97);
v98 = (cocos2d::CCObject *)EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_upBtn3_001.png",
(__int64)EditorUI::moveObjectCall,
0,
0,
0.9);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v98 + 72LL))(v98, 11);
cocos2d::CCArray::addObject(v6, v98);
v99 = (cocos2d::CCObject *)EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_downBtn3_001.png",
(__int64)EditorUI::moveObjectCall,
0,
0,
0.9);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v99 + 72LL))(v99, 12);
cocos2d::CCArray::addObject(v6, v99);
v100 = (cocos2d::CCObject *)EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_leftBtn3_001.png",
(__int64)EditorUI::moveObjectCall,
0,
0,
0.9);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v100 + 72LL))(v100, 9);
cocos2d::CCArray::addObject(v6, v100);
v101 = (cocos2d::CCObject *)EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_rightBtn3_001.png",
(__int64)EditorUI::moveObjectCall,
0,
0,
0.9);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v101 + 72LL))(v101, 10);
cocos2d::CCArray::addObject(v6, v101);
v64 = EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_upBtn_001.png",
(__int64)EditorUI::moveObjectCall,
0,
0,
0.9);
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v64 + 72LL))(v64, 15);
cocos2d::CCArray::addObject(v6, (cocos2d::CCObject *)v64);
v65 = EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_downBtn_001.png",
(__int64)EditorUI::moveObjectCall,
0,
0,
0.9);
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v65 + 72LL))(v65, 16);
cocos2d::CCArray::addObject(v6, (cocos2d::CCObject *)v65);
v66 = EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_leftBtn_001.png",
(__int64)EditorUI::moveObjectCall,
0,
0,
0.9);
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v66 + 72LL))(v66, 13);
cocos2d::CCArray::addObject(v6, (cocos2d::CCObject *)v66);
v67 = EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_rightBtn_001.png",
(__int64)EditorUI::moveObjectCall,
0,
0,
0.9);
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v67 + 72LL))(v67, 14);
cocos2d::CCArray::addObject(v6, (cocos2d::CCObject *)v67);
v68 = (*(__int64 (__fastcall **)(float *))(*(_QWORD *)v64 + 1072LL))(v64);
(*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(v68 + 632) + 160LL))(*(_QWORD *)(v68 + 632), 0.8);
v69 = (*(__int64 (__fastcall **)(float *))(*(_QWORD *)v65 + 1072LL))(v65);
(*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(v69 + 632) + 160LL))(*(_QWORD *)(v69 + 632), 0.8);
v70 = (*(__int64 (__fastcall **)(float *))(*(_QWORD *)v66 + 1072LL))(v66);
(*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(v70 + 632) + 160LL))(*(_QWORD *)(v70 + 632), 0.8);
v71 = (*(__int64 (__fastcall **)(float *))(*(_QWORD *)v67 + 1072LL))(v67);
(*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(v71 + 632) + 160LL))(*(_QWORD *)(v71 + 632), 0.8);
v72 = EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_upBtn5_001.png",
(__int64)EditorUI::moveObjectCall,
0,
0,
0.9);
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v72 + 72LL))(v72, 19);
cocos2d::CCArray::addObject(v6, (cocos2d::CCObject *)v72);
v73 = EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_downBtn5_001.png",
(__int64)EditorUI::moveObjectCall,
0,
0,
0.9);
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v73 + 72LL))(v73, 20);
cocos2d::CCArray::addObject(v6, (cocos2d::CCObject *)v73);
v74 = EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_leftBtn5_001.png",
(__int64)EditorUI::moveObjectCall,
0,
0,
0.9);
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v74 + 72LL))(v74, 17);
cocos2d::CCArray::addObject(v6, (cocos2d::CCObject *)v74);
v75 = EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_rightBtn5_001.png",
(__int64)EditorUI::moveObjectCall,
0,
0,
0.9);
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v75 + 72LL))(v75, 18);
cocos2d::CCArray::addObject(v6, (cocos2d::CCObject *)v75);
}
else
{
v10 = sub_BDDAD0(GameVariable);
sub_BDDA04(v103, v10);
v11 = v103[4] / 0.575;
}
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v103, (const cocos2d::CCPoint *)&unk_155EAB0);
v81 = (cocos2d::CCObject *)EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_flipXBtn_001.png",
(__int64)EditorUI::transformObjectCall,
0,
0,
1,
(const cocos2d::CCPoint *)v103,
0.9,
v11);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v81 + 72LL))(v81, 37);
cocos2d::CCArray::addObject(v6, v81);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v103, (const cocos2d::CCPoint *)&unk_155EAB0);
v82 = (cocos2d::CCObject *)EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_flipYBtn_001.png",
(__int64)EditorUI::transformObjectCall,
0,
0,
1,
(const cocos2d::CCPoint *)v103,
0.9,
v11);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v82 + 72LL))(v82, 38);
cocos2d::CCArray::addObject(v6, v82);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v103, (const cocos2d::CCPoint *)&unk_155EAB0);
v83 = (cocos2d::CCObject *)EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_cwBtn_001.png",
(__int64)EditorUI::transformObjectCall,
0,
0,
1,
(const cocos2d::CCPoint *)v103,
0.9,
v11);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v83 + 72LL))(v83, 39);
cocos2d::CCArray::addObject(v6, v83);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v103, (const cocos2d::CCPoint *)&unk_155EAB0);
v84 = (cocos2d::CCObject *)EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_ccwBtn_001.png",
(__int64)EditorUI::transformObjectCall,
0,
0,
1,
(const cocos2d::CCPoint *)v103,
0.9,
v11);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v84 + 72LL))(v84, 40);
cocos2d::CCArray::addObject(v6, v84);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v103, (const cocos2d::CCPoint *)&unk_155EAB0);
v12 = EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_rotate45rBtn_001.png",
(__int64)EditorUI::transformObjectCall,
0,
0,
1,
(const cocos2d::CCPoint *)v103,
0.9,
v11);
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v12 + 72LL))(v12, 41);
cocos2d::CCArray::addObject(v6, (cocos2d::CCObject *)v12);
*(_QWORD *)v76 = *((_QWORD *)this + 102);
v13 = (*(__int64 (__fastcall **)(float *))(*(_QWORD *)v12 + 64LL))(v12);
v14 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)v13);
CString = (const char *)cocos2d::CCString::getCString(v14);
v104 = 0;
v85 = (cocos2d::CCObject *)CString;
v105 = 0;
v106 = nullptr;
v16 = strlen(CString);
std::string::__init(&v104, v85, v16);
cocos2d::CCDictionary::setObject(v76[0], (cocos2d::CCObject *)v12);
if ( (v104 & 1) != 0 )
operator delete(v106);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v103, (const cocos2d::CCPoint *)&unk_155EAB0);
v17 = EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_rotate45lBtn_001.png",
(__int64)EditorUI::transformObjectCall,
0,
0,
1,
(const cocos2d::CCPoint *)v103,
0.9,
v11);
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v17 + 72LL))(v17, 42);
cocos2d::CCArray::addObject(v6, (cocos2d::CCObject *)v17);
*(_QWORD *)v77 = *((_QWORD *)this + 102);
v18 = (*(__int64 (__fastcall **)(float *))(*(_QWORD *)v17 + 64LL))(v17);
v19 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)v18);
v20 = (const char *)cocos2d::CCString::getCString(v19);
v104 = 0;
v86 = (cocos2d::CCObject *)v20;
v105 = 0;
v106 = nullptr;
v21 = strlen(v20);
std::string::__init(&v104, v86, v21);
cocos2d::CCDictionary::setObject(v77[0], (cocos2d::CCObject *)v17);
if ( (v104 & 1) != 0 )
operator delete(v106);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v103, (const cocos2d::CCPoint *)&unk_155EAB0);
v22 = EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_freeRotateBtn_001.png",
(__int64)EditorUI::activateRotationControl,
0,
0,
1,
(const cocos2d::CCPoint *)v103,
0.9,
v11);
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v22 + 72LL))(v22, 43);
cocos2d::CCArray::addObject(v6, (cocos2d::CCObject *)v22);
*(_QWORD *)v78 = *((_QWORD *)this + 102);
v23 = (*(__int64 (__fastcall **)(float *))(*(_QWORD *)v22 + 64LL))(v22);
v24 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)v23);
v25 = (const char *)cocos2d::CCString::getCString(v24);
v104 = 0;
v87 = (cocos2d::CCObject *)v25;
v105 = 0;
v106 = nullptr;
v26 = strlen(v25);
std::string::__init(&v104, v87, v26);
cocos2d::CCDictionary::setObject(v78[0], (cocos2d::CCObject *)v22);
if ( (v104 & 1) != 0 )
operator delete(v106);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v103, (const cocos2d::CCPoint *)&unk_155EAB0);
v27 = EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_rotateSnapBtn_001.png",
(__int64)EditorUI::transformObjectCall,
0,
0,
1,
(const cocos2d::CCPoint *)v103,
0.9,
v11);
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v27 + 72LL))(v27, 44);
cocos2d::CCArray::addObject(v6, (cocos2d::CCObject *)v27);
v28 = *((_QWORD *)this + 102);
v29 = (*(__int64 (__fastcall **)(float *))(*(_QWORD *)v27 + 64LL))(v27);
v30 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)v29);
v31 = (const char *)cocos2d::CCString::getCString(v30);
v104 = 0;
v88 = (cocos2d::CCObject *)v31;
v105 = 0;
v106 = nullptr;
v32 = strlen(v31);
std::string::__init(&v104, v88, v32);
cocos2d::CCDictionary::setObject(v28, (cocos2d::CCObject *)v27);
if ( (v104 & 1) != 0 )
operator delete(v106);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v103, (const cocos2d::CCPoint *)&unk_155EAB0);
v33 = EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_scaleBtn_001.png",
(__int64)EditorUI::activateScaleControl,
0,
0,
1,
(const cocos2d::CCPoint *)v103,
0.9,
v11);
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v33 + 72LL))(v33, 45);
cocos2d::CCArray::addObject(v6, (cocos2d::CCObject *)v33);
*(_QWORD *)v79 = *((_QWORD *)this + 102);
v34 = (*(__int64 (__fastcall **)(float *))(*(_QWORD *)v33 + 64LL))(v33);
v35 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)v34);
v36 = (const char *)cocos2d::CCString::getCString(v35);
v104 = 0;
v89 = (cocos2d::CCObject *)v36;
v105 = 0;
v106 = nullptr;
v37 = strlen(v36);
std::string::__init(&v104, v89, v37);
cocos2d::CCDictionary::setObject(v79[0], (cocos2d::CCObject *)v33);
if ( (v104 & 1) != 0 )
operator delete(v106);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v103, (const cocos2d::CCPoint *)&unk_155EAB0);
v38 = EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_scaleXYBtn_001.png",
(__int64)EditorUI::activateScaleControl,
0,
0,
1,
(const cocos2d::CCPoint *)v103,
0.9,
v11);
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v38 + 72LL))(v38, 46);
cocos2d::CCArray::addObject(v6, (cocos2d::CCObject *)v38);
v39 = *((_QWORD *)this + 102);
v40 = (*(__int64 (__fastcall **)(float *))(*(_QWORD *)v38 + 64LL))(v38);
v41 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)v40);
v42 = (const char *)cocos2d::CCString::getCString(v41);
v104 = 0;
v90 = (cocos2d::CCObject *)v42;
v105 = 0;
v106 = nullptr;
v43 = strlen(v42);
std::string::__init(&v104, v90, v43);
cocos2d::CCDictionary::setObject(v39, (cocos2d::CCObject *)v38);
if ( (v104 & 1) != 0 )
operator delete(v106);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v103, (const cocos2d::CCPoint *)&unk_155EAB0);
v44 = EditorUI::getSpriteButton(
(__int64)this,
(cocos2d::CCSprite *)"edit_warpBtn_001.png",
(__int64)EditorUI::activateTransformControl,
0,
0,
1,
(const cocos2d::CCPoint *)v103,
0.9,
v11);
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v44 + 72LL))(v44, 47);
cocos2d::CCArray::addObject(v6, (cocos2d::CCObject *)v44);
v45 = *((_QWORD *)this + 102);
v46 = (*(__int64 (__fastcall **)(float *))(*(_QWORD *)v44 + 64LL))(v44);
v47 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)v46);
v48 = (const char *)cocos2d::CCString::getCString(v47);
v104 = 0;
v91 = (cocos2d::CCObject *)v48;
v105 = 0;
v106 = nullptr;
v49 = strlen(v48);
std::string::__init(&v104, v91, v49);
cocos2d::CCDictionary::setObject(v45, (cocos2d::CCObject *)v44);
v50 = (GameManager *)(unsigned __int8)v104;
if ( (v104 & 1) != 0 )
{
operator delete(v106);
if ( !v9 )
goto LABEL_17;
LABEL_20:
v52 = (GameManager *)GameManager::sharedState(v50);
IntGameVariable = (GameManager *)GameManager::getIntGameVariable(v52, "0049");
v80 = (int)IntGameVariable;
v54 = (GameManager *)GameManager::sharedState(IntGameVariable);
v55 = (cocos2d::CCDirector *)GameManager::getIntGameVariable(v54, "0050");
v92 = (int)v55;
v56 = *(float *)&v102 * 0.5;
v57 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v55);
cocos2d::CCDirector::getScreenBottom(v57);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v103, v56, (float)(v58 + *((float *)this + 214)) - 6.0);
v59 = EditButtonBar::create(v6, (const cocos2d::CCPoint *)v103, 0, 0, v80, v92);
v60 = *(_QWORD *)this;
*((_QWORD *)this + 104) = v59;
(*(void (__fastcall **)(EditorUI *))(v60 + 464))(this);
return _stack_chk_guard;
}
if ( v9 )
goto LABEL_20;
LABEL_17:
EditorUI::createDpadMoveMenu(this, v6);
return _stack_chk_guard;
}