// // EditorUI::setupViewMenu from 0x70c85c to 0x70d23e (2530 bytes) // // 1 xrefs: // > EditorUI::init @ 0x48b17c // // 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:42 +0000 // char *__fastcall EditorUI::setupViewMenu(EditorUI *this) { cocos2d::CCDictionary *WinSize; // r0 cocos2d::CCObject *v3; // r0 cocos2d::CCArray *v4; // r0 cocos2d::CCArray *v5; // r0 cocos2d::CCArray *v6; // r7 cocos2d::CCDirector *v7; // r0 float v8; // s16 cocos2d::CCDirector *v9; // r0 float v10; // r0 _DWORD *v11; // r0 int v12; // r3 float v14[2]; // [sp+14h] [bp-30h] BYREF _BYTE v15[8]; // [sp+1Ch] [bp-28h] BYREF int v16; // [sp+24h] [bp-20h] BYREF int v17; // [sp+28h] [bp-1Ch] int v18; // [sp+2Ch] [bp-18h] int v19; // [sp+30h] [bp-14h] BYREF int v20; // [sp+34h] [bp-10h] int v21; // [sp+38h] [bp-Ch] cocos2d::CCDirector::sharedDirector(this); WinSize = (cocos2d::CCDictionary *)cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v14); v3 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(WinSize); *((_DWORD *)this + 227) = v3; v4 = (cocos2d::CCArray *)cocos2d::CCObject::retain(v3); v5 = (cocos2d::CCArray *)cocos2d::CCArray::create(v4); v16 = 0; v17 = 0; v18 = 0; v6 = v5; std::string::__init(&v16, "edit_previewModeBtn_001.png", 0x1Bu); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, "0036", 4u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, -2.0); EditorUI::createViewButton( (int)this, (char *)&v16, 9, (unsigned __int8 *)&v19, (cocos2d::CCPoint *)v15, 1067869798, v6); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "edit_hitboxesBtn_001.png", 0x18u); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, "0045", 4u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, -2.0); EditorUI::createViewButton( (int)this, (char *)&v16, 11, (unsigned __int8 *)&v19, (cocos2d::CCPoint *)v15, 1067869798, v6); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "edit_showHiddenBtn_001.png", 0x1Au); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, "0121", 4u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, -2.0); EditorUI::createViewButton( (int)this, (char *)&v16, 10, (unsigned __int8 *)&v19, (cocos2d::CCPoint *)v15, 1067869798, v6); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "edit_LDMBtn_001.png", 0x13u); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, "0209", 4u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, -2.0); EditorUI::createViewButton( (int)this, (char *)&v16, 20, (unsigned __int8 *)&v19, (cocos2d::CCPoint *)v15, 1067869798, v6); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "edit_animsBtn_001.png", 0x15u); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, "0118", 4u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, -1.5); EditorUI::createViewButton( (int)this, (char *)&v16, 8, (unsigned __int8 *)&v19, (cocos2d::CCPoint *)v15, 1068289229, v6); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "edit_particlesBtn_001.png", 0x19u); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, "0117", 4u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, -2.0); EditorUI::createViewButton( (int)this, (char *)&v16, 7, (unsigned __int8 *)&v19, (cocos2d::CCPoint *)v15, 1067869798, v6); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "edit_shadersBtn_001.png", 0x17u); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, "0158", 4u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, -2.0); EditorUI::createViewButton( (int)this, (char *)&v16, 6, (unsigned __int8 *)&v19, (cocos2d::CCPoint *)v15, 1067869798, v6); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "edit_groundBtn_001.png", 0x16u); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, "0037", 4u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, -2.0); EditorUI::createViewButton( (int)this, (char *)&v16, 5, (unsigned __int8 *)&v19, (cocos2d::CCPoint *)v15, 1067869798, v6); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "edit_objInfoBtn_001.png", 0x17u); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, "0041", 4u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, -2.0); EditorUI::createViewButton( (int)this, (char *)&v16, 4, (unsigned __int8 *)&v19, (cocos2d::CCPoint *)v15, 1067869798, v6); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "edit_gridBtn_001.png", 0x14u); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, "0038", 4u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, -2.0); EditorUI::createViewButton( (int)this, (char *)&v16, 3, (unsigned __int8 *)&v19, (cocos2d::CCPoint *)v15, 1067869798, v6); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "edit_selectFilterBtn_001.png", 0x1Cu); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, "0064", 4u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, -2.0); EditorUI::createViewButton( (int)this, (char *)&v16, 2, (unsigned __int8 *)&v19, (cocos2d::CCPoint *)v15, 1067869798, v6); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "edit_ignoreDamageBtn_001.png", 0x1Cu); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, "0009", 4u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, -2.0); EditorUI::createViewButton( (int)this, (char *)&v16, 1, (unsigned __int8 *)&v19, (cocos2d::CCPoint *)v15, 1067869798, v6); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "edit_effectLinesBtn_001.png", 0x1Bu); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, "0043", 4u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, -2.0); EditorUI::createViewButton( (int)this, (char *)&v16, 12, (unsigned __int8 *)&v19, (cocos2d::CCPoint *)v15, 1067869798, v6); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "edit_durationLinesBtn_001.png", 0x1Du); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, "0058", 4u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, -2.0); EditorUI::createViewButton( (int)this, (char *)&v16, 13, (unsigned __int8 *)&v19, (cocos2d::CCPoint *)v15, 1067869798, v6); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "edit_songLinesBtn_001.png", 0x19u); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, &unk_B6B226, 0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, -2.0); EditorUI::createViewButton( (int)this, (char *)&v16, 14, (unsigned __int8 *)&v19, (cocos2d::CCPoint *)v15, 1067869798, v6); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "edit_bpmLinesBtn_001.png", 0x18u); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, &unk_B6B226, 0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, -2.0); EditorUI::createViewButton( (int)this, (char *)&v16, 15, (unsigned __int8 *)&v19, (cocos2d::CCPoint *)v15, 1067869798, v6); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "edit_keyframeLinesBtn_001.png", 0x1Du); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, "0182", 4u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, -2.0); EditorUI::createViewButton( (int)this, (char *)&v16, -16, (unsigned __int8 *)&v19, (cocos2d::CCPoint *)v15, 1067869798, v6); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "deathMarker_x_white_001.png", 0x1Bu); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, &unk_B6B226, 0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, 0.0); EditorUI::createViewButton( (int)this, (char *)&v16, 17, (unsigned __int8 *)&v19, (cocos2d::CCPoint *)v15, 1058642330, v6); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "deathMarker_red_global_001.png", 0x1Eu); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, &unk_B6B226, 0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, 0.0); EditorUI::createViewButton( (int)this, (char *)&v16, 18, (unsigned __int8 *)&v19, (cocos2d::CCPoint *)v15, 1058642330, v6); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "deathMarker_bg_001.png", 0x16u); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, &unk_B6B226, 0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, 0.0); EditorUI::createViewButton( (int)this, (char *)&v16, 19, (unsigned __int8 *)&v19, (cocos2d::CCPoint *)v15, 1058642330, v6); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "edit_traceInBtn_001.png", 0x17u); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, &unk_B6B226, 0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, -2.0); EditorUI::createViewButton( (int)this, (char *)&v16, 21, (unsigned __int8 *)&v19, (cocos2d::CCPoint *)v15, 1067869798, v6); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "edit_traceOutBtn_001.png", 0x18u); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, &unk_B6B226, 0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 0.0, -2.0); EditorUI::createViewButton( (int)this, (char *)&v16, 22, (unsigned __int8 *)&v19, (cocos2d::CCPoint *)v15, 1067869798, v6); std::string::~string((int)&v19); v7 = (cocos2d::CCDirector *)std::string::~string((int)&v16); v8 = v14[0] * 0.5; v9 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v7); v10 = COERCE_FLOAT(cocos2d::CCDirector::getScreenBottom(v9)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, v8, (float)(v10 + *((float *)this + 158)) - 6.0); v11 = EditButtonBar::create(v6, (const cocos2d::CCPoint *)v15, 0, 0, 11, 2); v12 = *(_DWORD *)this; *((_DWORD *)this + 228) = v11; (*(void (__fastcall **)(EditorUI *, _DWORD *, int))(v12 + 232))(this, v11, 10); return EditorUI::updateViewButtons((char *)this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source