{"type": "func", "start": 4300963056, "end": 4300963132, "name": "EditorUI::onCopy", "pseudocode": "// \n// EditorUI::onCopy from 0x1005b7cf0 to 0x1005b7d3c (76 bytes)\n// \n// 2 xrefs:\n// > EditorUI::handleEditorAction @ 0x10060c63b\n// > EditorUI::init @ 0x100006b16\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 12:32:42 +0000\n// \n\n__int64 __fastcall EditorUI::onCopy(__int64 a1)\n{\n  __int64 v1; // rbx\n  __int64 result; // rax\n  __int64 v3; // rax\n\n  v1 = a1;\n  if ( *(_QWORD *)(a1 + 1496) || (a1 = *(_QWORD *)(a1 + 896), result = sub_1007FEF90(a1), (_DWORD)result) )\n  {\n    v3 = EditorSFXManager::sharedState(a1);\n    EditorSFXManager::playAction_1(v3, 110);\n    return EditorUI::doCopyObjects(v1, 0);\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::onCopy from 0x1005b7cf0 to 0x1005b7d3c (76 bytes)\n; \n; 2 xrefs:\n; > EditorUI::handleEditorAction @ 0x10060c63b\n; > EditorUI::init @ 0x100006b16\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 12:32:42 +0000\n; \npush    rbp                                                            ; +0x0, 0x1005b7cf0\nmov     rbp, rsp                                                       ; +0x1, 0x1005b7cf1\npush    rbx                                                            ; +0x4, 0x1005b7cf4\npush    rax                                                            ; +0x5, 0x1005b7cf5\nmov     rbx, rdi                                                       ; +0x6, 0x1005b7cf6\ncmp     qword ptr [rdi+5D8h], 0                                        ; +0x9, 0x1005b7cf9\njnz     short loc_1005B7D13                                            ; +0x11, 0x1005b7d01\nmov     rdi, [rbx+380h]                                                ; +0x13, 0x1005b7d03\ncall    sub_1007FEF90                                                  ; +0x1a, 0x1005b7d0a\ntest    eax, eax                                                       ; +0x1f, 0x1005b7d0f\njz      short loc_1005B7D35                                            ; +0x21, 0x1005b7d11\ncall    EditorSFXManager__sharedState                                  ; +0x23, 0x1005b7d13\nmov     rdi, rax                                                       ; +0x28, 0x1005b7d18\nmov     esi, 6Eh ; 'n'                                                 ; +0x2b, 0x1005b7d1b\ncall    EditorSFXManager__playAction_1                                 ; +0x30, 0x1005b7d20\nmov     rdi, rbx                                                       ; +0x35, 0x1005b7d25\nxor     esi, esi                                                       ; +0x38, 0x1005b7d28\nadd     rsp, 8                                                         ; +0x3a, 0x1005b7d2a\npop     rbx                                                            ; +0x3e, 0x1005b7d2e\npop     rbp                                                            ; +0x3f, 0x1005b7d2f\njmp     EditorUI__doCopyObjects                                        ; +0x40, 0x1005b7d30\nadd     rsp, 8                                                         ; +0x45, 0x1005b7d35\npop     rbx                                                            ; +0x49, 0x1005b7d39\npop     rbp                                                            ; +0x4a, 0x1005b7d3a\nretn                                                                   ; +0x4b, 0x1005b7d3b", "xrefs": ["EditorUI::handleEditorAction @ 0x10060c63b", "EditorUI::init @ 0x100006b16"], "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"}