//
// ColorSelectPopup::onCopy from 0x10041e9d4 to 0x10041ea08 (52 bytes)
//
// 1 xrefs:
// > ColorSelectPopup::init @ 0x10041cc7c
//
// 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::onCopy(ColorSelectPopup *a1, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
cocos2d::extension::CCControlColourPicker *m_colorPicker; // x8
__int16 v5; // w9
v3 = GameManager::sharedState();
m_colorPicker = a1->m_colorPicker;
v5 = *(_WORD *)&m_colorPicker->m_rgb.r;
v3->m_copiedColor.b = m_colorPicker->m_rgb.b;
*(_WORD *)&v3->m_copiedColor.r = v5;
}