//
// ColorSelectPopup::onPaste from 0x10041ea08 to 0x10041ea54 (76 bytes)
//
// 1 xrefs:
// > ColorSelectPopup::init @ 0x10041ccb0
//
// 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)
{
GameManager *v3; // x0
__int16 v4; // w8
__int16 v5; // [xsp+Ch] [xbp-14h] BYREF
GLubyte b; // [xsp+Eh] [xbp-12h]
v3 = GameManager::sharedState();
v4 = *(_WORD *)&v3->m_copiedColor.r;
b = v3->m_copiedColor.b;
v5 = v4;
((void (__fastcall *)(cocos2d::extension::CCControlColourPicker *, __int16 *))a1->m_colorPicker->setColorValue)(
a1->m_colorPicker,
&v5);
}