//
// EditorUI::onCopyState from 0xbd8bc0 to 0xbd8c14 (84 bytes)
//
// 4 xrefs:
// > EditorUI::handleEditorAction @ 0xbd7d44
// > ??> @ 0x7b430
// > EditorUI::init @ 0x7d06bc
// > ??> @ 0x1543280
//
// 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:41 +0000
//
GameObject **__fastcall EditorUI::onCopyState(GameObject **this, cocos2d::CCObject *a2)
{
GameObject **v2; // x19
EditorSFXManager *v3; // x0
GameManager *v4; // x0
__int64 v5; // x0
if ( *(this + 187) )
{
v2 = this;
v3 = (EditorSFXManager *)EditorSFXManager::sharedState((EditorSFXManager *)this);
v4 = (GameManager *)EditorSFXManager::playAction(v3, 112, 110);
v5 = GameManager::sharedState(v4);
LevelEditorLayer::copyObjectState(*(LevelEditorLayer **)(v5 + 552), v2[187]);
return (GameObject **)EditorUI::updateButtons((EditorUI *)v2);
}
return this;
}