//
// CustomizeObjectLayer::onPaste from 0x983ea4 to 0x983f00 (92 bytes)
//
// 3 xrefs:
// > ??> @ 0x66c10
// > CustomizeObjectLayer::init @ 0x9864a0
// > ??> @ 0x1542800
//
// 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 12:57:52 +0000
//
__int64 __fastcall CustomizeObjectLayer::onPaste(CustomizeObjectLayer *this, cocos2d::CCObject *a2)
{
__int64 v3; // x0
unsigned int ActiveMode; // w0
__int64 v5; // x1
__int64 v6; // x2
int v7; // w3
v3 = GameManager::sharedState(this);
LevelEditorLayer::pasteColorState(*(_QWORD *)(v3 + 552), *((GameObject **)this + 86), *((_QWORD *)this + 87));
CustomizeObjectLayer::updateCurrentSelection(this);
CustomizeObjectLayer::updateColorSprite(this);
ActiveMode = CustomizeObjectLayer::getActiveMode(this, 1u);
CustomizeObjectLayer::updateChannelLabel(this, (GJSpecialColorSelect *)ActiveMode);
return CustomizeObjectLayer::updateHSVButtons(this, v5, v6, v7);
}