{"type": "func", "start": 4296698924, "end": 4296699080, "name": "EditorUI::getSelectedObjects", "pseudocode": "// \n// EditorUI::getSelectedObjects from 0x1001a6c2c to 0x1001a6cc8 (156 bytes)\n// \n// 14 xrefs:\n// > EditorUI::handleEditorAction @ 0x100162f5c\n// > EditorUI::handleEditorAction @ 0x100162f90\n// > EditorUI::handleEditorAction @ 0x100163188\n// > EditorUI::handleEditorAction @ 0x100163404\n// > EditorUI::handleEditorAction @ 0x1001635d4\n// > EditorUI::handleEditorAction @ 0x100163630\n// > LevelEditorLayer::handleAction @ 0x1003fbdcc\n// > EditorUI::createUndoSelectObject @ 0x100474788\n// > sub_10047C854 @ 0x10047c8d8\n// > EditorCommandsPopup::onCommand @ 0x1004c5a94\n// > EditorCommandsPopup::onCommand @ 0x1004c5ac0\n// > EditorCommandsPopup::onCommand @ 0x1004c5b20\n// > EditorCommandsPopup::onCommand @ 0x1004c5b78\n// > EditorCommandsPopup::onCommand @ 0x1004c5ba8\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::getSelectedObjects(__int64 a1, __n128 a2)\n{\n  __int64 v3; // x0\n  __int64 v4; // x20\n  __int64 v5; // x21\n  __int64 v6; // x0\n\n  v3 = *(_QWORD *)(a1 + 1496);\n  if ( v3 && *(_DWORD *)(v3 + 1028) != 749 )\n    return sub_1002E73C8(a2);\n  v4 = sub_1002E736C(v3);\n  if ( (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 896)) )\n  {\n    v5 = 0;\n    do\n    {\n      v6 = sub_1002E75A0(*(_QWORD *)(a1 + 896), v5);\n      if ( *(_DWORD *)(v6 + 1028) != 749 )\n        sub_1002E74E0(v4, v6);\n      v5 = (unsigned int)(v5 + 1);\n    }\n    while ( (unsigned int)v5 < (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 896)) );\n  }\n  return v4;\n}", "assembly": "; \n; EditorUI::getSelectedObjects from 0x1001a6c2c to 0x1001a6cc8 (156 bytes)\n; \n; 14 xrefs:\n; > EditorUI::handleEditorAction @ 0x100162f5c\n; > EditorUI::handleEditorAction @ 0x100162f90\n; > EditorUI::handleEditorAction @ 0x100163188\n; > EditorUI::handleEditorAction @ 0x100163404\n; > EditorUI::handleEditorAction @ 0x1001635d4\n; > EditorUI::handleEditorAction @ 0x100163630\n; > LevelEditorLayer::handleAction @ 0x1003fbdcc\n; > EditorUI::createUndoSelectObject @ 0x100474788\n; > sub_10047C854 @ 0x10047c8d8\n; > EditorCommandsPopup::onCommand @ 0x1004c5a94\n; > EditorCommandsPopup::onCommand @ 0x1004c5ac0\n; > EditorCommandsPopup::onCommand @ 0x1004c5b20\n; > EditorCommandsPopup::onCommand @ 0x1004c5b78\n; > EditorCommandsPopup::onCommand @ 0x1004c5ba8\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             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1001a6c2c\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1001a6c30\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1001a6c34\nADD             X29, SP, #0x20                                         ; +0xc, 0x1001a6c38\nMOV             X19, X0                                                ; +0x10, 0x1001a6c3c\nLDR             X0, [X0,#0x5D8]                                        ; +0x14, 0x1001a6c40\nCBZ             X0, loc_1001A6C54                                      ; +0x18, 0x1001a6c44\nLDR             W8, [X0,#0x404]                                        ; +0x1c, 0x1001a6c48\nCMP             W8, #0x2ED                                             ; +0x20, 0x1001a6c4c\nB.NE            loc_1001A6CB8                                          ; +0x24, 0x1001a6c50\nBL              sub_1002E736C                                          ; +0x28, 0x1001a6c54\nMOV             X20, X0                                                ; +0x2c, 0x1001a6c58\nLDR             X0, [X19,#0x380]                                       ; +0x30, 0x1001a6c5c\nBL              sub_1002E757C                                          ; +0x34, 0x1001a6c60\nCBZ             W0, loc_1001A6CA4                                      ; +0x38, 0x1001a6c64\nMOV             W21, #0                                                ; +0x3c, 0x1001a6c68\nLDR             X0, [X19,#0x380]                                       ; +0x40, 0x1001a6c6c\nMOV             X1, X21                                                ; +0x44, 0x1001a6c70\nBL              sub_1002E75A0                                          ; +0x48, 0x1001a6c74\nLDR             W8, [X0,#0x404]                                        ; +0x4c, 0x1001a6c78\nCMP             W8, #0x2ED                                             ; +0x50, 0x1001a6c7c\nB.EQ            loc_1001A6C90                                          ; +0x54, 0x1001a6c80\nMOV             X1, X0                                                 ; +0x58, 0x1001a6c84\nMOV             X0, X20                                                ; +0x5c, 0x1001a6c88\nBL              sub_1002E74E0                                          ; +0x60, 0x1001a6c8c\nADD             W21, W21, #1                                           ; +0x64, 0x1001a6c90\nLDR             X0, [X19,#0x380]                                       ; +0x68, 0x1001a6c94\nBL              sub_1002E757C                                          ; +0x6c, 0x1001a6c98\nCMP             W21, W0                                                ; +0x70, 0x1001a6c9c\nB.CC            loc_1001A6C6C                                          ; +0x74, 0x1001a6ca0\nMOV             X0, X20                                                ; +0x78, 0x1001a6ca4\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x7c, 0x1001a6ca8\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x80, 0x1001a6cac\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x84, 0x1001a6cb0\nRET                                                                    ; +0x88, 0x1001a6cb4\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8c, 0x1001a6cb8\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x90, 0x1001a6cbc\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x94, 0x1001a6cc0\nB               sub_1002E73C8                                          ; +0x98, 0x1001a6cc4", "xrefs": ["EditorUI::handleEditorAction @ 0x100162f5c", "EditorUI::handleEditorAction @ 0x100162f90", "EditorUI::handleEditorAction @ 0x100163188", "EditorUI::handleEditorAction @ 0x100163404", "EditorUI::handleEditorAction @ 0x1001635d4", "EditorUI::handleEditorAction @ 0x100163630", "LevelEditorLayer::handleAction @ 0x1003fbdcc", "EditorUI::createUndoSelectObject @ 0x100474788", "sub_10047C854 @ 0x10047c8d8", "EditorCommandsPopup::onCommand @ 0x1004c5a94", "EditorCommandsPopup::onCommand @ 0x1004c5ac0", "EditorCommandsPopup::onCommand @ 0x1004c5b20", "EditorCommandsPopup::onCommand @ 0x1004c5b78", "EditorCommandsPopup::onCommand @ 0x1004c5ba8"], "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"}