//
// ColorSelectLiveOverlay::updateOpacity from 0x1005971f0 to 0x100597243 (83 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:32:29 +0000
//
void __fastcall ColorSelectLiveOverlay::updateOpacity(__int64 a1)
{
__int64 v1; // rax
__int64 v2; // rax
if ( !*(_BYTE *)(a1 + 746) )
{
v1 = *(_QWORD *)(a1 + 664);
if ( v1 )
{
*(_DWORD *)(v1 + 1456) = *(_DWORD *)(a1 + 728);
}
else
{
if ( *(_BYTE *)(a1 + 856) == 1 )
v2 = *(_QWORD *)(a1 + 696);
else
v2 = *(_QWORD *)(a1 + 688);
*(_DWORD *)(v2 + 96) = *(_DWORD *)(a1 + 728);
}
}
}