//
// SetupPulsePopup::updateHSVValue from 0xa45324 to 0xa453d4 (176 bytes)
//
// 2 xrefs:
// > SetupPulsePopup::onClose @ 0xa45540
// > ??> @ 0xeb918
//
// 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::updateHSVValue(SetupPulsePopup *this)
{
__int64 result; // x0
int v3; // w3
int v4; // w2
char v5; // w4
int v6; // w1
unsigned int v7; // w20
__int64 v8; // x0
int v9; // w3
int v10; // w2
char v11; // w4
int v12; // w1
bool v13; // cf
unsigned int v14; // w1
result = *((_QWORD *)this + 85);
if ( result )
{
v3 = *((_DWORD *)this + 326);
v4 = *((_DWORD *)this + 327);
v5 = *((_BYTE *)this + 1317);
v6 = *((_DWORD *)this + 328);
*(_BYTE *)(result + 1624) = *((_BYTE *)this + 1316);
*(_BYTE *)(result + 1625) = v5;
*(_DWORD *)(result + 1612) = v3;
*(_DWORD *)(result + 1616) = v4;
*(_DWORD *)(result + 1620) = v6;
}
else
{
result = *((_QWORD *)this + 86);
if ( result )
{
v7 = 0;
while ( 1 )
{
result = cocos2d::CCArray::count((cocos2d::CCArray *)result);
v13 = v7 >= (unsigned int)result;
v14 = v7++;
if ( v13 )
break;
v8 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 86), v14);
v9 = *((_DWORD *)this + 326);
v10 = *((_DWORD *)this + 327);
v11 = *((_BYTE *)this + 1317);
v12 = *((_DWORD *)this + 328);
*(_BYTE *)(v8 + 1624) = *((_BYTE *)this + 1316);
*(_BYTE *)(v8 + 1625) = v11;
*(_DWORD *)(v8 + 1612) = v9;
*(_DWORD *)(v8 + 1616) = v10;
*(_DWORD *)(v8 + 1620) = v12;
result = *((_QWORD *)this + 86);
}
}
}
return result;
}