//
// EditorUI::onCopy from 0x1005b7cf0 to 0x1005b7d3c (76 bytes)
//
// 2 xrefs:
// > EditorUI::handleEditorAction @ 0x10060c63b
// > EditorUI::init @ 0x100006b16
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:32:42 +0000
//
__int64 __fastcall EditorUI::onCopy(__int64 a1)
{
__int64 v1; // rbx
__int64 result; // rax
__int64 v3; // rax
v1 = a1;
if ( *(_QWORD *)(a1 + 1496) || (a1 = *(_QWORD *)(a1 + 896), result = sub_1007FEF90(a1), (_DWORD)result) )
{
v3 = EditorSFXManager::sharedState(a1);
EditorSFXManager::playAction_1(v3, 110);
return EditorUI::doCopyObjects(v1, 0);
}
return result;
}