//
// ColorSelectLiveOverlay::updateColorValue from 0xa65298 to 0xa652f4 (92 bytes)
//
// 2 xrefs:
// > ColorSelectLiveOverlay::sliderChanged @ 0xa654e4
// > ??> @ 0xbcb48
//
// 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:17 +0000
//
__int64 __fastcall ColorSelectLiveOverlay::updateColorValue(__int64 this)
{
_BYTE *v1; // x1
char v2; // w3
char v3; // w2
_BYTE *v4; // x1
char v5; // w3
char v6; // w2
if ( !*(_BYTE *)(this + 746) )
{
v1 = *(_BYTE **)(this + 664);
if ( v1 )
{
v2 = *(_BYTE *)(this + 710);
v3 = *(_BYTE *)(this + 711);
this = *(unsigned __int8 *)(this + 712);
v1[1450] = this;
v1[1448] = v2;
v1[1449] = v3;
}
else
{
if ( *(_BYTE *)(this + 856) )
v4 = *(_BYTE **)(this + 696);
else
v4 = *(_BYTE **)(this + 688);
v5 = *(_BYTE *)(this + 710);
v6 = *(_BYTE *)(this + 711);
this = *(unsigned __int8 *)(this + 712);
v4[74] = this;
v4[72] = v5;
v4[73] = v6;
}
}
return this;
}