//
// ColorSelectPopup::show from 0x10042043c to 0x100420490 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008241b8
//
// 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::show(ColorSelectPopup *a1)
{
cocos2d::extension::CCControlColourPicker *m_colorPicker; // x8
int v3; // w1
a1->m_initializing = 1;
m_colorPicker = a1->m_colorPicker;
v3 = *(unsigned __int16 *)&m_colorPicker->m_rgb.r | (m_colorPicker->m_rgb.b << 16);
*(_WORD *)&a1->m_originalColor.r = *(_WORD *)&m_colorPicker->m_rgb.r;
a1->m_originalColor.b = BYTE2(v3);
((void (__fastcall *)(ColorSelectPopup *))a1->colorValueChanged)(a1);
a1->m_initializing = 0;
SetupTriggerPopup::show(a1);
}