{"type": "func", "start": 5369825168, "end": 5369825308, "name": "EditorUI::deselectObjectsColor", "pseudocode": "// \n// EditorUI::deselectObjectsColor from 0x140110790 to 0x14011081c (140 bytes)\n// \n// 4 xrefs:\n// > EditorUI::checkLiveColorSelect @ 0x140110729\n// > <???> @ 0x14066eff8\n// > <???> @ 0x14066f008\n// > <???> @ 0x1406c8eec\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::deselectObjectsColor(EditorUI *a1)\n{\n  GameObject *m_selectedObject; // rcx\n  unsigned int i; // ebx\n  GameObject *v4; // rax\n\n  m_selectedObject = a1->m_selectedObject;\n  if ( m_selectedObject )\n  {\n    m_selectedObject->m_isSelected = 0;\n    GameObject::updateObjectEditorColor(m_selectedObject);\n  }\n  else if ( cocos2d::CCArray::count(a1->m_selectedObjects) )\n  {\n    for ( i = 0; i < cocos2d::CCArray::count(a1->m_selectedObjects); ++i )\n    {\n      v4 = (GameObject *)cocos2d::CCArray::objectAtIndex(a1->m_selectedObjects, i);\n      v4->m_isSelected = 0;\n      GameObject::updateObjectEditorColor(v4);\n    }\n  }\n}", "assembly": "; \n; EditorUI::deselectObjectsColor from 0x140110790 to 0x14011081c (140 bytes)\n; \n; 4 xrefs:\n; > EditorUI::checkLiveColorSelect @ 0x140110729\n; > <???> @ 0x14066eff8\n; > <???> @ 0x14066f008\n; > <???> @ 0x1406c8eec\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    rdi                                                            ; +0x0, 0x140110790\nsub     rsp, 20h                                                       ; +0x2, 0x140110792\nmov     rdi, rcx                                                       ; +0x6, 0x140110796\nmov     rcx, [rcx+538h]                                                ; +0x9, 0x140110799\ntest    rcx, rcx                                                       ; +0x10, 0x1401107a0\njz      short loc_1401107B6                                            ; +0x13, 0x1401107a3\nmov     byte ptr [rcx+475h], 0                                         ; +0x15, 0x1401107a5\nadd     rsp, 20h                                                       ; +0x1c, 0x1401107ac\npop     rdi                                                            ; +0x20, 0x1401107b0\njmp     GameObject__updateObjectEditorColor                            ; +0x21, 0x1401107b1\nmov     rcx, [rdi+340h]                                                ; +0x26, 0x1401107b6\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2d, 0x1401107bd\ntest    eax, eax                                                       ; +0x33, 0x1401107c3\njz      short loc_140110816                                            ; +0x35, 0x1401107c5\nmov     rcx, [rdi+340h]                                                ; +0x37, 0x1401107c7\nmov     [rsp+28h+arg_0], rbx                                           ; +0x3e, 0x1401107ce\nxor     ebx, ebx                                                       ; +0x43, 0x1401107d3\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x45, 0x1401107d5\ntest    eax, eax                                                       ; +0x4b, 0x1401107db\njz      short loc_140110811                                            ; +0x4d, 0x1401107dd\nnop                                                                    ; +0x4f, 0x1401107df\nmov     rcx, [rdi+340h]                                                ; +0x50, 0x1401107e0\nmov     edx, ebx                                                       ; +0x57, 0x1401107e7\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x59, 0x1401107e9\nmov     rcx, rax                                                       ; +0x5f, 0x1401107ef\nmov     byte ptr [rax+475h], 0                                         ; +0x62, 0x1401107f2\ncall    GameObject__updateObjectEditorColor                            ; +0x69, 0x1401107f9\nmov     rcx, [rdi+340h]                                                ; +0x6e, 0x1401107fe\ninc     ebx                                                            ; +0x75, 0x140110805\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x77, 0x140110807\ncmp     ebx, eax                                                       ; +0x7d, 0x14011080d\njb      short loc_1401107E0                                            ; +0x7f, 0x14011080f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x81, 0x140110811\nadd     rsp, 20h                                                       ; +0x86, 0x140110816\npop     rdi                                                            ; +0x8a, 0x14011081a\nretn                                                                   ; +0x8b, 0x14011081b", "xrefs": ["EditorUI::checkLiveColorSelect @ 0x140110729", "<???> @ 0x14066eff8", "<???> @ 0x14066f008", "<???> @ 0x1406c8eec"], "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"}