//
// SetupPulsePopup::colorValueChanged from 0x10045e1e0 to 0x10045e254 (116 bytes)
//
// 2 xrefs:
// > sub_10045E4B0 @ 0x10045e4b4
// > ??> @ 0x100968358
//
// 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 11:05:28 +0000
//
__int64 __fastcall SetupPulsePopup::colorValueChanged(__int64 a1)
{
__int64 result; // x0
__int64 v3; // x8
__int16 v4; // w9
result = *(_QWORD *)(a1 + 1120);
if ( result )
{
v3 = *(_QWORD *)(a1 + 1032);
v4 = *(_WORD *)(v3 + 472);
*(_BYTE *)(a1 + 1138) = *(_BYTE *)(v3 + 474);
*(_WORD *)(a1 + 1136) = v4;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 960LL))(result, a1 + 1136);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 1128) + 960LL))(*(_QWORD *)(a1 + 1128), a1 + 1112);
sub_10045E254(a1);
return sub_10045E2D8(a1);
}
return result;
}