//
// EditorUI::onCopyState from 0x6b5870 to 0x6b58b4 (68 bytes)
//
// 3 xrefs:
// > ??> @ 0x59b50
// > EditorUI::init @ 0x6bd558
// > ??> @ 0x122ae20
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void EditorUI::onCopyState(EditorUI *a1, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
if ( a1->m_selectedObject )
{
v3 = GameManager::sharedState();
LevelEditorLayer::copyObjectState(v3->m_levelEditorLayer, a1->m_selectedObject);
EditorUI::updateButtons(a1);
}
}