{"type": "func", "start": 5370271216, "end": 5370271634, "name": "EditorCommandsPopup::onBuildWindowContent", "pseudocode": "// \n// EditorCommandsPopup::onBuildWindowContent from 0x14017d5f0 to 0x14017d792 (418 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140748cf8\n// > <???> @ 0x140918848\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:27:35 +0000\n// \n\n__int64 __fastcall EditorCommandsPopup::onBuildWindowContent(__int64 a1)\n{\n  EditorCommandsPopup::addCommandButton(a1, \"Regroup\", 1);\n  EditorCommandsPopup::addCommandButton(a1, \"Build Helper\", 2);\n  EditorCommandsPopup::addCommandButton(a1, \"Create Loop\", 3);\n  EditorCommandsPopup::addCommandButton(a1, \"Create Gradient\", 19);\n  EditorCommandsPopup::addCommandButton(a1, \"Align X\", 4);\n  EditorCommandsPopup::addCommandButton(a1, \"Align Y\", 5);\n  EditorCommandsPopup::addCommandButton(a1, \"Distribute X\", 6);\n  EditorCommandsPopup::addCommandButton(a1, \"Distribute Y\", 7);\n  EditorCommandsPopup::addCommandButton(a1, \"Select All\", 8);\n  EditorCommandsPopup::addCommandButton(a1, \"Select All Left\", 9);\n  EditorCommandsPopup::addCommandButton(a1, \"Select All Right\", 10);\n  EditorCommandsPopup::addCommandButton(a1, \"New Group X\", 11);\n  EditorCommandsPopup::addCommandButton(a1, \"New Group Y\", 12);\n  EditorCommandsPopup::addCommandButton(a1, \"Copy + Color\", 13);\n  EditorCommandsPopup::addCommandButton(a1, \"Paste + Color\", 14);\n  EditorCommandsPopup::addCommandButton(a1, \"Create Extras\", 15);\n  EditorCommandsPopup::addCommandButton(a1, \"Unlock Layers\", 16);\n  EditorCommandsPopup::addCommandButton(a1, \"Reset Unused\", 17);\n  EditorCommandsPopup::addCommandButton(a1, \"Uncheck Portals\", 18);\n  return EditorCommandsPopup::layoutCommandButtons(a1);\n}", "assembly": "; \n; EditorCommandsPopup::onBuildWindowContent from 0x14017d5f0 to 0x14017d792 (418 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140748cf8\n; > <???> @ 0x140918848\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:27:35 +0000\n; \npush    rbx                                                            ; +0x0, 0x14017d5f0\nsub     rsp, 20h                                                       ; +0x2, 0x14017d5f2\nmov     r8d, 1                                                         ; +0x6, 0x14017d5f6\nlea     rdx, aRegroup; \"Regroup\"                                       ; +0xc, 0x14017d5fc\nmov     rbx, rcx                                                       ; +0x13, 0x14017d603\ncall    EditorCommandsPopup__addCommandButton                          ; +0x16, 0x14017d606\nmov     r8d, 2                                                         ; +0x1b, 0x14017d60b\nlea     rdx, aBuildHelper; \"Build Helper\"                              ; +0x21, 0x14017d611\nmov     rcx, rbx                                                       ; +0x28, 0x14017d618\ncall    EditorCommandsPopup__addCommandButton                          ; +0x2b, 0x14017d61b\nmov     r8d, 3                                                         ; +0x30, 0x14017d620\nlea     rdx, aCreateLoop; \"Create Loop\"                                ; +0x36, 0x14017d626\nmov     rcx, rbx                                                       ; +0x3d, 0x14017d62d\ncall    EditorCommandsPopup__addCommandButton                          ; +0x40, 0x14017d630\nmov     r8d, 13h                                                       ; +0x45, 0x14017d635\nlea     rdx, aCreateGradient; \"Create Gradient\"                        ; +0x4b, 0x14017d63b\nmov     rcx, rbx                                                       ; +0x52, 0x14017d642\ncall    EditorCommandsPopup__addCommandButton                          ; +0x55, 0x14017d645\nmov     r8d, 4                                                         ; +0x5a, 0x14017d64a\nlea     rdx, aAlignX; \"Align X\"                                        ; +0x60, 0x14017d650\nmov     rcx, rbx                                                       ; +0x67, 0x14017d657\ncall    EditorCommandsPopup__addCommandButton                          ; +0x6a, 0x14017d65a\nmov     r8d, 5                                                         ; +0x6f, 0x14017d65f\nlea     rdx, aAlignY; \"Align Y\"                                        ; +0x75, 0x14017d665\nmov     rcx, rbx                                                       ; +0x7c, 0x14017d66c\ncall    EditorCommandsPopup__addCommandButton                          ; +0x7f, 0x14017d66f\nmov     r8d, 6                                                         ; +0x84, 0x14017d674\nlea     rdx, aDistributeX; \"Distribute X\"                              ; +0x8a, 0x14017d67a\nmov     rcx, rbx                                                       ; +0x91, 0x14017d681\ncall    EditorCommandsPopup__addCommandButton                          ; +0x94, 0x14017d684\nmov     r8d, 7                                                         ; +0x99, 0x14017d689\nlea     rdx, aDistributeY; \"Distribute Y\"                              ; +0x9f, 0x14017d68f\nmov     rcx, rbx                                                       ; +0xa6, 0x14017d696\ncall    EditorCommandsPopup__addCommandButton                          ; +0xa9, 0x14017d699\nmov     r8d, 8                                                         ; +0xae, 0x14017d69e\nlea     rdx, aSelectAll; \"Select All\"                                  ; +0xb4, 0x14017d6a4\nmov     rcx, rbx                                                       ; +0xbb, 0x14017d6ab\ncall    EditorCommandsPopup__addCommandButton                          ; +0xbe, 0x14017d6ae\nmov     r8d, 9                                                         ; +0xc3, 0x14017d6b3\nlea     rdx, aSelectAllLeft; \"Select All Left\"                         ; +0xc9, 0x14017d6b9\nmov     rcx, rbx                                                       ; +0xd0, 0x14017d6c0\ncall    EditorCommandsPopup__addCommandButton                          ; +0xd3, 0x14017d6c3\nmov     r8d, 0Ah                                                       ; +0xd8, 0x14017d6c8\nlea     rdx, aSelectAllRight; \"Select All Right\"                       ; +0xde, 0x14017d6ce\nmov     rcx, rbx                                                       ; +0xe5, 0x14017d6d5\ncall    EditorCommandsPopup__addCommandButton                          ; +0xe8, 0x14017d6d8\nmov     r8d, 0Bh                                                       ; +0xed, 0x14017d6dd\nlea     rdx, aNewGroupX; \"New Group X\"                                 ; +0xf3, 0x14017d6e3\nmov     rcx, rbx                                                       ; +0xfa, 0x14017d6ea\ncall    EditorCommandsPopup__addCommandButton                          ; +0xfd, 0x14017d6ed\nmov     r8d, 0Ch                                                       ; +0x102, 0x14017d6f2\nlea     rdx, aNewGroupY; \"New Group Y\"                                 ; +0x108, 0x14017d6f8\nmov     rcx, rbx                                                       ; +0x10f, 0x14017d6ff\ncall    EditorCommandsPopup__addCommandButton                          ; +0x112, 0x14017d702\nmov     r8d, 0Dh                                                       ; +0x117, 0x14017d707\nlea     rdx, aCopyColor; \"Copy + Color\"                                ; +0x11d, 0x14017d70d\nmov     rcx, rbx                                                       ; +0x124, 0x14017d714\ncall    EditorCommandsPopup__addCommandButton                          ; +0x127, 0x14017d717\nmov     r8d, 0Eh                                                       ; +0x12c, 0x14017d71c\nlea     rdx, aPasteColor; \"Paste + Color\"                              ; +0x132, 0x14017d722\nmov     rcx, rbx                                                       ; +0x139, 0x14017d729\ncall    EditorCommandsPopup__addCommandButton                          ; +0x13c, 0x14017d72c\nmov     r8d, 0Fh                                                       ; +0x141, 0x14017d731\nlea     rdx, aCreateExtras; \"Create Extras\"                            ; +0x147, 0x14017d737\nmov     rcx, rbx                                                       ; +0x14e, 0x14017d73e\ncall    EditorCommandsPopup__addCommandButton                          ; +0x151, 0x14017d741\nmov     r8d, 10h                                                       ; +0x156, 0x14017d746\nlea     rdx, aUnlockLayers; \"Unlock Layers\"                            ; +0x15c, 0x14017d74c\nmov     rcx, rbx                                                       ; +0x163, 0x14017d753\ncall    EditorCommandsPopup__addCommandButton                          ; +0x166, 0x14017d756\nmov     r8d, 11h                                                       ; +0x16b, 0x14017d75b\nlea     rdx, aResetUnused; \"Reset Unused\"                              ; +0x171, 0x14017d761\nmov     rcx, rbx                                                       ; +0x178, 0x14017d768\ncall    EditorCommandsPopup__addCommandButton                          ; +0x17b, 0x14017d76b\nmov     r8d, 12h                                                       ; +0x180, 0x14017d770\nlea     rdx, aUncheckPortals; \"Uncheck Portals\"                        ; +0x186, 0x14017d776\nmov     rcx, rbx                                                       ; +0x18d, 0x14017d77d\ncall    EditorCommandsPopup__addCommandButton                          ; +0x190, 0x14017d780\nmov     rcx, rbx                                                       ; +0x195, 0x14017d785\nadd     rsp, 20h                                                       ; +0x198, 0x14017d788\npop     rbx                                                            ; +0x19c, 0x14017d78c\njmp     EditorCommandsPopup__layoutCommandButtons                      ; +0x19d, 0x14017d78d", "xrefs": ["<???> @ 0x140748cf8", "<???> @ 0x140918848"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}