//
// SetupPulsePopup::updateCopyColor from 0xa457a0 to 0xa45810 (112 bytes)
//
// 4 xrefs:
// > SetupPulsePopup::textChanged @ 0xa45b80
// > SetupPulsePopup::colorSelectClosed @ 0xa46150
// > SetupPulsePopup::onUpdateCopyColor @ 0xa46850
// > ??> @ 0xadd28
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:59:58 +0000
//
cocos2d::CCArray *__fastcall SetupPulsePopup::updateCopyColor(SetupPulsePopup *this)
{
cocos2d::CCArray *result; // x0
unsigned int v3; // w20
bool v4; // cf
unsigned int v5; // w1
result = *((cocos2d::CCArray **)this + 85);
if ( result )
{
*((_DWORD *)result + 407) = *((_DWORD *)this + 318);
}
else
{
result = *((cocos2d::CCArray **)this + 86);
if ( result )
{
v3 = 0;
while ( 1 )
{
result = (cocos2d::CCArray *)cocos2d::CCArray::count(result);
v4 = v3 >= (unsigned int)result;
v5 = v3++;
if ( v4 )
break;
*(_DWORD *)(cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 86), v5) + 1628) = *((_DWORD *)this + 318);
result = *((cocos2d::CCArray **)this + 86);
}
}
}
return result;
}