//
// EditorUI::onPasteState from 0x6f28d4 to 0x6f2914 (64 bytes)
//
// 1 xrefs:
// > EditorUI::handleEditorAction @ 0x6f2414
//
// 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
//
int __fastcall EditorUI::onPasteState(int this, cocos2d::CCObject *a2)
{
cocos2d::CCArray **v2; // r4
EditorSFXManager *v3; // r0
GameManager *v4; // r0
int v5; // r0
v2 = (cocos2d::CCArray **)this;
if ( *(_DWORD *)(this + 996) || (this = cocos2d::CCArray::count(*(cocos2d::CCArray **)(this + 668))) != 0 )
{
v3 = (EditorSFXManager *)EditorSFXManager::sharedState((EditorSFXManager *)this);
v4 = (GameManager *)EditorSFXManager::playAction(v3, 113, 111);
v5 = GameManager::sharedState(v4);
LevelEditorLayer::pasteAttributeState(*(GameObject ***)(v5 + 408), v2[249], v2[167]);
return EditorUI::updateObjectInfoLabel(v2);
}
return this;
}