//
// EditorUI::onPasteColor from 0xbd8c78 to 0xbd8cdc (100 bytes)
//
// 4 xrefs:
// > EditorUI::handleEditorAction @ 0xbd7a68
// > ??> @ 0x4fb70
// > EditorUI::init @ 0x7d0800
// > ??> @ 0x1541ae8
//
// 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
//
EditorSFXManager *__fastcall EditorUI::onPasteColor(EditorUI *this, cocos2d::CCObject *a2)
{
EditorSFXManager *result; // x0
EditorSFXManager *v4; // x0
GameManager *v5; // x0
__int64 v6; // x0
result = *((EditorSFXManager **)this + 187);
if ( result
|| (result = (EditorSFXManager *)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 112)), (_DWORD)result) )
{
v4 = (EditorSFXManager *)EditorSFXManager::sharedState(result);
v5 = (GameManager *)EditorSFXManager::playAction(v4, 114, 111);
v6 = GameManager::sharedState(v5);
LevelEditorLayer::pasteColorState(*(_QWORD *)(v6 + 552), *((GameObject **)this + 187), *((_QWORD *)this + 112));
return (EditorSFXManager *)EditorUI::updateObjectInfoLabel(this);
}
return result;
}