//
// SetupPulsePopup::updateCopyColor from 0x14043ce60 to 0x14043cee9 (137 bytes)
//
// 6 xrefs:
// > SetupPulsePopup::colorSelectClosed @ 0x14043babc
// > SetupPulsePopup::onUpdateCopyColor @ 0x14043c403
// > SetupPulsePopup::textChanged @ 0x14043c62c
// > ??> @ 0x1406a1bf0
// > ??> @ 0x1406a1c00
// > ??> @ 0x1406da130
//
// 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 SetupPulsePopup::updateCopyColor(SetupPulsePopup *a1)
{
EffectGameObject *m_gameObject; // rcx
cocos2d::CCArray *m_gameObjects; // rcx
unsigned int v4; // edi
struct cocos2d::CCObject *v5; // rax
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
m_gameObject->m_copyColorID = a1->m_copyColorID;
}
else
{
m_gameObjects = a1->m_gameObjects;
if ( m_gameObjects )
{
v4 = 0;
if ( cocos2d::CCArray::count(m_gameObjects) )
{
do
{
v5 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v4++);
v5[29].m_uReference = a1->m_copyColorID;
}
while ( v4 < cocos2d::CCArray::count(a1->m_gameObjects) );
}
}
}
}