{"type": "func", "start": 4299067760, "end": 4299067824, "name": "EditorUI::onDeleteSelectedType", "pseudocode": "// \n// EditorUI::onDeleteSelectedType from 0x1003e9170 to 0x1003e91b0 (64 bytes)\n// \n// 1 xrefs:\n// > EditorUI::setupDeleteMenu @ 0x1003c7f24\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::onDeleteSelectedType(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  GameObject *m_selectedObject; // x8\n  int m_objectID; // w20\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 0x1003e9170 to 0x1003e91b0 (64 bytes)\n; \n; 1 xrefs:\n; > EditorUI::setupDeleteMenu @ 0x1003c7f24\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\nLDR             X8, [X0,#0x520]                                        ; +0x0, 0x1003e9170\nCBZ             X8, locret_1003E91AC                                   ; +0x4, 0x1003e9174\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x8, 0x1003e9178\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0xc, 0x1003e917c\nADD             X29, SP, #0x10                                         ; +0x10, 0x1003e9180\nMOV             X19, X0                                                ; +0x14, 0x1003e9184\nLDR             W20, [X8,#0x404]                                       ; +0x18, 0x1003e9188\nBL              EditorUI__deselectAll                                  ; +0x1c, 0x1003e918c\nLDR             X0, [X19,#0x4E8]                                       ; +0x20, 0x1003e9190\nMOV             X1, X20                                                ; +0x24, 0x1003e9194\nBL              LevelEditorLayer__removeAllObjectsOfType               ; +0x28, 0x1003e9198\nMOV             X0, X19                                                ; +0x2c, 0x1003e919c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x30, 0x1003e91a0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x34, 0x1003e91a4\nB               EditorUI__updateButtons                                ; +0x38, 0x1003e91a8\nRET                                                                    ; +0x3c, 0x1003e91ac", "xrefs": ["EditorUI::setupDeleteMenu @ 0x1003c7f24"], "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"}