{"type": "func", "start": 7843408, "end": 7843648, "name": "EditorCommandsPopup::onBuildWindowContent", "pseudocode": "// \n// EditorCommandsPopup::onBuildWindowContent from 0x77ae50 to 0x77af40 (240 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:23 +0000\n// \n\nvoid __fastcall EditorCommandsPopup::onBuildWindowContent(EditorCommandsPopup *this)\n{\n  EditorCommandsPopup::addCommandButton((int)this, (ButtonSprite *)\"Regroup\", 1);\n  EditorCommandsPopup::addCommandButton((int)this, (ButtonSprite *)\"Build Helper\", 2);\n  EditorCommandsPopup::addCommandButton((int)this, (ButtonSprite *)\"Create Loop\", 3);\n  EditorCommandsPopup::addCommandButton((int)this, (ButtonSprite *)\"Create Gradient\", 19);\n  EditorCommandsPopup::addCommandButton((int)this, (ButtonSprite *)\"Align X\", 4);\n  EditorCommandsPopup::addCommandButton((int)this, (ButtonSprite *)\"Align Y\", 5);\n  EditorCommandsPopup::addCommandButton((int)this, (ButtonSprite *)\"Distribute X\", 6);\n  EditorCommandsPopup::addCommandButton((int)this, (ButtonSprite *)\"Distribute Y\", 7);\n  EditorCommandsPopup::addCommandButton((int)this, (ButtonSprite *)\"Select All\", 8);\n  EditorCommandsPopup::addCommandButton((int)this, (ButtonSprite *)\"Select All Left\", 9);\n  EditorCommandsPopup::addCommandButton((int)this, (ButtonSprite *)\"Select All Right\", 10);\n  EditorCommandsPopup::addCommandButton((int)this, (ButtonSprite *)\"New Group X\", 11);\n  EditorCommandsPopup::addCommandButton((int)this, (ButtonSprite *)\"New Group Y\", 12);\n  EditorCommandsPopup::addCommandButton((int)this, (ButtonSprite *)\"Copy + Color\", 13);\n  EditorCommandsPopup::addCommandButton((int)this, (ButtonSprite *)\"Paste + Color\", 14);\n  EditorCommandsPopup::addCommandButton((int)this, (ButtonSprite *)\"Create Extras\", 15);\n  EditorCommandsPopup::addCommandButton((int)this, (ButtonSprite *)\"Unlock Layers\", 16);\n  EditorCommandsPopup::addCommandButton((int)this, (ButtonSprite *)\"Reset Unused\", 17);\n  EditorCommandsPopup::addCommandButton((int)this, (ButtonSprite *)\"Uncheck Portals\", 18);\n  EditorCommandsPopup::layoutCommandButtons(this);\n}", "assembly": "; \n; EditorCommandsPopup::onBuildWindowContent from 0x77ae50 to 0x77af40 (240 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:23 +0000\n; \nLDR             R1, =(aRegroup - 0x77AE5A); \"Regroup\"                  ; +0x0, 0x77ae50\nMOVS            R2, #1                                                 ; +0x2, 0x77ae52\nPUSH            {R4,LR}                                                ; +0x4, 0x77ae54\nADD             R1, PC; \"Regroup\"                                      ; +0x6, 0x77ae56\nMOV             R4, R0                                                 ; +0x8, 0x77ae58\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0xa, 0x77ae5a\nLDR             R1, =(aBuildHelper - 0x77AE68); \"Build Helper\"         ; +0xe, 0x77ae5e\nMOV             R0, R4; int                                            ; +0x10, 0x77ae60\nMOVS            R2, #2                                                 ; +0x12, 0x77ae62\nADD             R1, PC; \"Build Helper\"                                 ; +0x14, 0x77ae64\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x16, 0x77ae66\nLDR             R1, =(aCreateLoop - 0x77AE74); \"Create Loop\"           ; +0x1a, 0x77ae6a\nMOV             R0, R4; int                                            ; +0x1c, 0x77ae6c\nMOVS            R2, #3                                                 ; +0x1e, 0x77ae6e\nADD             R1, PC; \"Create Loop\"                                  ; +0x20, 0x77ae70\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x22, 0x77ae72\nLDR             R1, =(aCreateGradient_0 - 0x77AE80); \"Create Gradient\" ; +0x26, 0x77ae76\nMOV             R0, R4; int                                            ; +0x28, 0x77ae78\nMOVS            R2, #0x13                                              ; +0x2a, 0x77ae7a\nADD             R1, PC; \"Create Gradient\"                              ; +0x2c, 0x77ae7c\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x2e, 0x77ae7e\nLDR             R1, =(aAlignX - 0x77AE8C); \"Align X\"                   ; +0x32, 0x77ae82\nMOV             R0, R4; int                                            ; +0x34, 0x77ae84\nMOVS            R2, #4                                                 ; +0x36, 0x77ae86\nADD             R1, PC; \"Align X\"                                      ; +0x38, 0x77ae88\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x3a, 0x77ae8a\nLDR             R1, =(aAlignY - 0x77AE98); \"Align Y\"                   ; +0x3e, 0x77ae8e\nMOV             R0, R4; int                                            ; +0x40, 0x77ae90\nMOVS            R2, #5                                                 ; +0x42, 0x77ae92\nADD             R1, PC; \"Align Y\"                                      ; +0x44, 0x77ae94\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x46, 0x77ae96\nLDR             R1, =(aDistributeX - 0x77AEA4); \"Distribute X\"         ; +0x4a, 0x77ae9a\nMOV             R0, R4; int                                            ; +0x4c, 0x77ae9c\nMOVS            R2, #6                                                 ; +0x4e, 0x77ae9e\nADD             R1, PC; \"Distribute X\"                                 ; +0x50, 0x77aea0\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x52, 0x77aea2\nLDR             R1, =(aDistributeY - 0x77AEB0); \"Distribute Y\"         ; +0x56, 0x77aea6\nMOV             R0, R4; int                                            ; +0x58, 0x77aea8\nMOVS            R2, #7                                                 ; +0x5a, 0x77aeaa\nADD             R1, PC; \"Distribute Y\"                                 ; +0x5c, 0x77aeac\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x5e, 0x77aeae\nLDR             R1, =(aSelectAll_0 - 0x77AEBC); \"Select All\"           ; +0x62, 0x77aeb2\nMOV             R0, R4; int                                            ; +0x64, 0x77aeb4\nMOVS            R2, #8                                                 ; +0x66, 0x77aeb6\nADD             R1, PC; \"Select All\"                                   ; +0x68, 0x77aeb8\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x6a, 0x77aeba\nLDR             R1, =(aSelectAllLeft - 0x77AEC8); \"Select All Left\"    ; +0x6e, 0x77aebe\nMOV             R0, R4; int                                            ; +0x70, 0x77aec0\nMOVS            R2, #9                                                 ; +0x72, 0x77aec2\nADD             R1, PC; \"Select All Left\"                              ; +0x74, 0x77aec4\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x76, 0x77aec6\nLDR             R1, =(aSelectAllRight - 0x77AED4); \"Select All Right\"  ; +0x7a, 0x77aeca\nMOV             R0, R4; int                                            ; +0x7c, 0x77aecc\nMOVS            R2, #0xA                                               ; +0x7e, 0x77aece\nADD             R1, PC; \"Select All Right\"                             ; +0x80, 0x77aed0\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x82, 0x77aed2\nLDR             R1, =(aNewGroupX - 0x77AEE0); \"New Group X\"            ; +0x86, 0x77aed6\nMOV             R0, R4; int                                            ; +0x88, 0x77aed8\nMOVS            R2, #0xB                                               ; +0x8a, 0x77aeda\nADD             R1, PC; \"New Group X\"                                  ; +0x8c, 0x77aedc\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x8e, 0x77aede\nLDR             R1, =(aNewGroupY - 0x77AEEC); \"New Group Y\"            ; +0x92, 0x77aee2\nMOV             R0, R4; int                                            ; +0x94, 0x77aee4\nMOVS            R2, #0xC                                               ; +0x96, 0x77aee6\nADD             R1, PC; \"New Group Y\"                                  ; +0x98, 0x77aee8\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0x9a, 0x77aeea\nLDR             R1, =(aCopyColor_0 - 0x77AEF8); \"Copy + Color\"         ; +0x9e, 0x77aeee\nMOV             R0, R4; int                                            ; +0xa0, 0x77aef0\nMOVS            R2, #0xD                                               ; +0xa2, 0x77aef2\nADD             R1, PC; \"Copy + Color\"                                 ; +0xa4, 0x77aef4\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0xa6, 0x77aef6\nLDR             R1, =(aPasteColor_0 - 0x77AF04); \"Paste + Color\"       ; +0xaa, 0x77aefa\nMOV             R0, R4; int                                            ; +0xac, 0x77aefc\nMOVS            R2, #0xE                                               ; +0xae, 0x77aefe\nADD             R1, PC; \"Paste + Color\"                                ; +0xb0, 0x77af00\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0xb2, 0x77af02\nLDR             R1, =(aCreateExtras - 0x77AF10); \"Create Extras\"       ; +0xb6, 0x77af06\nMOV             R0, R4; int                                            ; +0xb8, 0x77af08\nMOVS            R2, #0xF                                               ; +0xba, 0x77af0a\nADD             R1, PC; \"Create Extras\"                                ; +0xbc, 0x77af0c\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0xbe, 0x77af0e\nLDR             R1, =(aUnlockLayers - 0x77AF1C); \"Unlock Layers\"       ; +0xc2, 0x77af12\nMOV             R0, R4; int                                            ; +0xc4, 0x77af14\nMOVS            R2, #0x10                                              ; +0xc6, 0x77af16\nADD             R1, PC; \"Unlock Layers\"                                ; +0xc8, 0x77af18\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0xca, 0x77af1a\nLDR             R1, =(aResetUnused - 0x77AF28); \"Reset Unused\"         ; +0xce, 0x77af1e\nMOV             R0, R4; int                                            ; +0xd0, 0x77af20\nMOVS            R2, #0x11                                              ; +0xd2, 0x77af22\nADD             R1, PC; \"Reset Unused\"                                 ; +0xd4, 0x77af24\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0xd6, 0x77af26\nLDR             R1, =(aUncheckPortals - 0x77AF34); \"Uncheck Portals\"   ; +0xda, 0x77af2a\nMOV             R0, R4; int                                            ; +0xdc, 0x77af2c\nMOVS            R2, #0x12                                              ; +0xde, 0x77af2e\nADD             R1, PC; \"Uncheck Portals\"                              ; +0xe0, 0x77af30\nBL              _ZN19EditorCommandsPopup16addCommandButtonEPKc13EditorCommand; EditorCommandsPopup::addCommandButton(char const*,EditorCommand) ; +0xe2, 0x77af32\nMOV             R0, R4; this                                           ; +0xe6, 0x77af36\nPOP.W           {R4,LR}                                                ; +0xe8, 0x77af38\nB.W             _ZN19EditorCommandsPopup20layoutCommandButtonsEv; EditorCommandsPopup::layoutCommandButtons(void) ; +0xec, 0x77af3c", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}