//
// ColorSelectLiveOverlay::updateColorValue from 0x6014ca to 0x601510 (70 bytes)
//
// 1 xrefs:
// > ColorSelectLiveOverlay::sliderChanged @ 0x6016e4
//
// 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:54:40 +0000
//
int __fastcall ColorSelectLiveOverlay::updateColorValue(int this)
{
_BYTE *v1; // r3
char v2; // r4
char v3; // r1
char v4; // r2
_BYTE *v5; // r3
if ( !*(_BYTE *)(this + 574) )
{
v1 = *(_BYTE **)(this + 520);
v2 = *(_BYTE *)(this + 546);
v3 = *(_BYTE *)(this + 547);
v4 = *(_BYTE *)(this + 548);
if ( v1 )
{
v1[1268] = v2;
v1[1269] = v3;
v1[1270] = v4;
}
else
{
if ( *(_BYTE *)(this + 644) )
v5 = *(_BYTE **)(this + 536);
else
v5 = *(_BYTE **)(this + 532);
v5[68] = v2;
v5[69] = v3;
v5[70] = v4;
}
}
return this;
}