{"type": "func", "start": 5369653712, "end": 5369653781, "name": "EditorUI::onDeleteSelectedType", "pseudocode": "// \n// EditorUI::onDeleteSelectedType from 0x1400e69d0 to 0x1400e6a15 (69 bytes)\n// \n// 2 xrefs:\n// > EditorUI::setupDeleteMenu @ 0x1400e53c6\n// > <???> @ 0x1406c8d48\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 EditorUI::onDeleteSelectedType(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  GameObject *m_selectedObject; // rbx\n  int m_objectID; // ebx\n\n  m_selectedObject = a1->m_selectedObject;\n  if ( m_selectedObject )\n  {\n    m_objectID = m_selectedObject->m_objectID;\n    EditorUI::deselectAll(a1);\n    LevelEditorLayer::removeAllObjectsOfType(a1->m_editorLayer, m_objectID);\n    EditorUI::updateButtons(a1);\n  }\n}", "assembly": "; \n; EditorUI::onDeleteSelectedType from 0x1400e69d0 to 0x1400e6a15 (69 bytes)\n; \n; 2 xrefs:\n; > EditorUI::setupDeleteMenu @ 0x1400e53c6\n; > <???> @ 0x1406c8d48\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1400e69d0\npush    rdi                                                            ; +0x5, 0x1400e69d5\nsub     rsp, 20h                                                       ; +0x6, 0x1400e69d6\nmov     rbx, [rcx+538h]                                                ; +0xa, 0x1400e69da\nmov     rdi, rcx                                                       ; +0x11, 0x1400e69e1\ntest    rbx, rbx                                                       ; +0x14, 0x1400e69e4\njz      short loc_1400E6A0A                                            ; +0x17, 0x1400e69e7\nmov     ebx, [rbx+40Ch]                                                ; +0x19, 0x1400e69e9\ncall    EditorUI__deselectAll                                          ; +0x1f, 0x1400e69ef\nmov     rcx, [rdi+500h]                                                ; +0x24, 0x1400e69f4\nmov     edx, ebx                                                       ; +0x2b, 0x1400e69fb\ncall    LevelEditorLayer__removeAllObjectsOfType                       ; +0x2d, 0x1400e69fd\nmov     rcx, rdi                                                       ; +0x32, 0x1400e6a02\ncall    EditorUI__updateButtons                                        ; +0x35, 0x1400e6a05\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x3a, 0x1400e6a0a\nadd     rsp, 20h                                                       ; +0x3f, 0x1400e6a0f\npop     rdi                                                            ; +0x43, 0x1400e6a13\nretn                                                                   ; +0x44, 0x1400e6a14", "xrefs": ["EditorUI::setupDeleteMenu @ 0x1400e53c6", "<???> @ 0x1406c8d48"], "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"}