//
// EditorUI::onPasteColor from 0x6f2914 to 0x6f2954 (64 bytes)
//
// 1 xrefs:
// > EditorUI::handleEditorAction @ 0x6f2424
//
// 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::onPasteColor(int this, cocos2d::CCObject *a2)
{
int v2; // r4
EditorSFXManager *v3; // r0
GameManager *v4; // r0
int v5; // r0
v2 = 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, 114, 111);
v5 = GameManager::sharedState(v4);
LevelEditorLayer::pasteColorState(*(_DWORD *)(v5 + 408), *(GameObject **)(v2 + 996), *(_DWORD *)(v2 + 668));
return EditorUI::updateObjectInfoLabel((cocos2d::CCArray **)v2);
}
return this;
}