// // EditorCommandsPopup::onBuildWindowContent from 0x1008de0f0 to 0x1008dea60 (2416 bytes) // // 1 xrefs: // > @ 0x100bb3890 // // 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 12:37:45 +0000 // __int64 __fastcall EditorCommandsPopup::onBuildWindowContent(__int64 a1) { char *v2; // r13 void *v3; // r13 char *v4; // r13 void *v5; // r13 char *v6; // r13 void *v7; // r13 char *v8; // r13 void *v9; // r13 char *v10; // r13 void *v11; // r13 char *v12; // r13 void *v13; // r13 char *v14; // r13 void *v15; // r13 char *v16; // r13 void *v17; // r13 char *v18; // r13 void *v19; // r13 char *v20; // r13 void *v21; // r13 char *v22; // r13 void *v23; // r13 char *v24; // r13 void *v25; // r13 char *v26; // r13 void *v27; // r13 char *v28; // r13 void *v29; // r13 char *v30; // r13 void *v31; // r13 char *v32; // r13 void *v33; // r13 char *v34; // r13 void *v35; // r13 char *v36; // r13 void *v37; // r13 char *v38; // r14 void *v39; // r14 v2 = ButtonSprite::create_1( (__int64)"Regroup", 0x104u, 0, 1u, (__int64)"bigFont.fnt", (__int64)"GJ_button_04.png", 0.80000001, 32.0); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v2 + 160LL))(v2, 0.5); v3 = CCMenuItemSpriteExtra::create((__int64)v2, 0, a1, (__int64)EditorCommandsPopup::onCommand, 0); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v3 + 72LL))(v3, 1); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1048) + 456LL))(*(_QWORD *)(a1 + 1048), v3); v4 = ButtonSprite::create_1( (__int64)"Build Helper", 0x104u, 0, 1u, (__int64)"bigFont.fnt", (__int64)"GJ_button_04.png", 0.80000001, 32.0); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v4 + 160LL))(v4, 0.5); v5 = CCMenuItemSpriteExtra::create((__int64)v4, 0, a1, (__int64)EditorCommandsPopup::onCommand, 0); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v5 + 72LL))(v5, 2); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1048) + 456LL))(*(_QWORD *)(a1 + 1048), v5); v6 = ButtonSprite::create_1( (__int64)"Create Loop", 0x104u, 0, 1u, (__int64)"bigFont.fnt", (__int64)"GJ_button_04.png", 0.80000001, 32.0); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v6 + 160LL))(v6, 0.5); v7 = CCMenuItemSpriteExtra::create((__int64)v6, 0, a1, (__int64)EditorCommandsPopup::onCommand, 0); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v7 + 72LL))(v7, 3); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1048) + 456LL))(*(_QWORD *)(a1 + 1048), v7); v8 = ButtonSprite::create_1( (__int64)"Create Gradient", 0x104u, 0, 1u, (__int64)"bigFont.fnt", (__int64)"GJ_button_04.png", 0.80000001, 32.0); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v8 + 160LL))(v8, 0.5); v9 = CCMenuItemSpriteExtra::create((__int64)v8, 0, a1, (__int64)EditorCommandsPopup::onCommand, 0); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v9 + 72LL))(v9, 19); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1048) + 456LL))(*(_QWORD *)(a1 + 1048), v9); v10 = ButtonSprite::create_1( (__int64)"Align X", 0x104u, 0, 1u, (__int64)"bigFont.fnt", (__int64)"GJ_button_04.png", 0.80000001, 32.0); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v10 + 160LL))(v10, 0.5); v11 = CCMenuItemSpriteExtra::create((__int64)v10, 0, a1, (__int64)EditorCommandsPopup::onCommand, 0); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v11 + 72LL))(v11, 4); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1048) + 456LL))(*(_QWORD *)(a1 + 1048), v11); v12 = ButtonSprite::create_1( (__int64)"Align Y", 0x104u, 0, 1u, (__int64)"bigFont.fnt", (__int64)"GJ_button_04.png", 0.80000001, 32.0); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v12 + 160LL))(v12, 0.5); v13 = CCMenuItemSpriteExtra::create((__int64)v12, 0, a1, (__int64)EditorCommandsPopup::onCommand, 0); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v13 + 72LL))(v13, 5); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1048) + 456LL))(*(_QWORD *)(a1 + 1048), v13); v14 = ButtonSprite::create_1( (__int64)"Distribute X", 0x104u, 0, 1u, (__int64)"bigFont.fnt", (__int64)"GJ_button_04.png", 0.80000001, 32.0); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v14 + 160LL))(v14, 0.5); v15 = CCMenuItemSpriteExtra::create((__int64)v14, 0, a1, (__int64)EditorCommandsPopup::onCommand, 0); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v15 + 72LL))(v15, 6); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1048) + 456LL))(*(_QWORD *)(a1 + 1048), v15); v16 = ButtonSprite::create_1( (__int64)"Distribute Y", 0x104u, 0, 1u, (__int64)"bigFont.fnt", (__int64)"GJ_button_04.png", 0.80000001, 32.0); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v16 + 160LL))(v16, 0.5); v17 = CCMenuItemSpriteExtra::create((__int64)v16, 0, a1, (__int64)EditorCommandsPopup::onCommand, 0); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v17 + 72LL))(v17, 7); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1048) + 456LL))(*(_QWORD *)(a1 + 1048), v17); v18 = ButtonSprite::create_1( (__int64)"Select All", 0x104u, 0, 1u, (__int64)"bigFont.fnt", (__int64)"GJ_button_04.png", 0.80000001, 32.0); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v18 + 160LL))(v18, 0.5); v19 = CCMenuItemSpriteExtra::create((__int64)v18, 0, a1, (__int64)EditorCommandsPopup::onCommand, 0); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v19 + 72LL))(v19, 8); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1048) + 456LL))(*(_QWORD *)(a1 + 1048), v19); v20 = ButtonSprite::create_1( (__int64)"Select All Left", 0x104u, 0, 1u, (__int64)"bigFont.fnt", (__int64)"GJ_button_04.png", 0.80000001, 32.0); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v20 + 160LL))(v20, 0.5); v21 = CCMenuItemSpriteExtra::create((__int64)v20, 0, a1, (__int64)EditorCommandsPopup::onCommand, 0); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v21 + 72LL))(v21, 9); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1048) + 456LL))(*(_QWORD *)(a1 + 1048), v21); v22 = ButtonSprite::create_1( (__int64)"Select All Right", 0x104u, 0, 1u, (__int64)"bigFont.fnt", (__int64)"GJ_button_04.png", 0.80000001, 32.0); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v22 + 160LL))(v22, 0.5); v23 = CCMenuItemSpriteExtra::create((__int64)v22, 0, a1, (__int64)EditorCommandsPopup::onCommand, 0); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v23 + 72LL))(v23, 10); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1048) + 456LL))(*(_QWORD *)(a1 + 1048), v23); v24 = ButtonSprite::create_1( (__int64)"New Group X", 0x104u, 0, 1u, (__int64)"bigFont.fnt", (__int64)"GJ_button_04.png", 0.80000001, 32.0); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v24 + 160LL))(v24, 0.5); v25 = CCMenuItemSpriteExtra::create((__int64)v24, 0, a1, (__int64)EditorCommandsPopup::onCommand, 0); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v25 + 72LL))(v25, 11); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1048) + 456LL))(*(_QWORD *)(a1 + 1048), v25); v26 = ButtonSprite::create_1( (__int64)"New Group Y", 0x104u, 0, 1u, (__int64)"bigFont.fnt", (__int64)"GJ_button_04.png", 0.80000001, 32.0); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v26 + 160LL))(v26, 0.5); v27 = CCMenuItemSpriteExtra::create((__int64)v26, 0, a1, (__int64)EditorCommandsPopup::onCommand, 0); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v27 + 72LL))(v27, 12); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1048) + 456LL))(*(_QWORD *)(a1 + 1048), v27); v28 = ButtonSprite::create_1( (__int64)"Copy + Color", 0x104u, 0, 1u, (__int64)"bigFont.fnt", (__int64)"GJ_button_04.png", 0.80000001, 32.0); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v28 + 160LL))(v28, 0.5); v29 = CCMenuItemSpriteExtra::create((__int64)v28, 0, a1, (__int64)EditorCommandsPopup::onCommand, 0); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v29 + 72LL))(v29, 13); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1048) + 456LL))(*(_QWORD *)(a1 + 1048), v29); v30 = ButtonSprite::create_1( (__int64)"Paste + Color", 0x104u, 0, 1u, (__int64)"bigFont.fnt", (__int64)"GJ_button_04.png", 0.80000001, 32.0); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v30 + 160LL))(v30, 0.5); v31 = CCMenuItemSpriteExtra::create((__int64)v30, 0, a1, (__int64)EditorCommandsPopup::onCommand, 0); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v31 + 72LL))(v31, 14); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1048) + 456LL))(*(_QWORD *)(a1 + 1048), v31); v32 = ButtonSprite::create_1( (__int64)"Create Extras", 0x104u, 0, 1u, (__int64)"bigFont.fnt", (__int64)"GJ_button_04.png", 0.80000001, 32.0); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v32 + 160LL))(v32, 0.5); v33 = CCMenuItemSpriteExtra::create((__int64)v32, 0, a1, (__int64)EditorCommandsPopup::onCommand, 0); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v33 + 72LL))(v33, 15); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1048) + 456LL))(*(_QWORD *)(a1 + 1048), v33); v34 = ButtonSprite::create_1( (__int64)"Unlock Layers", 0x104u, 0, 1u, (__int64)"bigFont.fnt", (__int64)"GJ_button_04.png", 0.80000001, 32.0); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v34 + 160LL))(v34, 0.5); v35 = CCMenuItemSpriteExtra::create((__int64)v34, 0, a1, (__int64)EditorCommandsPopup::onCommand, 0); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v35 + 72LL))(v35, 16); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1048) + 456LL))(*(_QWORD *)(a1 + 1048), v35); v36 = ButtonSprite::create_1( (__int64)"Reset Unused", 0x104u, 0, 1u, (__int64)"bigFont.fnt", (__int64)"GJ_button_04.png", 0.80000001, 32.0); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v36 + 160LL))(v36, 0.5); v37 = CCMenuItemSpriteExtra::create((__int64)v36, 0, a1, (__int64)EditorCommandsPopup::onCommand, 0); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v37 + 72LL))(v37, 17); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1048) + 456LL))(*(_QWORD *)(a1 + 1048), v37); v38 = ButtonSprite::create_1( (__int64)"Uncheck Portals", 0x104u, 0, 1u, (__int64)"bigFont.fnt", (__int64)"GJ_button_04.png", 0.80000001, 32.0); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v38 + 160LL))(v38, 0.5); v39 = CCMenuItemSpriteExtra::create((__int64)v38, 0, a1, (__int64)EditorCommandsPopup::onCommand, 0); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v39 + 72LL))(v39, 18); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1048) + 456LL))(*(_QWORD *)(a1 + 1048), v39); return EditorCommandsPopup::layoutCommandButtons(a1); }