//
// ColorSelectLiveOverlay::updateOpacity from 0x601498 to 0x6014c4 (44 bytes)
//
// 1 xrefs:
// > ColorSelectLiveOverlay::sliderChanged @ 0x601574
//
// 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::updateOpacity(int this)
{
int v1; // r3
int v2; // r2
int v3; // r3
if ( !*(_BYTE *)(this + 574) )
{
v1 = *(_DWORD *)(this + 520);
v2 = *(_DWORD *)(this + 564);
if ( v1 )
{
*(_DWORD *)(v1 + 1276) = v2;
}
else
{
if ( *(_BYTE *)(this + 644) )
v3 = *(_DWORD *)(this + 536);
else
v3 = *(_DWORD *)(this + 532);
*(_DWORD *)(v3 + 92) = v2;
}
}
return this;
}