{"type": "func", "start": 13355016, "end": 13355424, "name": "EditorCommandsPopup::onBuildWindowContent", "pseudocode": "// \n// EditorCommandsPopup::onBuildWindowContent from 0xcbc808 to 0xcbc9a0 (408 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x99b50\n// > <???> @ 0x14fb408\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 13:06:15 +0000\n// \n\n__int64 __fastcall EditorCommandsPopup::onBuildWindowContent(\n        EditorCommandsPopup *this,\n        __int64 a2,\n        __int64 a3,\n        __int64 a4,\n        __int64 a5,\n        __int64 a6,\n        const char *a7)\n{\n  __int64 v8; // x3\n  __int64 v9; // x4\n  __int64 v10; // x5\n  const char *v11; // x6\n  __int64 v12; // x3\n  __int64 v13; // x4\n  __int64 v14; // x5\n  const char *v15; // x6\n  __int64 v16; // x3\n  __int64 v17; // x4\n  __int64 v18; // x5\n  const char *v19; // x6\n  __int64 v20; // x3\n  __int64 v21; // x4\n  __int64 v22; // x5\n  const char *v23; // x6\n  __int64 v24; // x3\n  __int64 v25; // x4\n  __int64 v26; // x5\n  const char *v27; // x6\n  __int64 v28; // x3\n  __int64 v29; // x4\n  __int64 v30; // x5\n  const char *v31; // x6\n  __int64 v32; // x3\n  __int64 v33; // x4\n  __int64 v34; // x5\n  const char *v35; // x6\n  __int64 v36; // x3\n  __int64 v37; // x4\n  __int64 v38; // x5\n  const char *v39; // x6\n  __int64 v40; // x3\n  __int64 v41; // x4\n  __int64 v42; // x5\n  const char *v43; // x6\n  __int64 v44; // x3\n  __int64 v45; // x4\n  __int64 v46; // x5\n  const char *v47; // x6\n  __int64 v48; // x3\n  __int64 v49; // x4\n  __int64 v50; // x5\n  const char *v51; // x6\n  __int64 v52; // x3\n  __int64 v53; // x4\n  __int64 v54; // x5\n  const char *v55; // x6\n  __int64 v56; // x3\n  __int64 v57; // x4\n  __int64 v58; // x5\n  const char *v59; // x6\n  __int64 v60; // x3\n  __int64 v61; // x4\n  __int64 v62; // x5\n  const char *v63; // x6\n  __int64 v64; // x3\n  __int64 v65; // x4\n  __int64 v66; // x5\n  const char *v67; // x6\n  __int64 v68; // x3\n  __int64 v69; // x4\n  __int64 v70; // x5\n  const char *v71; // x6\n  __int64 v72; // x3\n  __int64 v73; // x4\n  __int64 v74; // x5\n  const char *v75; // x6\n  __int64 v76; // x3\n  __int64 v77; // x4\n  __int64 v78; // x5\n  const char *v79; // x6\n\n  EditorCommandsPopup::addCommandButton((__int64)this, (ButtonSprite *)\"Regroup\", 1u, a4, a5, a6, a7);\n  EditorCommandsPopup::addCommandButton((__int64)this, (ButtonSprite *)\"Build Helper\", 2u, v8, v9, v10, v11);\n  EditorCommandsPopup::addCommandButton((__int64)this, (ButtonSprite *)\"Create Loop\", 3u, v12, v13, v14, v15);\n  EditorCommandsPopup::addCommandButton((__int64)this, (ButtonSprite *)\"Create Gradient\", 0x13u, v16, v17, v18, v19);\n  EditorCommandsPopup::addCommandButton((__int64)this, (ButtonSprite *)\"Align X\", 4u, v20, v21, v22, v23);\n  EditorCommandsPopup::addCommandButton((__int64)this, (ButtonSprite *)\"Align Y\", 5u, v24, v25, v26, v27);\n  EditorCommandsPopup::addCommandButton((__int64)this, (ButtonSprite *)\"Distribute X\", 6u, v28, v29, v30, v31);\n  EditorCommandsPopup::addCommandButton((__int64)this, (ButtonSprite *)\"Distribute Y\", 7u, v32, v33, v34, v35);\n  EditorCommandsPopup::addCommandButton((__int64)this, (ButtonSprite *)\"Select All\", 8u, v36, v37, v38, v39);\n  EditorCommandsPopup::addCommandButton((__int64)this, (ButtonSprite *)\"Select All Left\", 9u, v40, v41, v42, v43);\n  EditorCommandsPopup::addCommandButton((__int64)this, (ButtonSprite *)\"Select All Right\", 0xAu, v44, v45, v46, v47);\n  EditorCommandsPopup::addCommandButton((__int64)this, (ButtonSprite *)\"New Group X\", 0xBu, v48, v49, v50, v51);\n  EditorCommandsPopup::addCommandButton((__int64)this, (ButtonSprite *)\"New Group Y\", 0xCu, v52, v53, v54, v55);\n  EditorCommandsPopup::addCommandButton((__int64)this, (ButtonSprite *)\"Copy + Color\", 0xDu, v56, v57, v58, v59);\n  EditorCommandsPopup::addCommandButton((__int64)this, (ButtonSprite *)\"Paste + Color\", 0xEu, v60, v61, v62, v63);\n  EditorCommandsPopup::addCommandButton((__int64)this, (ButtonSprite *)\"Create Extras\", 0xFu, v64, v65, v66, v67);\n  EditorCommandsPopup::addCommandButton((__int64)this, (ButtonSprite *)\"Unlock Layers\", 0x10u, v68, v69, v70, v71);\n  EditorCommandsPopup::addCommandButton((__int64)this, (ButtonSprite *)\"Reset Unused\", 0x11u, v72, v73, v74, v75);\n  EditorCommandsPopup::addCommandButton((__int64)this, (ButtonSprite *)\"Uncheck Portals\", 0x12u, v76, v77, v78, v79);\n  return EditorCommandsPopup::layoutCommandButtons(this);\n}", "assembly": "; \n; EditorCommandsPopup::onBuildWindowContent from 0xcbc808 to 0xcbc9a0 (408 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x99b50\n; > <???> @ 0x14fb408\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 13:06:15 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0xcbc808\nADRP            X1, #aRegroup@PAGE; \"Regroup\"                          ; +0x4, 0xcbc80c\nMOV             W2, #1                                                 ; +0x8, 0xcbc810\nMOV             X29, SP                                                ; +0xc, 0xcbc814\nADD             X1, X1, #aRegroup@PAGEOFF; \"Regroup\"                   ; +0x10, 0xcbc818\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x14, 0xcbc81c\nMOV             X19, X0                                                ; +0x18, 0xcbc820\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x1c, 0xcbc824\nADRP            X1, #aBuildHelper@PAGE; \"Build Helper\"                 ; +0x20, 0xcbc828\nMOV             X0, X19; int                                           ; +0x24, 0xcbc82c\nADD             X1, X1, #aBuildHelper@PAGEOFF; \"Build Helper\"          ; +0x28, 0xcbc830\nMOV             W2, #2                                                 ; +0x2c, 0xcbc834\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x30, 0xcbc838\nADRP            X1, #aCreateLoop@PAGE; \"Create Loop\"                   ; +0x34, 0xcbc83c\nMOV             X0, X19; int                                           ; +0x38, 0xcbc840\nADD             X1, X1, #aCreateLoop@PAGEOFF; \"Create Loop\"            ; +0x3c, 0xcbc844\nMOV             W2, #3                                                 ; +0x40, 0xcbc848\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x44, 0xcbc84c\nADRP            X1, #aCreateGradient@PAGE; \"Create Gradient\"           ; +0x48, 0xcbc850\nMOV             X0, X19; int                                           ; +0x4c, 0xcbc854\nADD             X1, X1, #aCreateGradient@PAGEOFF; \"Create Gradient\"    ; +0x50, 0xcbc858\nMOV             W2, #0x13                                              ; +0x54, 0xcbc85c\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x58, 0xcbc860\nADRP            X1, #aAlignX@PAGE; \"Align X\"                           ; +0x5c, 0xcbc864\nMOV             X0, X19; int                                           ; +0x60, 0xcbc868\nADD             X1, X1, #aAlignX@PAGEOFF; \"Align X\"                    ; +0x64, 0xcbc86c\nMOV             W2, #4                                                 ; +0x68, 0xcbc870\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x6c, 0xcbc874\nADRP            X1, #aAlignY@PAGE; \"Align Y\"                           ; +0x70, 0xcbc878\nMOV             X0, X19; int                                           ; +0x74, 0xcbc87c\nADD             X1, X1, #aAlignY@PAGEOFF; \"Align Y\"                    ; +0x78, 0xcbc880\nMOV             W2, #5                                                 ; +0x7c, 0xcbc884\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x80, 0xcbc888\nADRP            X1, #aDistributeX@PAGE; \"Distribute X\"                 ; +0x84, 0xcbc88c\nMOV             X0, X19; int                                           ; +0x88, 0xcbc890\nADD             X1, X1, #aDistributeX@PAGEOFF; \"Distribute X\"          ; +0x8c, 0xcbc894\nMOV             W2, #6                                                 ; +0x90, 0xcbc898\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x94, 0xcbc89c\nADRP            X1, #aDistributeY@PAGE; \"Distribute Y\"                 ; +0x98, 0xcbc8a0\nMOV             X0, X19; int                                           ; +0x9c, 0xcbc8a4\nADD             X1, X1, #aDistributeY@PAGEOFF; \"Distribute Y\"          ; +0xa0, 0xcbc8a8\nMOV             W2, #7                                                 ; +0xa4, 0xcbc8ac\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0xa8, 0xcbc8b0\nADRP            X1, #aSelectAll@PAGE; \"Select All\"                     ; +0xac, 0xcbc8b4\nMOV             X0, X19; int                                           ; +0xb0, 0xcbc8b8\nADD             X1, X1, #aSelectAll@PAGEOFF; \"Select All\"              ; +0xb4, 0xcbc8bc\nMOV             W2, #8                                                 ; +0xb8, 0xcbc8c0\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0xbc, 0xcbc8c4\nADRP            X1, #aSelectAllLeft@PAGE; \"Select All Left\"            ; +0xc0, 0xcbc8c8\nMOV             X0, X19; int                                           ; +0xc4, 0xcbc8cc\nADD             X1, X1, #aSelectAllLeft@PAGEOFF; \"Select All Left\"     ; +0xc8, 0xcbc8d0\nMOV             W2, #9                                                 ; +0xcc, 0xcbc8d4\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0xd0, 0xcbc8d8\nADRP            X1, #aSelectAllRight@PAGE; \"Select All Right\"          ; +0xd4, 0xcbc8dc\nMOV             X0, X19; int                                           ; +0xd8, 0xcbc8e0\nADD             X1, X1, #aSelectAllRight@PAGEOFF; \"Select All Right\"   ; +0xdc, 0xcbc8e4\nMOV             W2, #0xA                                               ; +0xe0, 0xcbc8e8\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0xe4, 0xcbc8ec\nADRP            X1, #aNewGroupX@PAGE; \"New Group X\"                    ; +0xe8, 0xcbc8f0\nMOV             X0, X19; int                                           ; +0xec, 0xcbc8f4\nADD             X1, X1, #aNewGroupX@PAGEOFF; \"New Group X\"             ; +0xf0, 0xcbc8f8\nMOV             W2, #0xB                                               ; +0xf4, 0xcbc8fc\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0xf8, 0xcbc900\nADRP            X1, #aNewGroupY@PAGE; \"New Group Y\"                    ; +0xfc, 0xcbc904\nMOV             X0, X19; int                                           ; +0x100, 0xcbc908\nADD             X1, X1, #aNewGroupY@PAGEOFF; \"New Group Y\"             ; +0x104, 0xcbc90c\nMOV             W2, #0xC                                               ; +0x108, 0xcbc910\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x10c, 0xcbc914\nADRP            X1, #aCopyColor@PAGE; \"Copy + Color\"                   ; +0x110, 0xcbc918\nMOV             X0, X19; int                                           ; +0x114, 0xcbc91c\nADD             X1, X1, #aCopyColor@PAGEOFF; \"Copy + Color\"            ; +0x118, 0xcbc920\nMOV             W2, #0xD                                               ; +0x11c, 0xcbc924\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x120, 0xcbc928\nADRP            X1, #aPasteColor_0@PAGE; \"Paste + Color\"               ; +0x124, 0xcbc92c\nMOV             X0, X19; int                                           ; +0x128, 0xcbc930\nADD             X1, X1, #aPasteColor_0@PAGEOFF; \"Paste + Color\"        ; +0x12c, 0xcbc934\nMOV             W2, #0xE                                               ; +0x130, 0xcbc938\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x134, 0xcbc93c\nADRP            X1, #aCreateExtras@PAGE; \"Create Extras\"               ; +0x138, 0xcbc940\nMOV             X0, X19; int                                           ; +0x13c, 0xcbc944\nADD             X1, X1, #aCreateExtras@PAGEOFF; \"Create Extras\"        ; +0x140, 0xcbc948\nMOV             W2, #0xF                                               ; +0x144, 0xcbc94c\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x148, 0xcbc950\nADRP            X1, #aUnlockLayers@PAGE; \"Unlock Layers\"               ; +0x14c, 0xcbc954\nMOV             X0, X19; int                                           ; +0x150, 0xcbc958\nADD             X1, X1, #aUnlockLayers@PAGEOFF; \"Unlock Layers\"        ; +0x154, 0xcbc95c\nMOV             W2, #0x10                                              ; +0x158, 0xcbc960\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x15c, 0xcbc964\nADRP            X1, #aResetUnused@PAGE; \"Reset Unused\"                 ; +0x160, 0xcbc968\nMOV             X0, X19; int                                           ; +0x164, 0xcbc96c\nADD             X1, X1, #aResetUnused@PAGEOFF; \"Reset Unused\"          ; +0x168, 0xcbc970\nMOV             W2, #0x11                                              ; +0x16c, 0xcbc974\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x170, 0xcbc978\nADRP            X1, #aUncheckPortals@PAGE; \"Uncheck Portals\"           ; +0x174, 0xcbc97c\nMOV             X0, X19; int                                           ; +0x178, 0xcbc980\nADD             X1, X1, #aUncheckPortals@PAGEOFF; \"Uncheck Portals\"    ; +0x17c, 0xcbc984\nMOV             W2, #0x12                                              ; +0x180, 0xcbc988\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x184, 0xcbc98c\nMOV             X0, X19; this                                          ; +0x188, 0xcbc990\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x18c, 0xcbc994\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x190, 0xcbc998\nB               _ZN19EditorCommandsPopup20layoutCommandButtonsEv; EditorCommandsPopup::layoutCommandButtons(void) ; +0x194, 0xcbc99c", "xrefs": ["<???> @ 0x99b50", "<???> @ 0x14fb408"], "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"}