{"type": "func", "start": 4300971184, "end": 4300971353, "name": "EditorUI::getSelectedObjects", "pseudocode": "// \n// EditorUI::getSelectedObjects from 0x1005b9cb0 to 0x1005b9d59 (169 bytes)\n// \n// 16 xrefs:\n// > EditorUI::clickOnPosition @ 0x10000c7f9\n// > EditorUI::onCreate @ 0x10000cf1f\n// > EditorUI::createUndoSelectObject @ 0x10000d47c\n// > EditorUI::editHSV @ 0x1000199a6\n// > LevelEditorLayer::handleAction @ 0x1000b2737\n// > EditorUI::handleEditorAction @ 0x10060c420\n// > EditorUI::handleEditorAction @ 0x10060c45e\n// > EditorUI::handleEditorAction @ 0x10060c6d2\n// > EditorUI::handleEditorAction @ 0x10060ca06\n// > EditorUI::handleEditorAction @ 0x10060cc5c\n// > EditorUI::handleEditorAction @ 0x10060cccc\n// > EditorCommandsPopup::onCommand @ 0x1008ded44\n// > EditorCommandsPopup::onCommand @ 0x1008ded7b\n// > EditorCommandsPopup::onCommand @ 0x1008dedf6\n// > EditorCommandsPopup::onCommand @ 0x1008dee50\n// > EditorCommandsPopup::onCommand @ 0x1008dee89\n// \n// This function is hookable on this platform (idp: pc, 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 12:32:43 +0000\n// \n\n__int64 __fastcall EditorUI::getSelectedObjects(__int64 a1)\n{\n  __int64 v2; // rdi\n  __int64 v3; // r14\n  unsigned int v4; // r15d\n  __int64 v5; // rax\n\n  v2 = *(_QWORD *)(a1 + 1496);\n  if ( v2 && *(_DWORD *)(v2 + 1028) != 749 )\n    return sub_1007FE9A0(v2);\n  v3 = sub_1007FE900(v2);\n  if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 896)) )\n  {\n    v4 = 0;\n    do\n    {\n      v5 = sub_1007FEFE0(*(_QWORD *)(a1 + 896), v4);\n      if ( *(_DWORD *)(v5 + 1028) != 749 )\n        sub_1007FEBF0(v3, v5);\n      ++v4;\n    }\n    while ( v4 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 896)) );\n  }\n  return v3;\n}", "assembly": "; \n; EditorUI::getSelectedObjects from 0x1005b9cb0 to 0x1005b9d59 (169 bytes)\n; \n; 16 xrefs:\n; > EditorUI::clickOnPosition @ 0x10000c7f9\n; > EditorUI::onCreate @ 0x10000cf1f\n; > EditorUI::createUndoSelectObject @ 0x10000d47c\n; > EditorUI::editHSV @ 0x1000199a6\n; > LevelEditorLayer::handleAction @ 0x1000b2737\n; > EditorUI::handleEditorAction @ 0x10060c420\n; > EditorUI::handleEditorAction @ 0x10060c45e\n; > EditorUI::handleEditorAction @ 0x10060c6d2\n; > EditorUI::handleEditorAction @ 0x10060ca06\n; > EditorUI::handleEditorAction @ 0x10060cc5c\n; > EditorUI::handleEditorAction @ 0x10060cccc\n; > EditorCommandsPopup::onCommand @ 0x1008ded44\n; > EditorCommandsPopup::onCommand @ 0x1008ded7b\n; > EditorCommandsPopup::onCommand @ 0x1008dedf6\n; > EditorCommandsPopup::onCommand @ 0x1008dee50\n; > EditorCommandsPopup::onCommand @ 0x1008dee89\n; \n; This function is hookable on this platform (idp: pc, 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 12:32:43 +0000\n; \npush    rbp                                                            ; +0x0, 0x1005b9cb0\nmov     rbp, rsp                                                       ; +0x1, 0x1005b9cb1\npush    r15                                                            ; +0x4, 0x1005b9cb4\npush    r14                                                            ; +0x6, 0x1005b9cb6\npush    rbx                                                            ; +0x8, 0x1005b9cb8\npush    rax                                                            ; +0x9, 0x1005b9cb9\nmov     rbx, rdi                                                       ; +0xa, 0x1005b9cba\nmov     rdi, [rdi+5D8h]                                                ; +0xd, 0x1005b9cbd\ntest    rdi, rdi                                                       ; +0x14, 0x1005b9cc4\njz      short loc_1005B9CD5                                            ; +0x17, 0x1005b9cc7\ncmp     dword ptr [rdi+404h], 2EDh                                     ; +0x19, 0x1005b9cc9\njnz     short loc_1005B9D4A                                            ; +0x23, 0x1005b9cd3\ncall    sub_1007FE900                                                  ; +0x25, 0x1005b9cd5\nmov     r14, rax                                                       ; +0x2a, 0x1005b9cda\nmov     rdi, [rbx+380h]                                                ; +0x2d, 0x1005b9cdd\ncall    sub_1007FEF90                                                  ; +0x34, 0x1005b9ce4\ntest    eax, eax                                                       ; +0x39, 0x1005b9ce9\njz      short loc_1005B9D3C                                            ; +0x3b, 0x1005b9ceb\nxor     r15d, r15d                                                     ; +0x3d, 0x1005b9ced\njmp     short loc_1005B9D14                                            ; +0x40, 0x1005b9cf0\nalign 20h                                                              ; +0x42, 0x1005b9cf2\ninc     r15d                                                           ; +0x50, 0x1005b9d00\nmov     rdi, [rbx+380h]                                                ; +0x53, 0x1005b9d03\ncall    sub_1007FEF90                                                  ; +0x5a, 0x1005b9d0a\ncmp     r15d, eax                                                      ; +0x5f, 0x1005b9d0f\njnb     short loc_1005B9D3C                                            ; +0x62, 0x1005b9d12\nmov     rdi, [rbx+380h]                                                ; +0x64, 0x1005b9d14\nmov     esi, r15d                                                      ; +0x6b, 0x1005b9d1b\ncall    sub_1007FEFE0                                                  ; +0x6e, 0x1005b9d1e\ncmp     dword ptr [rax+404h], 2EDh                                     ; +0x73, 0x1005b9d23\njz      short loc_1005B9D00                                            ; +0x7d, 0x1005b9d2d\nmov     rdi, r14                                                       ; +0x7f, 0x1005b9d2f\nmov     rsi, rax                                                       ; +0x82, 0x1005b9d32\ncall    sub_1007FEBF0                                                  ; +0x85, 0x1005b9d35\njmp     short loc_1005B9D00                                            ; +0x8a, 0x1005b9d3a\nmov     rax, r14                                                       ; +0x8c, 0x1005b9d3c\nadd     rsp, 8                                                         ; +0x8f, 0x1005b9d3f\npop     rbx                                                            ; +0x93, 0x1005b9d43\npop     r14                                                            ; +0x94, 0x1005b9d44\npop     r15                                                            ; +0x96, 0x1005b9d46\npop     rbp                                                            ; +0x98, 0x1005b9d48\nretn                                                                   ; +0x99, 0x1005b9d49\nadd     rsp, 8                                                         ; +0x9a, 0x1005b9d4a\npop     rbx                                                            ; +0x9e, 0x1005b9d4e\npop     r14                                                            ; +0x9f, 0x1005b9d4f\npop     r15                                                            ; +0xa1, 0x1005b9d51\npop     rbp                                                            ; +0xa3, 0x1005b9d53\njmp     sub_1007FE9A0                                                  ; +0xa4, 0x1005b9d54", "xrefs": ["EditorUI::clickOnPosition @ 0x10000c7f9", "EditorUI::onCreate @ 0x10000cf1f", "EditorUI::createUndoSelectObject @ 0x10000d47c", "EditorUI::editHSV @ 0x1000199a6", "LevelEditorLayer::handleAction @ 0x1000b2737", "EditorUI::handleEditorAction @ 0x10060c420", "EditorUI::handleEditorAction @ 0x10060c45e", "EditorUI::handleEditorAction @ 0x10060c6d2", "EditorUI::handleEditorAction @ 0x10060ca06", "EditorUI::handleEditorAction @ 0x10060cc5c", "EditorUI::handleEditorAction @ 0x10060cccc", "EditorCommandsPopup::onCommand @ 0x1008ded44", "EditorCommandsPopup::onCommand @ 0x1008ded7b", "EditorCommandsPopup::onCommand @ 0x1008dedf6", "EditorCommandsPopup::onCommand @ 0x1008dee50", "EditorCommandsPopup::onCommand @ 0x1008dee89"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}