//
// CustomizeObjectLayer::onPaste from 0x1000587fc to 0x100058858 (92 bytes)
//
// 1 xrefs:
// > CustomizeObjectLayer::init @ 0x100057908
//
// 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 10:57:46 +0000
//
__int64 __fastcall CustomizeObjectLayer::onPaste(__int64 a1)
{
__int64 v2; // x0
__int64 ActiveMode; // x0
v2 = GameManager::sharedState(a1);
LevelEditorLayer::pasteColorState(*(_QWORD *)(v2 + 552), *(_QWORD *)(a1 + 688), *(_QWORD *)(a1 + 696));
CustomizeObjectLayer::updateCurrentSelection(a1);
CustomizeObjectLayer::updateColorSprite(a1);
ActiveMode = CustomizeObjectLayer::getActiveMode(a1, 1);
CustomizeObjectLayer::updateChannelLabel(a1, ActiveMode);
return CustomizeObjectLayer::updateHSVButtons(a1);
}