//
// SetupPulsePopup::colorValueChanged from 0xa4985c to 0xa498ec (144 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'SetupPulsePopup::colorValueChanged @ 0xa498f0
// > ??> @ 0x9ce38
// > ??> @ 0x148a830
//
// 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 13:00:01 +0000
//
SetupPulsePopup *__fastcall SetupPulsePopup::colorValueChanged(SetupPulsePopup *result)
{
SetupPulsePopup *v1; // x19
_QWORD *v2; // x20
unsigned __int64 ColorValue; // x0
__int64 v4; // x2
v1 = result;
if ( *((_QWORD *)result + 140) )
{
v2 = (_QWORD *)((char *)result + 1136);
ColorValue = SetupPulsePopup::getColorValue(result);
v4 = *((_QWORD *)v1 + 140);
*((_WORD *)v1 + 568) = ColorValue;
*((_BYTE *)v1 + 1138) = BYTE2(ColorValue);
(*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v4 + 960LL))(v4, v2);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)v1 + 141) + 960LL))(
*((_QWORD *)v1 + 141),
(__int64)v1 + 1112);
SetupPulsePopup::updateColorValue(v1);
return (SetupPulsePopup *)SetupPulsePopup::updateColorLabels(v1);
}
return result;
}