{"type": "func", "start": 4300971488, "end": 4300971565, "name": "EditorUI::onDeselectAll", "pseudocode": "// \n// EditorUI::onDeselectAll from 0x1005b9de0 to 0x1005b9e2d (77 bytes)\n// \n// 2 xrefs:\n// > EditorUI::handleEditorAction @ 0x10060c584\n// > EditorUI::init @ 0x100006e35\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::onDeselectAll(__int64 a1)\n{\n  __int64 v1; // rbx\n  __int64 v2; // rax\n\n  v1 = a1;\n  if ( *(_QWORD *)(a1 + 1496) || (a1 = *(_QWORD *)(a1 + 896), (unsigned int)sub_1007FEF90(a1)) )\n  {\n    v2 = EditorSFXManager::sharedState(a1);\n    EditorSFXManager::playAction_1(v2, 120);\n    EditorUI::createUndoSelectObject(v1, 0);\n  }\n  return EditorUI::deselectAll(v1);\n}", "assembly": "; \n; EditorUI::onDeselectAll from 0x1005b9de0 to 0x1005b9e2d (77 bytes)\n; \n; 2 xrefs:\n; > EditorUI::handleEditorAction @ 0x10060c584\n; > EditorUI::init @ 0x100006e35\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, 0x1005b9de0\nmov     rbp, rsp                                                       ; +0x1, 0x1005b9de1\npush    rbx                                                            ; +0x4, 0x1005b9de4\npush    rax                                                            ; +0x5, 0x1005b9de5\nmov     rbx, rdi                                                       ; +0x6, 0x1005b9de6\ncmp     qword ptr [rdi+5D8h], 0                                        ; +0x9, 0x1005b9de9\njnz     short loc_1005B9E03                                            ; +0x11, 0x1005b9df1\nmov     rdi, [rbx+380h]                                                ; +0x13, 0x1005b9df3\ncall    sub_1007FEF90                                                  ; +0x1a, 0x1005b9dfa\ntest    eax, eax                                                       ; +0x1f, 0x1005b9dff\njz      short loc_1005B9E1F                                            ; +0x21, 0x1005b9e01\ncall    EditorSFXManager__sharedState                                  ; +0x23, 0x1005b9e03\nmov     rdi, rax                                                       ; +0x28, 0x1005b9e08\nmov     esi, 78h ; 'x'                                                 ; +0x2b, 0x1005b9e0b\ncall    EditorSFXManager__playAction_1                                 ; +0x30, 0x1005b9e10\nmov     rdi, rbx                                                       ; +0x35, 0x1005b9e15\nxor     esi, esi                                                       ; +0x38, 0x1005b9e18\ncall    EditorUI__createUndoSelectObject                               ; +0x3a, 0x1005b9e1a\nmov     rdi, rbx                                                       ; +0x3f, 0x1005b9e1f\nadd     rsp, 8                                                         ; +0x42, 0x1005b9e22\npop     rbx                                                            ; +0x46, 0x1005b9e26\npop     rbp                                                            ; +0x47, 0x1005b9e27\njmp     EditorUI__deselectAll                                          ; +0x48, 0x1005b9e28", "xrefs": ["EditorUI::handleEditorAction @ 0x10060c584", "EditorUI::init @ 0x100006e35"], "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"}