//
// ColorSelectPopup::colorValueChanged from 0x4e1d1c to 0x4e1d76 (90 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'ColorSelectPopup::colorValueChanged @ 0x4e1d7a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:51:02 +0000
//
ColorSelectPopup *__fastcall ColorSelectPopup::colorValueChanged(ColorSelectPopup *result)
{
unsigned int v1; // r4
int ColorValue; // r0
char v3; // r3
int v4; // r0
v1 = (unsigned int)result;
if ( *((_DWORD *)result + 188) )
{
ColorValue = ColorSelectPopup::getColorValue(result);
*(_BYTE *)(v1 + 760) = ColorValue;
v3 = BYTE1(ColorValue);
*(_BYTE *)(v1 + 762) = BYTE2(ColorValue);
v4 = *(_DWORD *)(v1 + 752);
*(_BYTE *)(v1 + 761) = v3;
(*(void (__fastcall **)(int, unsigned int))(*(_DWORD *)v4 + 480))(v4, v1 + 760);
(*(void (__fastcall **)(_DWORD, unsigned int))(**(_DWORD **)(v1 + 756) + 480))(*(_DWORD *)(v1 + 756), v1 + 748);
ColorSelectPopup::updateColorValue(v1);
return (ColorSelectPopup *)ColorSelectPopup::updateColorLabels((ColorSelectPopup *)v1);
}
return result;
}