//
// EditorUI::onCopy from 0xbdad80 to 0xbdadd0 (80 bytes)
//
// 4 xrefs:
// > EditorUI::handleEditorAction @ 0xbd83e0
// > ??> @ 0x549b8
// > EditorUI::init @ 0x7d0250
// > ??> @ 0x1541dc0
//
// 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 13:03:43 +0000
//
EditorSFXManager *__fastcall EditorUI::onCopy(EditorUI *this, cocos2d::CCObject *a2)
{
EditorSFXManager *result; // x0
EditorSFXManager *v4; // x0
result = *((EditorSFXManager **)this + 187);
if ( result
|| (result = (EditorSFXManager *)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 112)), (_DWORD)result) )
{
v4 = (EditorSFXManager *)EditorSFXManager::sharedState(result);
EditorSFXManager::playAction(v4, 110);
return (EditorSFXManager *)EditorUI::doCopyObjects(this, 0);
}
return result;
}