{"type": "func", "start": 5370583248, "end": 5370583325, "name": "EditorUI::onDeselectAll", "pseudocode": "// \n// EditorUI::onDeselectAll from 0x1401c98d0 to 0x1401c991d (77 bytes)\n// \n// 2 xrefs:\n// > EditorUI::init @ 0x1401ab83e\n// > <???> @ 0x14091a8f4\n// \n// This function is hookable on this platform (idp: pc, 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:28:06 +0000\n// \n\nvoid __fastcall EditorUI::onDeselectAll(__int64 a1)\n{\n  __int64 v2; // rax\n\n  if ( *(_QWORD *)(a1 + 1568) || cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) )\n  {\n    v2 = EditorSFXManager::sharedState();\n    EditorSFXManager::playAction(v2, 120);\n    EditorUI::createUndoSelectObject(a1, 0);\n  }\n  EditorUI::deselectAll(a1);\n}", "assembly": "; \n; EditorUI::onDeselectAll from 0x1401c98d0 to 0x1401c991d (77 bytes)\n; \n; 2 xrefs:\n; > EditorUI::init @ 0x1401ab83e\n; > <???> @ 0x14091a8f4\n; \n; This function is hookable on this platform (idp: pc, 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:28:06 +0000\n; \npush    rbx                                                            ; +0x0, 0x1401c98d0\nsub     rsp, 20h                                                       ; +0x2, 0x1401c98d2\ncmp     qword ptr [rcx+620h], 0                                        ; +0x6, 0x1401c98d6\nmov     rbx, rcx                                                       ; +0xe, 0x1401c98de\njnz     short loc_1401C98F4                                            ; +0x11, 0x1401c98e1\nmov     rcx, [rcx+3B0h]                                                ; +0x13, 0x1401c98e3\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1a, 0x1401c98ea\ntest    eax, eax                                                       ; +0x20, 0x1401c98f0\njz      short loc_1401C9910                                            ; +0x22, 0x1401c98f2\ncall    EditorSFXManager__sharedState                                  ; +0x24, 0x1401c98f4\nmov     rcx, rax                                                       ; +0x29, 0x1401c98f9\nmov     edx, 78h ; 'x'                                                 ; +0x2c, 0x1401c98fc\ncall    EditorSFXManager__playAction                                   ; +0x31, 0x1401c9901\nxor     edx, edx                                                       ; +0x36, 0x1401c9906\nmov     rcx, rbx                                                       ; +0x38, 0x1401c9908\ncall    EditorUI__createUndoSelectObject                               ; +0x3b, 0x1401c990b\nmov     rcx, rbx                                                       ; +0x40, 0x1401c9910\nadd     rsp, 20h                                                       ; +0x43, 0x1401c9913\npop     rbx                                                            ; +0x47, 0x1401c9917\njmp     EditorUI__deselectAll                                          ; +0x48, 0x1401c9918", "xrefs": ["EditorUI::init @ 0x1401ab83e", "<???> @ 0x14091a8f4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}