{"type": "func", "start": 5369886448, "end": 5369886564, "name": "EditorUI::colorSelectClosed", "pseudocode": "// \n// EditorUI::colorSelectClosed from 0x14011f6f0 to 0x14011f764 (116 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x140552d88\n// > <???> @ 0x14066ff30\n// > <???> @ 0x14066ff40\n// > <???> @ 0x1406c954c\n// > <???> @ 0x1406c9558\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::colorSelectClosed(EditorUI *a1, cocos2d::CCNode *a2)\n{\n  CCMenuItemSpriteExtra *m_unlinkBtn; // rdi\n  char v3; // di\n  CCMenuItemSpriteExtra *m_enableLinkBtn; // rax\n  EditorUI *v5; // rbx\n\n  m_unlinkBtn = a1->m_unlinkBtn;\n  if ( a2 == m_unlinkBtn )\n  {\n    v3 = BYTE1(m_unlinkBtn[1].m_nUpdateScriptHandler);\n    a1->m_unlinkBtn = nullptr;\n  }\n  else\n  {\n    m_enableLinkBtn = a1->m_enableLinkBtn;\n    if ( a2 != m_enableLinkBtn )\n      return;\n    v3 = BYTE2(m_enableLinkBtn[1].m_sInverse.b);\n    a1->m_enableLinkBtn = nullptr;\n  }\n  v5 = (EditorUI *)((char *)a1 - 416);\n  EditorUI::resetSelectedObjectsColor((EditorUI *)((char *)a1 - 416));\n  if ( v3 )\n    EditorUI::updateEditColorButton(v5);\n}", "assembly": "; \n; EditorUI::colorSelectClosed from 0x14011f6f0 to 0x14011f764 (116 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x140552d88\n; > <???> @ 0x14066ff30\n; > <???> @ 0x14066ff40\n; > <???> @ 0x1406c954c\n; > <???> @ 0x1406c9558\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, 0x14011f6f0\nsub     rsp, 20h                                                       ; +0x2, 0x14011f6f2\nmov     rdi, [rcx+3C0h]                                                ; +0x6, 0x14011f6f6\ncmp     rdx, rdi                                                       ; +0xd, 0x14011f6fd\njnz     short loc_14011F716                                            ; +0x10, 0x14011f700\nmovzx   edi, byte ptr [rdi+339h]                                       ; +0x12, 0x14011f702\nmov     qword ptr [rcx+3C0h], 0                                        ; +0x19, 0x14011f709\njmp     short loc_14011F734                                            ; +0x24, 0x14011f714\nmov     rax, [rcx+3C8h]                                                ; +0x26, 0x14011f716\ncmp     rdx, rax                                                       ; +0x2d, 0x14011f71d\njnz     short loc_14011F75E                                            ; +0x30, 0x14011f720\nmovzx   edi, byte ptr [rax+2BAh]                                       ; +0x32, 0x14011f722\nmov     qword ptr [rcx+3C8h], 0                                        ; +0x39, 0x14011f729\nmov     rax, 0FFFFFFFFFFFFFE60h                                        ; +0x44, 0x14011f734\nmov     [rsp+28h+arg_0], rbx                                           ; +0x4b, 0x14011f73b\nlea     rbx, [rax+rcx]                                                 ; +0x50, 0x14011f740\nmov     rcx, rbx                                                       ; +0x54, 0x14011f744\ncall    EditorUI__resetSelectedObjectsColor                            ; +0x57, 0x14011f747\ntest    dil, dil                                                       ; +0x5c, 0x14011f74c\njz      short loc_14011F759                                            ; +0x5f, 0x14011f74f\nmov     rcx, rbx                                                       ; +0x61, 0x14011f751\ncall    EditorUI__updateEditColorButton                                ; +0x64, 0x14011f754\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x69, 0x14011f759\nadd     rsp, 20h                                                       ; +0x6e, 0x14011f75e\npop     rdi                                                            ; +0x72, 0x14011f762\nretn                                                                   ; +0x73, 0x14011f763", "xrefs": ["<???> @ 0x140552d88", "<???> @ 0x14066ff30", "<???> @ 0x14066ff40", "<???> @ 0x1406c954c", "<???> @ 0x1406c9558"], "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"}