//
// EditorUI::onCopyState from 0x6f28a2 to 0x6f28d4 (50 bytes)
//
// 1 xrefs:
// > EditorUI::handleEditorAction @ 0x6f2404
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:57:36 +0000
//
cocos2d::CCArray **__fastcall EditorUI::onCopyState(cocos2d::CCArray **this, cocos2d::CCObject *a2)
{
cocos2d::CCArray **v2; // r4
EditorSFXManager *v3; // r0
GameManager *v4; // r0
int v5; // r0
int v6; // r2
int v7; // r3
v2 = this;
if ( *(this + 249) )
{
v3 = (EditorSFXManager *)EditorSFXManager::sharedState((EditorSFXManager *)this);
v4 = (GameManager *)EditorSFXManager::playAction(v3, 112, 110);
v5 = GameManager::sharedState(v4);
LevelEditorLayer::copyObjectState(*(_DWORD *)(v5 + 408), v2[249], v6, v7);
return (cocos2d::CCArray **)EditorUI::updateButtons(v2);
}
return this;
}