{"type": "func", "start": 4296697352, "end": 4296697484, "name": "EditorUI::deselectObject", "pseudocode": "// \n// EditorUI::deselectObject from 0x1001a6608 to 0x1001a668c (132 bytes)\n// \n// 4 xrefs:\n// > sub_1001A668C @ 0x1001a6724\n// > LevelEditorLayer::handleAction @ 0x1003fbe44\n// > LevelEditorLayer::handleAction @ 0x1003fbea4\n// > EditorUI::deleteObject @ 0x1004764e0\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\nvoid __fastcall EditorUI::deselectObject(__int64 a1, __int64 a2, __n128 a3)\n{\n  __int64 v5; // x8\n\n  v5 = *(_QWORD *)(a1 + 1496);\n  if ( v5 && *(_DWORD *)(v5 + 916) == *(_DWORD *)(a2 + 916) )\n  {\n    EditorUI::deselectObject_1(a1);\n    *(_BYTE *)(a1 + 776) = 1;\n  }\n  else\n  {\n    GameObject::updateObjectEditorColor(a3);\n    if ( (unsigned int)sub_1002E7638(*(_QWORD *)(a1 + 896)) )\n    {\n      *(_BYTE *)(a1 + 776) = 1;\n      sub_1002E765C(*(_QWORD *)(a1 + 896), a2, 1);\n    }\n  }\n}", "assembly": "; \n; EditorUI::deselectObject from 0x1001a6608 to 0x1001a668c (132 bytes)\n; \n; 4 xrefs:\n; > sub_1001A668C @ 0x1001a6724\n; > LevelEditorLayer::handleAction @ 0x1003fbe44\n; > LevelEditorLayer::handleAction @ 0x1003fbea4\n; > EditorUI::deleteObject @ 0x1004764e0\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1001a6608\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001a660c\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001a6610\nMOV             X20, X1                                                ; +0xc, 0x1001a6614\nMOV             X19, X0                                                ; +0x10, 0x1001a6618\nLDR             X8, [X0,#0x5D8]                                        ; +0x14, 0x1001a661c\nCBZ             X8, loc_1001A6648                                      ; +0x18, 0x1001a6620\nLDR             W8, [X8,#0x394]                                        ; +0x1c, 0x1001a6624\nLDR             W9, [X20,#0x394]                                       ; +0x20, 0x1001a6628\nCMP             W8, W9                                                 ; +0x24, 0x1001a662c\nB.NE            loc_1001A6648                                          ; +0x28, 0x1001a6630\nMOV             X0, X19                                                ; +0x2c, 0x1001a6634\nBL              EditorUI__deselectObject_1                             ; +0x30, 0x1001a6638\nMOV             W8, #1                                                 ; +0x34, 0x1001a663c\nSTRB            W8, [X19,#0x308]                                       ; +0x38, 0x1001a6640\nB               loc_1001A6680                                          ; +0x3c, 0x1001a6644\nMOV             X0, X20                                                ; +0x40, 0x1001a6648\nBL              GameObject__updateObjectEditorColor                    ; +0x44, 0x1001a664c\nLDR             X0, [X19,#0x380]                                       ; +0x48, 0x1001a6650\nMOV             X1, X20                                                ; +0x4c, 0x1001a6654\nBL              sub_1002E7638                                          ; +0x50, 0x1001a6658\nCBZ             W0, loc_1001A6680                                      ; +0x54, 0x1001a665c\nMOV             W8, #1                                                 ; +0x58, 0x1001a6660\nSTRB            W8, [X19,#0x308]                                       ; +0x5c, 0x1001a6664\nLDR             X0, [X19,#0x380]                                       ; +0x60, 0x1001a6668\nMOV             X1, X20                                                ; +0x64, 0x1001a666c\nMOV             W2, #1                                                 ; +0x68, 0x1001a6670\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x6c, 0x1001a6674\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x70, 0x1001a6678\nB               sub_1002E765C                                          ; +0x74, 0x1001a667c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x78, 0x1001a6680\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x7c, 0x1001a6684\nRET                                                                    ; +0x80, 0x1001a6688", "xrefs": ["sub_1001A668C @ 0x1001a6724", "LevelEditorLayer::handleAction @ 0x1003fbe44", "LevelEditorLayer::handleAction @ 0x1003fbea4", "EditorUI::deleteObject @ 0x1004764e0"], "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"}