//
// SetupPulsePopup::updateColorValue from 0xa45558 to 0xa455f0 (152 bytes)
//
// 2 xrefs:
// > SetupPulsePopup::colorValueChanged @ 0xa498cc
// > ??> @ 0xeef60
//
// 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
//
__int64 __fastcall SetupPulsePopup::updateColorValue(SetupPulsePopup *this)
{
__int64 result; // x0
char v3; // w2
char v4; // w1
unsigned int v5; // w20
_BYTE *v6; // x0
char v7; // w2
char v8; // w1
bool v9; // cf
unsigned int v10; // w1
result = *((unsigned __int8 *)this + 1276);
if ( !(_DWORD)result )
{
result = *((_QWORD *)this + 85);
if ( result )
{
v3 = *((_BYTE *)this + 1136);
v4 = *((_BYTE *)this + 1137);
*(_BYTE *)(result + 1450) = *((_BYTE *)this + 1138);
*(_BYTE *)(result + 1448) = v3;
*(_BYTE *)(result + 1449) = v4;
}
else
{
result = *((_QWORD *)this + 86);
if ( result )
{
v5 = 0;
while ( 1 )
{
result = cocos2d::CCArray::count((cocos2d::CCArray *)result);
v9 = v5 >= (unsigned int)result;
v10 = v5++;
if ( v9 )
break;
v6 = (_BYTE *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 86), v10);
v7 = *((_BYTE *)this + 1136);
v8 = *((_BYTE *)this + 1137);
v6[1450] = *((_BYTE *)this + 1138);
v6[1448] = v7;
v6[1449] = v8;
result = *((_QWORD *)this + 86);
}
}
}
}
return result;
}