//
// ColorSelectLiveOverlay::updateOpacity from 0xa65248 to 0xa6528c (68 bytes)
//
// 2 xrefs:
// > ColorSelectLiveOverlay::sliderChanged @ 0xa65538
// > ??> @ 0x105af0
//
// 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::updateOpacity(__int64 this)
{
__int64 v1; // x1
int v2; // w1
if ( !*(_BYTE *)(this + 746) )
{
v1 = *(_QWORD *)(this + 664);
if ( v1 )
{
this = *(unsigned int *)(this + 728);
*(_DWORD *)(v1 + 1456) = this;
}
else
{
v2 = *(_DWORD *)(this + 728);
if ( *(_BYTE *)(this + 856) )
this = *(_QWORD *)(this + 696);
else
this = *(_QWORD *)(this + 688);
*(_DWORD *)(this + 96) = v2;
}
}
return this;
}