//
// ColorSelectPopup::onPaste from 0x100727bc0 to 0x100727bfe (62 bytes)
//
// 1 xrefs:
// > ColorSelectPopup::init @ 0x10072579f
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall ColorSelectPopup::onPaste(ColorSelectPopup *a1, cocos2d::CCObject *a2)
{
__int64 v2; // rax
GameManager *v3; // rax
__int16 v4; // cx
int v5; // [rsp+0h] [rbp-Ch] BYREF
v5 = HIDWORD(v2);
v3 = GameManager::sharedState();
v4 = *(_WORD *)&v3->m_copiedColor.r;
BYTE2(v5) = v3->m_copiedColor.b;
LOWORD(v5) = v4;
((void (__fastcall *)(cocos2d::extension::CCControlColourPicker *, int *))a1->m_colorPicker->setColorValue)(
a1->m_colorPicker,
&v5);
}