{"type": "func", "start": 4299970152, "end": 4299970560, "name": "EditorCommandsPopup::onBuildWindowContent", "pseudocode": "// \n// EditorCommandsPopup::onBuildWindowContent from 0x1004c5668 to 0x1004c5800 (408 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100986300\n// \n// This function is hookable on this platform (idp: arm, 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:06:22 +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 0x1004c5668 to 0x1004c5800 (408 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100986300\n; \n; This function is hookable on this platform (idp: arm, 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:06:22 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1004c5668\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1004c566c\nADD             X29, SP, #0x10                                         ; +0x8, 0x1004c5670\nMOV             X19, X0                                                ; +0xc, 0x1004c5674\nADRL            X1, aRegroup; \"Regroup\"                                ; +0x10, 0x1004c5678\nMOV             W2, #1                                                 ; +0x18, 0x1004c5680\nBL              EditorCommandsPopup__addCommandButton                  ; +0x1c, 0x1004c5684\nADRL            X1, aBuildHelper; \"Build Helper\"                       ; +0x20, 0x1004c5688\nMOV             X0, X19                                                ; +0x28, 0x1004c5690\nMOV             W2, #2                                                 ; +0x2c, 0x1004c5694\nBL              EditorCommandsPopup__addCommandButton                  ; +0x30, 0x1004c5698\nADRL            X1, aCreateLoop; \"Create Loop\"                         ; +0x34, 0x1004c569c\nMOV             X0, X19                                                ; +0x3c, 0x1004c56a4\nMOV             W2, #3                                                 ; +0x40, 0x1004c56a8\nBL              EditorCommandsPopup__addCommandButton                  ; +0x44, 0x1004c56ac\nADRL            X1, aCreateGradient; \"Create Gradient\"                 ; +0x48, 0x1004c56b0\nMOV             X0, X19                                                ; +0x50, 0x1004c56b8\nMOV             W2, #0x13                                              ; +0x54, 0x1004c56bc\nBL              EditorCommandsPopup__addCommandButton                  ; +0x58, 0x1004c56c0\nADRL            X1, aAlignX; \"Align X\"                                 ; +0x5c, 0x1004c56c4\nMOV             X0, X19                                                ; +0x64, 0x1004c56cc\nMOV             W2, #4                                                 ; +0x68, 0x1004c56d0\nBL              EditorCommandsPopup__addCommandButton                  ; +0x6c, 0x1004c56d4\nADRL            X1, aAlignY; \"Align Y\"                                 ; +0x70, 0x1004c56d8\nMOV             X0, X19                                                ; +0x78, 0x1004c56e0\nMOV             W2, #5                                                 ; +0x7c, 0x1004c56e4\nBL              EditorCommandsPopup__addCommandButton                  ; +0x80, 0x1004c56e8\nADRL            X1, aDistributeX; \"Distribute X\"                       ; +0x84, 0x1004c56ec\nMOV             X0, X19                                                ; +0x8c, 0x1004c56f4\nMOV             W2, #6                                                 ; +0x90, 0x1004c56f8\nBL              EditorCommandsPopup__addCommandButton                  ; +0x94, 0x1004c56fc\nADRL            X1, aDistributeY; \"Distribute Y\"                       ; +0x98, 0x1004c5700\nMOV             X0, X19                                                ; +0xa0, 0x1004c5708\nMOV             W2, #7                                                 ; +0xa4, 0x1004c570c\nBL              EditorCommandsPopup__addCommandButton                  ; +0xa8, 0x1004c5710\nADRL            X1, aSelectAll; \"Select All\"                           ; +0xac, 0x1004c5714\nMOV             X0, X19                                                ; +0xb4, 0x1004c571c\nMOV             W2, #8                                                 ; +0xb8, 0x1004c5720\nBL              EditorCommandsPopup__addCommandButton                  ; +0xbc, 0x1004c5724\nADRL            X1, aSelectAllLeft; \"Select All Left\"                  ; +0xc0, 0x1004c5728\nMOV             X0, X19                                                ; +0xc8, 0x1004c5730\nMOV             W2, #9                                                 ; +0xcc, 0x1004c5734\nBL              EditorCommandsPopup__addCommandButton                  ; +0xd0, 0x1004c5738\nADRL            X1, aSelectAllRight; \"Select All Right\"                ; +0xd4, 0x1004c573c\nMOV             X0, X19                                                ; +0xdc, 0x1004c5744\nMOV             W2, #0xA                                               ; +0xe0, 0x1004c5748\nBL              EditorCommandsPopup__addCommandButton                  ; +0xe4, 0x1004c574c\nADRL            X1, aNewGroupX; \"New Group X\"                          ; +0xe8, 0x1004c5750\nMOV             X0, X19                                                ; +0xf0, 0x1004c5758\nMOV             W2, #0xB                                               ; +0xf4, 0x1004c575c\nBL              EditorCommandsPopup__addCommandButton                  ; +0xf8, 0x1004c5760\nADRL            X1, aNewGroupY; \"New Group Y\"                          ; +0xfc, 0x1004c5764\nMOV             X0, X19                                                ; +0x104, 0x1004c576c\nMOV             W2, #0xC                                               ; +0x108, 0x1004c5770\nBL              EditorCommandsPopup__addCommandButton                  ; +0x10c, 0x1004c5774\nADRL            X1, aCopyColor; \"Copy + Color\"                         ; +0x110, 0x1004c5778\nMOV             X0, X19                                                ; +0x118, 0x1004c5780\nMOV             W2, #0xD                                               ; +0x11c, 0x1004c5784\nBL              EditorCommandsPopup__addCommandButton                  ; +0x120, 0x1004c5788\nADRL            X1, aPasteColor_0; \"Paste + Color\"                     ; +0x124, 0x1004c578c\nMOV             X0, X19                                                ; +0x12c, 0x1004c5794\nMOV             W2, #0xE                                               ; +0x130, 0x1004c5798\nBL              EditorCommandsPopup__addCommandButton                  ; +0x134, 0x1004c579c\nADRL            X1, aCreateExtras; \"Create Extras\"                     ; +0x138, 0x1004c57a0\nMOV             X0, X19                                                ; +0x140, 0x1004c57a8\nMOV             W2, #0xF                                               ; +0x144, 0x1004c57ac\nBL              EditorCommandsPopup__addCommandButton                  ; +0x148, 0x1004c57b0\nADRL            X1, aUnlockLayers; \"Unlock Layers\"                     ; +0x14c, 0x1004c57b4\nMOV             X0, X19                                                ; +0x154, 0x1004c57bc\nMOV             W2, #0x10                                              ; +0x158, 0x1004c57c0\nBL              EditorCommandsPopup__addCommandButton                  ; +0x15c, 0x1004c57c4\nADRL            X1, aResetUnused; \"Reset Unused\"                       ; +0x160, 0x1004c57c8\nMOV             X0, X19                                                ; +0x168, 0x1004c57d0\nMOV             W2, #0x11                                              ; +0x16c, 0x1004c57d4\nBL              EditorCommandsPopup__addCommandButton                  ; +0x170, 0x1004c57d8\nADRL            X1, aUncheckPortals; \"Uncheck Portals\"                 ; +0x174, 0x1004c57dc\nMOV             X0, X19                                                ; +0x17c, 0x1004c57e4\nMOV             W2, #0x12                                              ; +0x180, 0x1004c57e8\nBL              EditorCommandsPopup__addCommandButton                  ; +0x184, 0x1004c57ec\nMOV             X0, X19                                                ; +0x188, 0x1004c57f0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x18c, 0x1004c57f4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x190, 0x1004c57f8\nB               EditorCommandsPopup__layoutCommandButtons              ; +0x194, 0x1004c57fc", "xrefs": ["<???> @ 0x100986300"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}