// // EditorUI::setupViewMenu from 0x1401f6e80 to 0x1401f7f58 (4312 bytes) // // 2 xrefs: // > EditorUI::init @ 0x1401ab14c // > @ 0x14091aac8 // // This function is hookable on this platform (idp: pc, 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 11:28:10 +0000 // // Hidden C++ exception states: #wind=2 __int64 __fastcall EditorUI::setupViewMenu(__int64 a1) { __int64 v2; // rax cocos2d::CCObject *v3; // rax __int64 v4; // rcx struct cocos2d::CCArray *v5; // rbx __int64 v6; // rax __int64 v7; // rax __int64 v8; // rax __int64 v9; // rax __int64 v10; // rax __int64 v11; // rax __int64 v12; // rax __int64 v13; // rax __int64 v14; // rax __int64 v15; // rax __int64 v16; // rax __int64 v17; // rax __int64 v18; // rax __int64 v19; // rax __int64 v20; // rax __int64 v21; // rax __int64 v22; // rax __int64 v23; // rax __int64 v24; // rax __int64 v25; // rax __int64 v26; // rax __int64 v27; // rax float v28; // xmm6_4 __int64 v29; // rcx cocos2d::CCDirector *v30; // rax float v31; // xmm0_4 const struct cocos2d::CCPoint *v32; // rax cocos2d::CCArray **v33; // rax __int128 v35; // [rsp+48h] [rbp-39h] BYREF __int64 v36; // [rsp+58h] [rbp-29h] __int64 v37; // [rsp+60h] [rbp-21h] __int128 v38; // [rsp+68h] [rbp-19h] BYREF __int64 v39; // [rsp+78h] [rbp-9h] __int64 v40; // [rsp+80h] [rbp-1h] float v41; // [rsp+E8h] [rbp+67h] BYREF __int128 *v42; // [rsp+F0h] [rbp+6Fh] BYREF __int128 *v43; // [rsp+F8h] [rbp+77h] char v44; // [rsp+100h] [rbp+7Fh] BYREF v2 = cocos2d::CCDirector::sharedDirector(a1); cocos2d::CCDirector::getWinSize(v2, &v41); v3 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(); *(_QWORD *)(a1 + 1424) = v3; cocos2d::CCObject::retain(v3); v5 = (struct cocos2d::CCArray *)cocos2d::CCArray::create(v4); v42 = &v38; v43 = &v35; v38 = 0; v39 = 4; v40 = 15; strcpy((char *)&v38, "0036"); v35 = 0; v36 = 0; v37 = 0; *(_QWORD *)&v35 = sub_14003D460(0x20u); v36 = 27; v37 = 31; strcpy((char *)v35, "edit_previewModeBtn_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, -2.0); EditorUI::createViewButton(a1, (unsigned int)&v35, 9, (unsigned int)&v38, v6, 1067869798, (__int64)v5); v42 = &v38; v43 = &v35; v38 = 0; v39 = 4; v40 = 15; strcpy((char *)&v38, "0045"); v35 = 0; v36 = 0; v37 = 0; *(_QWORD *)&v35 = sub_14003D460(0x20u); v36 = 24; v37 = 31; strcpy((char *)v35, "edit_hitboxesBtn_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, -2.0); EditorUI::createViewButton(a1, (unsigned int)&v35, 11, (unsigned int)&v38, v7, 1067869798, (__int64)v5); v42 = &v38; v43 = &v35; v38 = 0; v39 = 4; v40 = 15; strcpy((char *)&v38, "0121"); v35 = 0; v36 = 0; v37 = 0; *(_QWORD *)&v35 = sub_14003D460(0x20u); v36 = 26; v37 = 31; strcpy((char *)v35, "edit_showHiddenBtn_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, -2.0); EditorUI::createViewButton(a1, (unsigned int)&v35, 10, (unsigned int)&v38, v8, 1067869798, (__int64)v5); v42 = &v38; v43 = &v35; v38 = 0; v39 = 4; v40 = 15; strcpy((char *)&v38, "0209"); v35 = 0; v36 = 0; v37 = 0; *(_QWORD *)&v35 = sub_14003D460(0x20u); v36 = 19; v37 = 31; strcpy((char *)v35, "edit_LDMBtn_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, -2.0); EditorUI::createViewButton(a1, (unsigned int)&v35, 20, (unsigned int)&v38, v9, 1067869798, (__int64)v5); v42 = &v38; v43 = &v35; v38 = 0; v39 = 4; v40 = 15; strcpy((char *)&v38, "0118"); v35 = 0; v36 = 0; v37 = 0; *(_QWORD *)&v35 = sub_14003D460(0x20u); v36 = 21; v37 = 31; strcpy((char *)v35, "edit_animsBtn_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, -1.5); EditorUI::createViewButton(a1, (unsigned int)&v35, 8, (unsigned int)&v38, v10, 1068289229, (__int64)v5); v42 = &v38; v43 = &v35; v38 = 0; v39 = 4; v40 = 15; strcpy((char *)&v38, "0117"); v35 = 0; v36 = 0; v37 = 0; *(_QWORD *)&v35 = sub_14003D460(0x20u); v36 = 25; v37 = 31; strcpy((char *)v35, "edit_particlesBtn_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, -2.0); EditorUI::createViewButton(a1, (unsigned int)&v35, 7, (unsigned int)&v38, v11, 1067869798, (__int64)v5); v42 = &v38; v43 = &v35; v38 = 0; v39 = 4; v40 = 15; strcpy((char *)&v38, "0158"); v35 = 0; v36 = 0; v37 = 0; *(_QWORD *)&v35 = sub_14003D460(0x20u); v36 = 23; v37 = 31; strcpy((char *)v35, "edit_shadersBtn_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, -2.0); EditorUI::createViewButton(a1, (unsigned int)&v35, 6, (unsigned int)&v38, v12, 1067869798, (__int64)v5); v42 = &v38; v43 = &v35; v38 = 0; v39 = 4; v40 = 15; strcpy((char *)&v38, "0037"); v35 = 0; v36 = 0; v37 = 0; *(_QWORD *)&v35 = sub_14003D460(0x20u); v36 = 22; v37 = 31; strcpy((char *)v35, "edit_groundBtn_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, -2.0); EditorUI::createViewButton(a1, (unsigned int)&v35, 5, (unsigned int)&v38, v13, 1067869798, (__int64)v5); v42 = &v38; v43 = &v35; v38 = 0; v39 = 4; v40 = 15; strcpy((char *)&v38, "0041"); v35 = 0; v36 = 0; v37 = 0; *(_QWORD *)&v35 = sub_14003D460(0x20u); v36 = 23; v37 = 31; strcpy((char *)v35, "edit_objInfoBtn_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, -2.0); EditorUI::createViewButton(a1, (unsigned int)&v35, 4, (unsigned int)&v38, v14, 1067869798, (__int64)v5); v42 = &v38; v43 = &v35; v38 = 0; v39 = 4; v40 = 15; strcpy((char *)&v38, "0038"); v35 = 0; v36 = 0; v37 = 0; *(_QWORD *)&v35 = sub_14003D460(0x20u); v36 = 20; v37 = 31; strcpy((char *)v35, "edit_gridBtn_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, -2.0); EditorUI::createViewButton(a1, (unsigned int)&v35, 3, (unsigned int)&v38, v15, 1067869798, (__int64)v5); v42 = &v38; v43 = &v35; v38 = 0; v39 = 4; v40 = 15; strcpy((char *)&v38, "0064"); v35 = 0; v36 = 0; v37 = 0; *(_QWORD *)&v35 = sub_14003D460(0x20u); v36 = 28; v37 = 31; strcpy((char *)v35, "edit_selectFilterBtn_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, -2.0); EditorUI::createViewButton(a1, (unsigned int)&v35, 2, (unsigned int)&v38, v16, 1067869798, (__int64)v5); v42 = &v38; v43 = &v35; v38 = 0; v39 = 4; v40 = 15; strcpy((char *)&v38, "0009"); v35 = 0; v36 = 0; v37 = 0; *(_QWORD *)&v35 = sub_14003D460(0x20u); v36 = 28; v37 = 31; strcpy((char *)v35, "edit_ignoreDamageBtn_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, -2.0); EditorUI::createViewButton(a1, (unsigned int)&v35, 1, (unsigned int)&v38, v17, 1067869798, (__int64)v5); v42 = &v38; v43 = &v35; v38 = 0; v39 = 4; v40 = 15; strcpy((char *)&v38, "0043"); v35 = 0; v36 = 0; v37 = 0; *(_QWORD *)&v35 = sub_14003D460(0x20u); v36 = 27; v37 = 31; strcpy((char *)v35, "edit_effectLinesBtn_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, -2.0); EditorUI::createViewButton(a1, (unsigned int)&v35, 12, (unsigned int)&v38, v18, 1067869798, (__int64)v5); v42 = &v38; v43 = &v35; v38 = 0; v39 = 4; v40 = 15; strcpy((char *)&v38, "0058"); v35 = 0; v36 = 0; v37 = 0; *(_QWORD *)&v35 = sub_14003D460(0x20u); v36 = 29; v37 = 31; strcpy((char *)v35, "edit_durationLinesBtn_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, -2.0); EditorUI::createViewButton(a1, (unsigned int)&v35, 13, (unsigned int)&v38, v19, 1067869798, (__int64)v5); v42 = &v38; v43 = &v35; v38 = 0; v39 = 0; v40 = 15; LOBYTE(v38) = 0; v35 = 0; v36 = 0; v37 = 0; *(_QWORD *)&v35 = sub_14003D460(0x20u); v36 = 25; v37 = 31; strcpy((char *)v35, "edit_songLinesBtn_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, -2.0); EditorUI::createViewButton(a1, (unsigned int)&v35, 14, (unsigned int)&v38, v20, 1067869798, (__int64)v5); v42 = &v38; v43 = &v35; v38 = 0; v39 = 0; v40 = 15; LOBYTE(v38) = 0; v35 = 0; v36 = 0; v37 = 0; *(_QWORD *)&v35 = sub_14003D460(0x20u); v36 = 24; v37 = 31; strcpy((char *)v35, "edit_bpmLinesBtn_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, -2.0); EditorUI::createViewButton(a1, (unsigned int)&v35, 15, (unsigned int)&v38, v21, 1067869798, (__int64)v5); v42 = &v38; v43 = &v35; v38 = 0; v39 = 4; v40 = 15; strcpy((char *)&v38, "0182"); v35 = 0; v36 = 0; v37 = 0; *(_QWORD *)&v35 = sub_14003D460(0x20u); v36 = 29; v37 = 31; strcpy((char *)v35, "edit_keyframeLinesBtn_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, -2.0); EditorUI::createViewButton(a1, (unsigned int)&v35, -16, (unsigned int)&v38, v22, 1067869798, (__int64)v5); v42 = &v38; v43 = &v35; v38 = 0; v39 = 0; v40 = 15; LOBYTE(v38) = 0; v35 = 0; v36 = 0; v37 = 0; *(_QWORD *)&v35 = sub_14003D460(0x20u); v36 = 27; v37 = 31; strcpy((char *)v35, "deathMarker_x_white_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, 0.0); EditorUI::createViewButton(a1, (unsigned int)&v35, 17, (unsigned int)&v38, v23, 1058642330, (__int64)v5); v42 = &v38; v43 = &v35; v38 = 0; v39 = 0; v40 = 15; LOBYTE(v38) = 0; v35 = 0; v36 = 0; v37 = 0; *(_QWORD *)&v35 = sub_14003D460(0x20u); v36 = 30; v37 = 31; strcpy((char *)v35, "deathMarker_red_global_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, 0.0); EditorUI::createViewButton(a1, (unsigned int)&v35, 18, (unsigned int)&v38, v24, 1058642330, (__int64)v5); v42 = &v38; v43 = &v35; v38 = 0; v39 = 0; v40 = 15; LOBYTE(v38) = 0; v35 = 0; v36 = 0; v37 = 0; *(_QWORD *)&v35 = sub_14003D460(0x20u); v36 = 22; v37 = 31; strcpy((char *)v35, "deathMarker_bg_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, 0.0); EditorUI::createViewButton(a1, (unsigned int)&v35, 19, (unsigned int)&v38, v25, 1058642330, (__int64)v5); v42 = &v38; v43 = &v35; v38 = 0; v39 = 0; v40 = 15; LOBYTE(v38) = 0; v35 = 0; v36 = 0; v37 = 0; *(_QWORD *)&v35 = sub_14003D460(0x20u); v36 = 23; v37 = 31; strcpy((char *)v35, "edit_traceInBtn_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, -2.0); EditorUI::createViewButton(a1, (unsigned int)&v35, 21, (unsigned int)&v38, v26, 1067869798, (__int64)v5); v42 = &v38; v43 = &v35; v38 = 0; v39 = 0; v40 = 15; LOBYTE(v38) = 0; v35 = 0; v36 = 0; v37 = 0; *(_QWORD *)&v35 = sub_14003D460(0x20u); v36 = 24; v37 = 31; strcpy((char *)v35, "edit_traceOutBtn_001.png"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v44, 0.0, -2.0); EditorUI::createViewButton(a1, (unsigned int)&v35, 22, (unsigned int)&v38, v27, 1067869798, (__int64)v5); v28 = *(float *)(a1 + 904); v30 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v29); v31 = (float)(cocos2d::CCDirector::getScreenBottom(v30) + v28) - 6.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v42, v41 * 0.5, v31); v33 = EditButtonBar::create(v5, v32, 0, 0, 11, 2); *(_QWORD *)(a1 + 1432) = v33; (*(void (__fastcall **)(__int64, cocos2d::CCArray **, __int64))(*(_QWORD *)a1 + 456LL))(a1, v33, 10); return EditorUI::updateViewButtons(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source