//
// EditorUI::onCopy from 0x10018a928 to 0x10018a978 (80 bytes)
//
// 2 xrefs:
// > EditorUI::handleEditorAction @ 0x100163114
// > EditorUI::init @ 0x10046fbfc
//
// This function is hookable on this platform (idp: arm, 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 10:59:52 +0000
//
__int64 __fastcall EditorUI::onCopy(__int64 a1, __n128 a2)
{
__int64 result; // x0
__int64 v4; // x0
if ( *(_QWORD *)(a1 + 1496) || (result = sub_1002E757C(*(_QWORD *)(a1 + 896)), (_DWORD)result) )
{
v4 = EditorSFXManager::sharedState(a2);
EditorSFXManager::playAction_1(v4, 110);
return EditorUI::doCopyObjects(a1, 0);
}
return result;
}