{"type": "func", "start": 4295148000, "end": 4295148091, "name": "EditorUI::onDeselectAll", "pseudocode": "// \n// EditorUI::onDeselectAll from 0x10002c1e0 to 0x10002c23b (91 bytes)\n// \n// 1 xrefs:\n// > EditorUI::init @ 0x10000abe3\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::onDeselectAll(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::CCArray *SelectedObjects; // rax\n  UndoObject *v3; // rax\n\n  if ( a1->m_selectedObject || (unsigned int)sub_100720070(a1->m_selectedObjects) )\n  {\n    SelectedObjects = EditorUI::getSelectedObjects(a1);\n    v3 = UndoObject::createWithArray(SelectedObjects, Select);\n    v3->m_redo = 0;\n    LevelEditorLayer::addToUndoList(a1->m_editorLayer, v3, 0);\n  }\n  EditorUI::deselectAll(a1);\n}", "assembly": "; \n; EditorUI::onDeselectAll from 0x10002c1e0 to 0x10002c23b (91 bytes)\n; \n; 1 xrefs:\n; > EditorUI::init @ 0x10000abe3\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, 0x10002c1e0\nmov     rbp, rsp                                                       ; +0x1, 0x10002c1e1\npush    rbx                                                            ; +0x4, 0x10002c1e4\npush    rax                                                            ; +0x5, 0x10002c1e5\nmov     rbx, rdi                                                       ; +0x6, 0x10002c1e6\ncmp     qword ptr [rdi+520h], 0                                        ; +0x9, 0x10002c1e9\njnz     short loc_10002C203                                            ; +0x11, 0x10002c1f1\nmov     rdi, [rbx+328h]                                                ; +0x13, 0x10002c1f3\ncall    sub_100720070                                                  ; +0x1a, 0x10002c1fa\ntest    eax, eax                                                       ; +0x1f, 0x10002c1ff\njz      short loc_10002C22D                                            ; +0x21, 0x10002c201\nmov     rdi, rbx                                                       ; +0x23, 0x10002c203\ncall    EditorUI__getSelectedObjects                                   ; +0x26, 0x10002c206\nmov     rdi, rax                                                       ; +0x2b, 0x10002c20b\nmov     esi, 6                                                         ; +0x2e, 0x10002c20e\ncall    UndoObject__createWithArray                                    ; +0x33, 0x10002c213\nmov     byte ptr [rax+50h], 0                                          ; +0x38, 0x10002c218\nmov     rdi, [rbx+4E8h]                                                ; +0x3c, 0x10002c21c\nmov     rsi, rax                                                       ; +0x43, 0x10002c223\nxor     edx, edx                                                       ; +0x46, 0x10002c226\ncall    LevelEditorLayer__addToUndoList                                ; +0x48, 0x10002c228\nmov     rdi, rbx                                                       ; +0x4d, 0x10002c22d\nadd     rsp, 8                                                         ; +0x50, 0x10002c230\npop     rbx                                                            ; +0x54, 0x10002c234\npop     rbp                                                            ; +0x55, 0x10002c235\njmp     EditorUI__deselectAll                                          ; +0x56, 0x10002c236", "xrefs": ["EditorUI::init @ 0x10000abe3"], "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"}