{"type": "func", "start": 4296696776, "end": 4296696956, "name": "EditorUI::selectAll", "pseudocode": "// \n// EditorUI::selectAll from 0x1001a63c8 to 0x1001a647c (180 bytes)\n// \n// 2 xrefs:\n// > EditorUI::handleEditorAction @ 0x100162f80\n// > EditorCommandsPopup::onCommand @ 0x1004c5b48\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:00:03 +0000\n// \n\n__int64 __fastcall EditorUI::selectAll(__int64 a1)\n{\n  __int64 AllObjects; // x20\n  __int64 v3; // x21\n  __int64 v4; // x22\n  __int64 v5; // x23\n\n  AllObjects = LevelEditorLayer::getAllObjects(*(_QWORD *)(a1 + 1440));\n  v3 = sub_1002E736C(AllObjects);\n  if ( (unsigned int)sub_1002E757C(AllObjects) )\n  {\n    v4 = 0;\n    do\n    {\n      v5 = sub_1002E75A0(AllObjects, v4);\n      if ( (unsigned int)LevelEditorLayer::validGroup(*(_QWORD *)(a1 + 1440), v5, 0) )\n        sub_1002E74E0(v3, v5);\n      v4 = (unsigned int)(v4 + 1);\n    }\n    while ( (unsigned int)v4 < (unsigned int)sub_1002E757C(AllObjects) );\n  }\n  EditorUI::processSelectObjects(a1, v3);\n  EditorUI::deactivateRotationControl(a1);\n  EditorUI::deactivateScaleControl(a1);\n  return EditorUI::deactivateTransformControl(a1);\n}", "assembly": "; \n; EditorUI::selectAll from 0x1001a63c8 to 0x1001a647c (180 bytes)\n; \n; 2 xrefs:\n; > EditorUI::handleEditorAction @ 0x100162f80\n; > EditorCommandsPopup::onCommand @ 0x1004c5b48\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:00:03 +0000\n; \nSTP             X24, X23, [SP,#-0x10+var_30]!                          ; +0x0, 0x1001a63c8\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x1001a63cc\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x1001a63d0\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x1001a63d4\nADD             X29, SP, #0x30                                         ; +0x10, 0x1001a63d8\nMOV             X19, X0                                                ; +0x14, 0x1001a63dc\nLDR             X0, [X0,#0x5A0]                                        ; +0x18, 0x1001a63e0\nBL              LevelEditorLayer__getAllObjects                        ; +0x1c, 0x1001a63e4\nMOV             X20, X0                                                ; +0x20, 0x1001a63e8\nBL              sub_1002E736C                                          ; +0x24, 0x1001a63ec\nMOV             X21, X0                                                ; +0x28, 0x1001a63f0\nMOV             X0, X20                                                ; +0x2c, 0x1001a63f4\nBL              sub_1002E757C                                          ; +0x30, 0x1001a63f8\nCBZ             W0, loc_1001A6448                                      ; +0x34, 0x1001a63fc\nMOV             W22, #0                                                ; +0x38, 0x1001a6400\nMOV             X0, X20                                                ; +0x3c, 0x1001a6404\nMOV             X1, X22                                                ; +0x40, 0x1001a6408\nBL              sub_1002E75A0                                          ; +0x44, 0x1001a640c\nMOV             X23, X0                                                ; +0x48, 0x1001a6410\nLDR             X0, [X19,#0x5A0]                                       ; +0x4c, 0x1001a6414\nMOV             X1, X23                                                ; +0x50, 0x1001a6418\nMOV             W2, #0                                                 ; +0x54, 0x1001a641c\nBL              LevelEditorLayer__validGroup                           ; +0x58, 0x1001a6420\nCBZ             W0, loc_1001A6434                                      ; +0x5c, 0x1001a6424\nMOV             X0, X21                                                ; +0x60, 0x1001a6428\nMOV             X1, X23                                                ; +0x64, 0x1001a642c\nBL              sub_1002E74E0                                          ; +0x68, 0x1001a6430\nADD             W22, W22, #1                                           ; +0x6c, 0x1001a6434\nMOV             X0, X20                                                ; +0x70, 0x1001a6438\nBL              sub_1002E757C                                          ; +0x74, 0x1001a643c\nCMP             W22, W0                                                ; +0x78, 0x1001a6440\nB.CC            loc_1001A6404                                          ; +0x7c, 0x1001a6444\nMOV             X0, X19                                                ; +0x80, 0x1001a6448\nMOV             X1, X21                                                ; +0x84, 0x1001a644c\nBL              EditorUI__processSelectObjects                         ; +0x88, 0x1001a6450\nMOV             X0, X19                                                ; +0x8c, 0x1001a6454\nBL              EditorUI__deactivateRotationControl                    ; +0x90, 0x1001a6458\nMOV             X0, X19                                                ; +0x94, 0x1001a645c\nBL              EditorUI__deactivateScaleControl                       ; +0x98, 0x1001a6460\nMOV             X0, X19                                                ; +0x9c, 0x1001a6464\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0xa0, 0x1001a6468\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0xa4, 0x1001a646c\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0xa8, 0x1001a6470\nLDP             X24, X23, [SP+0x30+var_30],#0x40                       ; +0xac, 0x1001a6474\nB               EditorUI__deactivateTransformControl                   ; +0xb0, 0x1001a6478", "xrefs": ["EditorUI::handleEditorAction @ 0x100162f80", "EditorCommandsPopup::onCommand @ 0x1004c5b48"], "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"}