{"type": "func", "start": 5370577584, "end": 5370577824, "name": "EditorUI::deselectAll", "pseudocode": "// \n// EditorUI::deselectAll from 0x1401c82b0 to 0x1401c83a0 (240 bytes)\n// \n// 21 xrefs:\n// > EditorUI::onDeleteAll @ 0x1401b07fd\n// > EditorUI::onDeleteAll @ 0x1401b0881\n// > EditorUI::onDeleteSelectedType @ 0x1401b0e88\n// > EditorUI::onDeleteStartPos @ 0x1401b0f3d\n// > EditorUI::onPlaytest @ 0x1401b47f4\n// > EditorUI::createSmartObjectsFromTemplate @ 0x1401b6906\n// > EditorUI::createSmartObjectsFromTemplate @ 0x1401b704f\n// > EditorUI::createSmartObjectsFromType @ 0x1401b78d6\n// > EditorUI::createSmartObjectsFromType @ 0x1401b7c42\n// > EditorUI::createNewKeyframeAnim @ 0x1401b910e\n// > EditorUI::createGradientFromSelection @ 0x1401b9fdc\n// > EditorUI::handleEditorAction @ 0x1401c243a\n// > EditorUI::pasteObjects @ 0x1401c6e8e\n// > EditorUI::selectObject @ 0x1401c74fc\n// > EditorUI::selectObject @ 0x1401c752c\n// > EditorUI::onDeselectAll @ 0x1401c9918\n// > LevelEditorLayer::handleAction @ 0x1403f2dfe\n// > LevelEditorLayer::breakApartTextObject @ 0x1403fdf72\n// > SetupKeyframePopup::onCustomButton @ 0x1405bbd89\n// > SetupKeyframePopup::onCustomButton @ 0x1405bc049\n// > <???> @ 0x14091a810\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::deselectAll(__int64 a1)\n{\n  __int64 v2; // rcx\n  unsigned int v3; // edi\n  struct cocos2d::CCObject *v4; // rax\n\n  cocos2d::CCNode::stopActionByTag((cocos2d::CCNode *)a1, 124);\n  v2 = *(_QWORD *)(a1 + 1568);\n  if ( v2 )\n  {\n    *(_BYTE *)(v2 + 1141) = 0;\n    GameObject::updateObjectEditorColor(v2);\n  }\n  v3 = 0;\n  *(_QWORD *)(a1 + 1568) = 0;\n  EditorUI::toggleEditObjectButton(a1);\n  *(_BYTE *)(a1 + 824) = 1;\n  cocos2d::CCPoint::operator=(a1 + 1544, &unk_14090A748);\n  if ( cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944))\n    && cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) )\n  {\n    do\n    {\n      v4 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 944), v3);\n      *((_BYTE *)v4 + 1141) = 0;\n      GameObject::updateObjectEditorColor(v4);\n      ++v3;\n    }\n    while ( v3 < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) );\n  }\n  cocos2d::CCArray::removeAllObjects(*(cocos2d::CCArray **)(a1 + 944));\n  EditorUI::updateButtons(a1);\n  EditorUI::deactivateRotationControl(a1);\n  EditorUI::deactivateScaleControl(a1);\n  EditorUI::deactivateTransformControl(a1);\n  EditorUI::updateObjectInfoLabel(a1);\n}", "assembly": "; \n; EditorUI::deselectAll from 0x1401c82b0 to 0x1401c83a0 (240 bytes)\n; \n; 21 xrefs:\n; > EditorUI::onDeleteAll @ 0x1401b07fd\n; > EditorUI::onDeleteAll @ 0x1401b0881\n; > EditorUI::onDeleteSelectedType @ 0x1401b0e88\n; > EditorUI::onDeleteStartPos @ 0x1401b0f3d\n; > EditorUI::onPlaytest @ 0x1401b47f4\n; > EditorUI::createSmartObjectsFromTemplate @ 0x1401b6906\n; > EditorUI::createSmartObjectsFromTemplate @ 0x1401b704f\n; > EditorUI::createSmartObjectsFromType @ 0x1401b78d6\n; > EditorUI::createSmartObjectsFromType @ 0x1401b7c42\n; > EditorUI::createNewKeyframeAnim @ 0x1401b910e\n; > EditorUI::createGradientFromSelection @ 0x1401b9fdc\n; > EditorUI::handleEditorAction @ 0x1401c243a\n; > EditorUI::pasteObjects @ 0x1401c6e8e\n; > EditorUI::selectObject @ 0x1401c74fc\n; > EditorUI::selectObject @ 0x1401c752c\n; > EditorUI::onDeselectAll @ 0x1401c9918\n; > LevelEditorLayer::handleAction @ 0x1403f2dfe\n; > LevelEditorLayer::breakApartTextObject @ 0x1403fdf72\n; > SetupKeyframePopup::onCustomButton @ 0x1405bbd89\n; > SetupKeyframePopup::onCustomButton @ 0x1405bc049\n; > <???> @ 0x14091a810\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; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1401c82b0\npush    rdi                                                            ; +0x5, 0x1401c82b5\nsub     rsp, 20h                                                       ; +0x6, 0x1401c82b6\nmov     edx, 7Ch ; '|'                                                 ; +0xa, 0x1401c82ba\nmov     rbx, rcx                                                       ; +0xf, 0x1401c82bf\ncall    cs:?stopActionByTag@CCNode@cocos2d@@QEAAXH@Z; cocos2d::CCNode::stopActionByTag(int) ; +0x12, 0x1401c82c2\nmov     rcx, [rbx+620h]                                                ; +0x18, 0x1401c82c8\ntest    rcx, rcx                                                       ; +0x1f, 0x1401c82cf\njz      short loc_1401C82E0                                            ; +0x22, 0x1401c82d2\nmov     byte ptr [rcx+475h], 0                                         ; +0x24, 0x1401c82d4\ncall    GameObject__updateObjectEditorColor                            ; +0x2b, 0x1401c82db\nxor     edi, edi                                                       ; +0x30, 0x1401c82e0\nmov     rcx, rbx                                                       ; +0x32, 0x1401c82e2\nmov     [rbx+620h], rdi                                                ; +0x35, 0x1401c82e5\ncall    EditorUI__toggleEditObjectButton                               ; +0x3c, 0x1401c82ec\nlea     rcx, [rbx+608h]                                                ; +0x41, 0x1401c82f1\nmov     byte ptr [rbx+338h], 1                                         ; +0x48, 0x1401c82f8\nlea     rdx, unk_14090A748                                             ; +0x4f, 0x1401c82ff\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x56, 0x1401c8306\nmov     rcx, [rbx+3B0h]                                                ; +0x5c, 0x1401c830c\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x63, 0x1401c8313\ntest    eax, eax                                                       ; +0x69, 0x1401c8319\njz      short loc_1401C8361                                            ; +0x6b, 0x1401c831b\nmov     rcx, [rbx+3B0h]                                                ; +0x6d, 0x1401c831d\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x74, 0x1401c8324\ntest    eax, eax                                                       ; +0x7a, 0x1401c832a\njz      short loc_1401C8361                                            ; +0x7c, 0x1401c832c\nxchg    ax, ax                                                         ; +0x7e, 0x1401c832e\nmov     rcx, [rbx+3B0h]                                                ; +0x80, 0x1401c8330\nmov     edx, edi                                                       ; +0x87, 0x1401c8337\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x89, 0x1401c8339\nmov     rcx, rax                                                       ; +0x8f, 0x1401c833f\nmov     byte ptr [rax+475h], 0                                         ; +0x92, 0x1401c8342\ncall    GameObject__updateObjectEditorColor                            ; +0x99, 0x1401c8349\nmov     rcx, [rbx+3B0h]                                                ; +0x9e, 0x1401c834e\ninc     edi                                                            ; +0xa5, 0x1401c8355\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xa7, 0x1401c8357\ncmp     edi, eax                                                       ; +0xad, 0x1401c835d\njb      short loc_1401C8330                                            ; +0xaf, 0x1401c835f\nmov     rcx, [rbx+3B0h]                                                ; +0xb1, 0x1401c8361\ncall    cs:?removeAllObjects@CCArray@cocos2d@@QEAAXXZ; cocos2d::CCArray::removeAllObjects(void) ; +0xb8, 0x1401c8368\nmov     rcx, rbx                                                       ; +0xbe, 0x1401c836e\ncall    EditorUI__updateButtons                                        ; +0xc1, 0x1401c8371\nmov     rcx, rbx                                                       ; +0xc6, 0x1401c8376\ncall    EditorUI__deactivateRotationControl                            ; +0xc9, 0x1401c8379\nmov     rcx, rbx                                                       ; +0xce, 0x1401c837e\ncall    EditorUI__deactivateScaleControl                               ; +0xd1, 0x1401c8381\nmov     rcx, rbx                                                       ; +0xd6, 0x1401c8386\ncall    EditorUI__deactivateTransformControl                           ; +0xd9, 0x1401c8389\nmov     rcx, rbx                                                       ; +0xde, 0x1401c838e\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xe1, 0x1401c8391\nadd     rsp, 20h                                                       ; +0xe6, 0x1401c8396\npop     rdi                                                            ; +0xea, 0x1401c839a\njmp     EditorUI__updateObjectInfoLabel                                ; +0xeb, 0x1401c839b", "xrefs": ["EditorUI::onDeleteAll @ 0x1401b07fd", "EditorUI::onDeleteAll @ 0x1401b0881", "EditorUI::onDeleteSelectedType @ 0x1401b0e88", "EditorUI::onDeleteStartPos @ 0x1401b0f3d", "EditorUI::onPlaytest @ 0x1401b47f4", "EditorUI::createSmartObjectsFromTemplate @ 0x1401b6906", "EditorUI::createSmartObjectsFromTemplate @ 0x1401b704f", "EditorUI::createSmartObjectsFromType @ 0x1401b78d6", "EditorUI::createSmartObjectsFromType @ 0x1401b7c42", "EditorUI::createNewKeyframeAnim @ 0x1401b910e", "EditorUI::createGradientFromSelection @ 0x1401b9fdc", "EditorUI::handleEditorAction @ 0x1401c243a", "EditorUI::pasteObjects @ 0x1401c6e8e", "EditorUI::selectObject @ 0x1401c74fc", "EditorUI::selectObject @ 0x1401c752c", "EditorUI::onDeselectAll @ 0x1401c9918", "LevelEditorLayer::handleAction @ 0x1403f2dfe", "LevelEditorLayer::breakApartTextObject @ 0x1403fdf72", "SetupKeyframePopup::onCustomButton @ 0x1405bbd89", "SetupKeyframePopup::onCustomButton @ 0x1405bc049", "<???> @ 0x14091a810"], "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"}