// // EditorUI::createMoveMenu from 0x6f7414 to 0x6f7eb0 (2716 bytes) // // 2 xrefs: // > EditorUI::setupEditMenu @ 0x6f7f0c // > EditorUI::recreateButtonTabs @ 0x6f7fee // // 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:57:40 +0000 // int __fastcall EditorUI::createMoveMenu(EditorUI *this) { cocos2d::CCDictionary *WinSize; // r0 cocos2d::CCObject *v3; // r0 cocos2d::CCArray *v4; // r0 GameManager *v5; // r6 GameManager *v6; // r0 float v7; // s17 cocos2d::CCObject *SpriteButton; // r9 cocos2d::CCObject *v9; // r9 cocos2d::CCObject *v10; // r11 cocos2d::CCObject *v11; // r10 cocos2d::CCObject *v12; // r9 int v13; // r0 int v14; // r0 int v15; // r0 int v16; // r0 cocos2d::CCObject *v17; // r9 cocos2d::CCObject *v18; // r9 cocos2d::CCObject *v19; // r9 cocos2d::CCObject *v20; // r5 cocos2d::CCObject *v21; // r11 int v22; // r10 const char *v23; // r0 cocos2d::CCString *v24; // r0 const char *CString; // r0 size_t v26; // r0 cocos2d::CCObject *v27; // r11 const char *v28; // r1 cocos2d::CCString *v29; // r0 const char *v30; // r0 size_t v31; // r0 cocos2d::CCObject *v32; // r11 const char *v33; // r0 cocos2d::CCString *v34; // r0 const char *v35; // r0 size_t v36; // r0 cocos2d::CCObject *v37; // r11 int v38; // r10 const char *v39; // r0 cocos2d::CCString *v40; // r0 const char *v41; // r0 size_t v42; // r0 cocos2d::CCObject *v43; // r9 const char *v44; // r0 cocos2d::CCString *v45; // r0 const char *v46; // r0 const char *v47; // r11 size_t v48; // r0 cocos2d::CCObject *v49; // r11 int v50; // r10 const char *v51; // r0 cocos2d::CCString *v52; // r0 const char *v53; // r0 size_t v54; // r0 cocos2d::CCObject *v55; // r7 int v56; // r10 const char *v57; // r0 cocos2d::CCString *v58; // r0 const char *v59; // r0 const char *v60; // r11 size_t v61; // r0 GameManager *v62; // r0 GameManager *v63; // r0 GameManager *IntGameVariable; // r7 GameManager *v65; // r0 cocos2d::CCDirector *v66; // r0 float v67; // s16 int v68; // r5 cocos2d::CCDirector *v69; // r0 float v70; // r0 _DWORD *v71; // r0 int v72; // r3 int GameVariable; // [sp+18h] [bp-13Ch] cocos2d::CCObject *v75; // [sp+1Ch] [bp-138h] cocos2d::CCObject *v76; // [sp+1Ch] [bp-138h] cocos2d::CCObject *v77; // [sp+1Ch] [bp-138h] cocos2d::CCObject *v78; // [sp+1Ch] [bp-138h] cocos2d::CCObject *v79; // [sp+1Ch] [bp-138h] cocos2d::CCObject *v80; // [sp+1Ch] [bp-138h] cocos2d::CCObject *v81; // [sp+1Ch] [bp-138h] cocos2d::CCObject *v82; // [sp+1Ch] [bp-138h] cocos2d::CCObject *v83; // [sp+1Ch] [bp-138h] cocos2d::CCObject *v84; // [sp+1Ch] [bp-138h] cocos2d::CCObject *v85; // [sp+1Ch] [bp-138h] cocos2d::CCObject *v86; // [sp+1Ch] [bp-138h] cocos2d::CCObject *v87; // [sp+1Ch] [bp-138h] cocos2d::CCObject *v88; // [sp+1Ch] [bp-138h] cocos2d::CCObject *v89; // [sp+1Ch] [bp-138h] cocos2d::CCObject *v90; // [sp+1Ch] [bp-138h] cocos2d::CCObject *v91; // [sp+1Ch] [bp-138h] cocos2d::CCObject *v92; // [sp+1Ch] [bp-138h] cocos2d::CCObject *v93; // [sp+1Ch] [bp-138h] cocos2d::CCObject *v94; // [sp+1Ch] [bp-138h] int v95; // [sp+24h] [bp-130h] int v96; // [sp+24h] [bp-130h] int v97; // [sp+24h] [bp-130h] float v98[2]; // [sp+2Ch] [bp-128h] BYREF _BYTE v99[8]; // [sp+34h] [bp-120h] BYREF _DWORD (*v100)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+3Ch] [bp-118h] int v101; // [sp+40h] [bp-114h] _DWORD (*v102)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+44h] [bp-110h] int v103; // [sp+48h] [bp-10Ch] _DWORD (*v104)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+4Ch] [bp-108h] int v105; // [sp+50h] [bp-104h] _DWORD (*v106)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+54h] [bp-100h] int v107; // [sp+58h] [bp-FCh] _DWORD (*v108)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+5Ch] [bp-F8h] int v109; // [sp+60h] [bp-F4h] _DWORD (*v110)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+64h] [bp-F0h] int v111; // [sp+68h] [bp-ECh] _DWORD (*v112)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+6Ch] [bp-E8h] int v113; // [sp+70h] [bp-E4h] _DWORD (*v114)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+74h] [bp-E0h] int v115; // [sp+78h] [bp-DCh] _DWORD (*v116)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+7Ch] [bp-D8h] int v117; // [sp+80h] [bp-D4h] _DWORD (*v118)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+84h] [bp-D0h] int v119; // [sp+88h] [bp-CCh] _DWORD (*v120)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+8Ch] [bp-C8h] int v121; // [sp+90h] [bp-C4h] _DWORD (*v122)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+94h] [bp-C0h] int v123; // [sp+98h] [bp-BCh] _DWORD (*v124)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+9Ch] [bp-B8h] int v125; // [sp+A0h] [bp-B4h] _DWORD (*v126)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+A4h] [bp-B0h] int v127; // [sp+A8h] [bp-ACh] _DWORD (*v128)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+ACh] [bp-A8h] int v129; // [sp+B0h] [bp-A4h] _DWORD (*v130)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+B4h] [bp-A0h] int v131; // [sp+B8h] [bp-9Ch] _DWORD (*v132)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+BCh] [bp-98h] int v133; // [sp+C0h] [bp-94h] _DWORD (*v134)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+C4h] [bp-90h] int v135; // [sp+C8h] [bp-8Ch] _DWORD (*v136)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+CCh] [bp-88h] int v137; // [sp+D0h] [bp-84h] _DWORD (*v138)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+D4h] [bp-80h] int v139; // [sp+D8h] [bp-7Ch] _DWORD (*v140)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+DCh] [bp-78h] int v141; // [sp+E0h] [bp-74h] _DWORD (*v142)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+E4h] [bp-70h] int v143; // [sp+E8h] [bp-6Ch] _DWORD (*v144)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+ECh] [bp-68h] int v145; // [sp+F0h] [bp-64h] _DWORD (*v146)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+F4h] [bp-60h] int v147; // [sp+F8h] [bp-5Ch] _DWORD (*v148)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+FCh] [bp-58h] int v149; // [sp+100h] [bp-54h] _DWORD (*v150)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+104h] [bp-50h] int v151; // [sp+108h] [bp-4Ch] _DWORD (*v152)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+10Ch] [bp-48h] int v153; // [sp+110h] [bp-44h] _DWORD (*v154)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+114h] [bp-40h] int v155; // [sp+118h] [bp-3Ch] _DWORD (*v156)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+11Ch] [bp-38h] int v157; // [sp+120h] [bp-34h] _DWORD (*v158)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+124h] [bp-30h] int v159; // [sp+128h] [bp-2Ch] int v160; // [sp+12Ch] [bp-28h] BYREF int v161; // [sp+130h] [bp-24h] int v162; // [sp+134h] [bp-20h] _DWORD (*v163)(EditorUI *__hidden, cocos2d::CCObject *); // [sp+138h] [bp-1Ch] BYREF int v164; // [sp+13Ch] [bp-18h] float v165; // [sp+148h] [bp-Ch] cocos2d::CCDirector::sharedDirector(this); WinSize = (cocos2d::CCDictionary *)cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v98); v3 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(WinSize); *((_DWORD *)this + 152) = v3; v4 = (cocos2d::CCArray *)cocos2d::CCObject::retain(v3); v5 = (GameManager *)cocos2d::CCArray::create(v4); v6 = (GameManager *)GameManager::sharedState(v5); GameVariable = GameManager::getGameVariable(v6, "0191"); if ( GameVariable ) { v101 = 0; v100 = EditorUI::moveObjectCall; v7 = 0.0; SpriteButton = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_upBtn_001.png", (int)EditorUI::moveObjectCall, 0, 0, 1063675494); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)SpriteButton + 36))(SpriteButton, 3); cocos2d::CCArray::addObject(v5, SpriteButton); v103 = 0; v102 = EditorUI::moveObjectCall; v9 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_downBtn_001.png", (int)EditorUI::moveObjectCall, 0, 0, 1063675494); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v9 + 36))(v9, 4); cocos2d::CCArray::addObject(v5, v9); v105 = 0; v104 = EditorUI::moveObjectCall; v75 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_leftBtn_001.png", (int)EditorUI::moveObjectCall, 0, 0, 1063675494); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v75 + 36))(v75, 1); cocos2d::CCArray::addObject(v5, v75); v107 = 0; v106 = EditorUI::moveObjectCall; v76 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_rightBtn_001.png", (int)EditorUI::moveObjectCall, 0, 0, 1063675494); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v76 + 36))(v76, 2); cocos2d::CCArray::addObject(v5, v76); v109 = 0; v108 = EditorUI::moveObjectCall; v77 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_upBtn2_001.png", (int)EditorUI::moveObjectCall, 0, 0, 1063675494); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v77 + 36))(v77, 7); cocos2d::CCArray::addObject(v5, v77); v111 = 0; v110 = EditorUI::moveObjectCall; v78 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_downBtn2_001.png", (int)EditorUI::moveObjectCall, 0, 0, 1063675494); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v78 + 36))(v78, 8); cocos2d::CCArray::addObject(v5, v78); v113 = 0; v112 = EditorUI::moveObjectCall; v79 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_leftBtn2_001.png", (int)EditorUI::moveObjectCall, 0, 0, 1063675494); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v79 + 36))(v79, 5); cocos2d::CCArray::addObject(v5, v79); v115 = 0; v114 = EditorUI::moveObjectCall; v80 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_rightBtn2_001.png", (int)EditorUI::moveObjectCall, 0, 0, 1063675494); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v80 + 36))(v80, 6); cocos2d::CCArray::addObject(v5, v80); v117 = 0; v116 = EditorUI::moveObjectCall; v81 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_upBtn3_001.png", (int)EditorUI::moveObjectCall, 0, 0, 1063675494); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v81 + 36))(v81, 11); cocos2d::CCArray::addObject(v5, v81); v119 = 0; v118 = EditorUI::moveObjectCall; v82 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_downBtn3_001.png", (int)EditorUI::moveObjectCall, 0, 0, 1063675494); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v82 + 36))(v82, 12); cocos2d::CCArray::addObject(v5, v82); v121 = 0; v120 = EditorUI::moveObjectCall; v83 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_leftBtn3_001.png", (int)EditorUI::moveObjectCall, 0, 0, 1063675494); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v83 + 36))(v83, 9); cocos2d::CCArray::addObject(v5, v83); v123 = 0; v122 = EditorUI::moveObjectCall; v84 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_rightBtn3_001.png", (int)EditorUI::moveObjectCall, 0, 0, 1063675494); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v84 + 36))(v84, 10); cocos2d::CCArray::addObject(v5, v84); v125 = 0; v124 = EditorUI::moveObjectCall; v10 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_upBtn_001.png", (int)EditorUI::moveObjectCall, 0, 0, 1063675494); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v10 + 36))(v10, 15); cocos2d::CCArray::addObject(v5, v10); v127 = 0; v126 = EditorUI::moveObjectCall; v11 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_downBtn_001.png", (int)EditorUI::moveObjectCall, 0, 0, 1063675494); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v11 + 36))(v11, 16); cocos2d::CCArray::addObject(v5, v11); v129 = 0; v128 = EditorUI::moveObjectCall; v12 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_leftBtn_001.png", (int)EditorUI::moveObjectCall, 0, 0, 1063675494); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v12 + 36))(v12, 13); cocos2d::CCArray::addObject(v5, v12); v131 = 0; v130 = EditorUI::moveObjectCall; v85 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_rightBtn_001.png", (int)EditorUI::moveObjectCall, 0, 0, 1063675494); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v85 + 36))(v85, 14); cocos2d::CCArray::addObject(v5, v85); v13 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v10 + 536))(v10); (*(void (__fastcall **)(_DWORD, int))(**(_DWORD **)(v13 + 540) + 80))(*(_DWORD *)(v13 + 540), 1061997773); v14 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v11 + 536))(v11); (*(void (__fastcall **)(_DWORD, int))(**(_DWORD **)(v14 + 540) + 80))(*(_DWORD *)(v14 + 540), 1061997773); v15 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v12 + 536))(v12); (*(void (__fastcall **)(_DWORD, int))(**(_DWORD **)(v15 + 540) + 80))(*(_DWORD *)(v15 + 540), 1061997773); v16 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v85 + 536))(v85); (*(void (__fastcall **)(_DWORD, int))(**(_DWORD **)(v16 + 540) + 80))(*(_DWORD *)(v16 + 540), 1061997773); v133 = 0; v132 = EditorUI::moveObjectCall; v17 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_upBtn5_001.png", (int)EditorUI::moveObjectCall, 0, 0, 1063675494); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v17 + 36))(v17, 19); cocos2d::CCArray::addObject(v5, v17); v135 = 0; v134 = EditorUI::moveObjectCall; v18 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_downBtn5_001.png", (int)EditorUI::moveObjectCall, 0, 0, 1063675494); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v18 + 36))(v18, 20); cocos2d::CCArray::addObject(v5, v18); v137 = 0; v136 = EditorUI::moveObjectCall; v19 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_leftBtn5_001.png", (int)EditorUI::moveObjectCall, 0, 0, 1063675494); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v19 + 36))(v19, 17); cocos2d::CCArray::addObject(v5, v19); v139 = 0; v138 = EditorUI::moveObjectCall; v20 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_rightBtn5_001.png", (int)EditorUI::moveObjectCall, 0, 0, 1063675494); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v20 + 36))(v20, 18); cocos2d::CCArray::addObject(v5, v20); } else { sub_6F4ED0(nullptr); sub_6F4E24((float *)&v163); v7 = v165 / 0.575; } v141 = 0; v140 = EditorUI::transformObjectCall; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, (const cocos2d::CCPoint *)&unk_D2DBB0); v86 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_flipXBtn_001.png", (int)v140, v141, 0, 1063675494, 1, (const cocos2d::CCPoint *)&v163, v7); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v86 + 36))(v86, 37); cocos2d::CCArray::addObject(v5, v86); v143 = 0; v142 = EditorUI::transformObjectCall; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, (const cocos2d::CCPoint *)&unk_D2DBB0); v87 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_flipYBtn_001.png", (int)v142, v143, 0, 1063675494, 1, (const cocos2d::CCPoint *)&v163, v7); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v87 + 36))(v87, 38); cocos2d::CCArray::addObject(v5, v87); v145 = 0; v144 = EditorUI::transformObjectCall; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, (const cocos2d::CCPoint *)&unk_D2DBB0); v88 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_cwBtn_001.png", (int)v144, v145, 0, 1063675494, 1, (const cocos2d::CCPoint *)&v163, v7); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v88 + 36))(v88, 39); cocos2d::CCArray::addObject(v5, v88); v147 = 0; v146 = EditorUI::transformObjectCall; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, (const cocos2d::CCPoint *)&unk_D2DBB0); v89 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_ccwBtn_001.png", (int)v146, v147, 0, 1063675494, 1, (const cocos2d::CCPoint *)&v163, v7); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v89 + 36))(v89, 40); cocos2d::CCArray::addObject(v5, v89); v149 = 0; v148 = EditorUI::transformObjectCall; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, (const cocos2d::CCPoint *)&unk_D2DBB0); v21 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_rotate45rBtn_001.png", (int)v148, v149, 0, 1063675494, 1, (const cocos2d::CCPoint *)&v163, v7); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v21 + 36))(v21, 41); cocos2d::CCArray::addObject(v5, v21); v22 = *((_DWORD *)this + 152); v23 = (const char *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v21 + 32))(v21); v24 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v23); CString = (const char *)cocos2d::CCString::getCString(v24); v160 = 0; v161 = 0; v162 = 0; v90 = (cocos2d::CCObject *)CString; v26 = strlen(CString); std::string::__init(&v160, v90, v26); cocos2d::CCDictionary::setObject(v22, v21); std::string::~string((int)&v160); v150 = EditorUI::transformObjectCall; v151 = 0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, (const cocos2d::CCPoint *)&unk_D2DBB0); v27 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_rotate45lBtn_001.png", (int)v150, v151, 0, 1063675494, 1, (const cocos2d::CCPoint *)&v163, v7); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v27 + 36))(v27, 42); cocos2d::CCArray::addObject(v5, v27); v95 = *((_DWORD *)this + 152); v28 = (const char *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v27 + 32))(v27); v29 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v28); v30 = (const char *)cocos2d::CCString::getCString(v29); v160 = 0; v161 = 0; v162 = 0; v91 = (cocos2d::CCObject *)v30; v31 = strlen(v30); std::string::__init(&v160, v91, v31); cocos2d::CCDictionary::setObject(v95, v27); std::string::~string((int)&v160); v153 = 0; v152 = EditorUI::activateRotationControl; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, (const cocos2d::CCPoint *)&unk_D2DBB0); v32 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_freeRotateBtn_001.png", (int)v152, v153, 0, 1063675494, 1, (const cocos2d::CCPoint *)&v163, v7); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v32 + 36))(v32, 43); cocos2d::CCArray::addObject(v5, v32); v96 = *((_DWORD *)this + 152); v33 = (const char *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v32 + 32))(v32); v34 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v33); v35 = (const char *)cocos2d::CCString::getCString(v34); v160 = 0; v161 = 0; v162 = 0; v92 = (cocos2d::CCObject *)v35; v36 = strlen(v35); std::string::__init(&v160, v92, v36); cocos2d::CCDictionary::setObject(v96, v32); std::string::~string((int)&v160); v154 = EditorUI::transformObjectCall; v155 = 0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, (const cocos2d::CCPoint *)&unk_D2DBB0); v37 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_rotateSnapBtn_001.png", (int)v154, v155, 0, 1063675494, 1, (const cocos2d::CCPoint *)&v163, v7); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v37 + 36))(v37, 44); cocos2d::CCArray::addObject(v5, v37); v38 = *((_DWORD *)this + 152); v39 = (const char *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v37 + 32))(v37); v40 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v39); v41 = (const char *)cocos2d::CCString::getCString(v40); v160 = 0; v161 = 0; v162 = 0; v93 = (cocos2d::CCObject *)v41; v42 = strlen(v41); std::string::__init(&v160, v93, v42); cocos2d::CCDictionary::setObject(v38, v37); std::string::~string((int)&v160); v157 = 0; v156 = EditorUI::activateScaleControl; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, (const cocos2d::CCPoint *)&unk_D2DBB0); v43 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_scaleBtn_001.png", (int)v156, v157, 0, 1063675494, 1, (const cocos2d::CCPoint *)&v163, v7); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v43 + 36))(v43, 45); cocos2d::CCArray::addObject(v5, v43); v97 = *((_DWORD *)this + 152); v44 = (const char *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v43 + 32))(v43); v45 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v44); v46 = (const char *)cocos2d::CCString::getCString(v45); v160 = 0; v161 = 0; v162 = 0; v47 = v46; v48 = strlen(v46); std::string::__init(&v160, v47, v48); cocos2d::CCDictionary::setObject(v97, v43); std::string::~string((int)&v160); v158 = EditorUI::activateScaleControl; v159 = 0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v163, (const cocos2d::CCPoint *)&unk_D2DBB0); v49 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_scaleXYBtn_001.png", (int)v158, v159, 0, 1063675494, 1, (const cocos2d::CCPoint *)&v163, v7); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v49 + 36))(v49, 46); cocos2d::CCArray::addObject(v5, v49); v50 = *((_DWORD *)this + 152); v51 = (const char *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v49 + 32))(v49); v52 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v51); v53 = (const char *)cocos2d::CCString::getCString(v52); v160 = 0; v161 = 0; v162 = 0; v94 = (cocos2d::CCObject *)v53; v54 = strlen(v53); std::string::__init(&v160, v94, v54); cocos2d::CCDictionary::setObject(v50, v49); std::string::~string((int)&v160); v164 = 0; v163 = EditorUI::activateTransformControl; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v99, (const cocos2d::CCPoint *)&unk_D2DBB0); v55 = (cocos2d::CCObject *)EditorUI::getSpriteButton( (int)this, (cocos2d::CCSprite *)"edit_warpBtn_001.png", (int)v163, v164, 0, 1063675494, 1, (const cocos2d::CCPoint *)v99, v7); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v55 + 36))(v55, 47); cocos2d::CCArray::addObject(v5, v55); v56 = *((_DWORD *)this + 152); v57 = (const char *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v55 + 32))(v55); v58 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v57); v59 = (const char *)cocos2d::CCString::getCString(v58); v160 = 0; v161 = 0; v162 = 0; v60 = v59; v61 = strlen(v59); std::string::__init(&v160, v60, v61); cocos2d::CCDictionary::setObject(v56, v55); v62 = (GameManager *)std::string::~string((int)&v160); if ( !GameVariable ) return EditorUI::createDpadMoveMenu(this, v5); v63 = (GameManager *)GameManager::sharedState(v62); IntGameVariable = (GameManager *)GameManager::getIntGameVariable(v63, "0049"); v65 = (GameManager *)GameManager::sharedState(IntGameVariable); v66 = (cocos2d::CCDirector *)GameManager::getIntGameVariable(v65, "0050"); v67 = v98[0] * 0.5; v68 = (int)v66; v69 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v66); v70 = COERCE_FLOAT(cocos2d::CCDirector::getScreenBottom(v69)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v99, v67, (float)(v70 + *((float *)this + 158)) - 6.0); v71 = EditButtonBar::create(v5, (const cocos2d::CCPoint *)v99, 0, 0, (int)IntGameVariable, v68); v72 = *(_DWORD *)this; *((_DWORD *)this + 154) = v71; return (*(int (__fastcall **)(EditorUI *, _DWORD *, int))(v72 + 232))(this, v71, 10); }
GD Web Decomp Icon

GD Web Decomp

Raw Source