{"type": "func", "start": 4295175248, "end": 4295175368, "name": "EditorUI::deselectObject", "pseudocode": "// \n// EditorUI::deselectObject from 0x100032c50 to 0x100032cc8 (120 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::handleAction @ 0x1000e2c71\n// > LevelEditorLayer::handleAction @ 0x1000e2d9d\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall EditorUI::deselectObject(EditorUI *a1, GameObject *a2)\n{\n  GameObject *m_selectedObject; // rax\n\n  m_selectedObject = a1->m_selectedObject;\n  if ( m_selectedObject && m_selectedObject->m_uniqueID == a2->m_uniqueID )\n  {\n    EditorUI::deselectObject_1(a1);\n    a1->m_canActivateControls = 1;\n  }\n  else\n  {\n    GameObject::deselectObject(a2);\n    if ( (unsigned __int8)sub_100720160(a1->m_selectedObjects, a2) )\n    {\n      a1->m_canActivateControls = 1;\n      sub_100720220(a1->m_selectedObjects, a2, 1);\n    }\n  }\n}", "assembly": "; \n; EditorUI::deselectObject from 0x100032c50 to 0x100032cc8 (120 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::handleAction @ 0x1000e2c71\n; > LevelEditorLayer::handleAction @ 0x1000e2d9d\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x100032c50\nmov     rbp, rsp                                                       ; +0x1, 0x100032c51\npush    r14                                                            ; +0x4, 0x100032c54\npush    rbx                                                            ; +0x6, 0x100032c56\nmov     r14, rsi                                                       ; +0x7, 0x100032c57\nmov     rbx, rdi                                                       ; +0xa, 0x100032c5a\nmov     rax, [rdi+520h]                                                ; +0xd, 0x100032c5d\ntest    rax, rax                                                       ; +0x14, 0x100032c64\njz      short loc_100032C89                                            ; +0x17, 0x100032c67\nmov     eax, [rax+394h]                                                ; +0x19, 0x100032c69\ncmp     eax, [r14+394h]                                                ; +0x1f, 0x100032c6f\njnz     short loc_100032C89                                            ; +0x26, 0x100032c76\nmov     rdi, rbx                                                       ; +0x28, 0x100032c78\ncall    EditorUI__deselectObject_1                                     ; +0x2b, 0x100032c7b\nmov     byte ptr [rbx+2B0h], 1                                         ; +0x30, 0x100032c80\njmp     short loc_100032CC3                                            ; +0x37, 0x100032c87\nmov     rdi, r14                                                       ; +0x39, 0x100032c89\ncall    GameObject__deselectObject                                     ; +0x3c, 0x100032c8c\nmov     rdi, [rbx+328h]                                                ; +0x41, 0x100032c91\nmov     rsi, r14                                                       ; +0x48, 0x100032c98\ncall    sub_100720160                                                  ; +0x4b, 0x100032c9b\ntest    al, al                                                         ; +0x50, 0x100032ca0\njz      short loc_100032CC3                                            ; +0x52, 0x100032ca2\nmov     byte ptr [rbx+2B0h], 1                                         ; +0x54, 0x100032ca4\nmov     rdi, [rbx+328h]                                                ; +0x5b, 0x100032cab\nmov     rsi, r14                                                       ; +0x62, 0x100032cb2\nmov     edx, 1                                                         ; +0x65, 0x100032cb5\npop     rbx                                                            ; +0x6a, 0x100032cba\npop     r14                                                            ; +0x6b, 0x100032cbb\npop     rbp                                                            ; +0x6d, 0x100032cbd\njmp     sub_100720220                                                  ; +0x6e, 0x100032cbe\npop     rbx                                                            ; +0x73, 0x100032cc3\npop     r14                                                            ; +0x74, 0x100032cc4\npop     rbp                                                            ; +0x76, 0x100032cc6\nretn                                                                   ; +0x77, 0x100032cc7", "xrefs": ["LevelEditorLayer::handleAction @ 0x1000e2c71", "LevelEditorLayer::handleAction @ 0x1000e2d9d"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}