{"type": "func", "start": 5370567760, "end": 5370567835, "name": "EditorUI::onCopy", "pseudocode": "// \n// EditorUI::onCopy from 0x1401c5c50 to 0x1401c5c9b (75 bytes)\n// \n// 2 xrefs:\n// > EditorUI::init @ 0x1401ab506\n// > <???> @ 0x14091a750\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:04 +0000\n// \n\nunsigned int __fastcall EditorUI::onCopy(__int64 a1)\n{\n  unsigned int result; // eax\n  __int64 v3; // rax\n\n  if ( *(_QWORD *)(a1 + 1568) || (result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944))) != 0 )\n  {\n    v3 = EditorSFXManager::sharedState();\n    EditorSFXManager::playAction(v3, 110);\n    return EditorUI::doCopyObjects(a1, 0);\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::onCopy from 0x1401c5c50 to 0x1401c5c9b (75 bytes)\n; \n; 2 xrefs:\n; > EditorUI::init @ 0x1401ab506\n; > <???> @ 0x14091a750\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:04 +0000\n; \npush    rbx                                                            ; +0x0, 0x1401c5c50\nsub     rsp, 20h                                                       ; +0x2, 0x1401c5c52\ncmp     qword ptr [rcx+620h], 0                                        ; +0x6, 0x1401c5c56\nmov     rbx, rcx                                                       ; +0xe, 0x1401c5c5e\njnz     short loc_1401C5C74                                            ; +0x11, 0x1401c5c61\nmov     rcx, [rcx+3B0h]                                                ; +0x13, 0x1401c5c63\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1a, 0x1401c5c6a\ntest    eax, eax                                                       ; +0x20, 0x1401c5c70\njz      short loc_1401C5C95                                            ; +0x22, 0x1401c5c72\ncall    EditorSFXManager__sharedState                                  ; +0x24, 0x1401c5c74\nmov     rcx, rax                                                       ; +0x29, 0x1401c5c79\nmov     edx, 6Eh ; 'n'                                                 ; +0x2c, 0x1401c5c7c\ncall    EditorSFXManager__playAction                                   ; +0x31, 0x1401c5c81\nxor     edx, edx                                                       ; +0x36, 0x1401c5c86\nmov     rcx, rbx                                                       ; +0x38, 0x1401c5c88\nadd     rsp, 20h                                                       ; +0x3b, 0x1401c5c8b\npop     rbx                                                            ; +0x3f, 0x1401c5c8f\njmp     EditorUI__doCopyObjects                                        ; +0x40, 0x1401c5c90\nadd     rsp, 20h                                                       ; +0x45, 0x1401c5c95\npop     rbx                                                            ; +0x49, 0x1401c5c99\nretn                                                                   ; +0x4a, 0x1401c5c9a", "xrefs": ["EditorUI::init @ 0x1401ab506", "<???> @ 0x14091a750"], "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"}