//
// ColorSelectLiveOverlay::updateOpacity from 0x10056a370 to 0x10056a3c3 (83 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall ColorSelectLiveOverlay::updateOpacity(ColorSelectLiveOverlay *a1)
{
EffectGameObject *m_effectGameObject; // rax
ColorAction *m_detailColorAction; // rax
if ( !a1->m_updateColor )
{
m_effectGameObject = a1->m_effectGameObject;
if ( m_effectGameObject )
{
m_effectGameObject->m_opacity = a1->m_opacity;
}
else
{
if ( a1->m_detailColorSelected )
m_detailColorAction = a1->m_detailColorAction;
else
m_detailColorAction = a1->m_baseColorAction;
m_detailColorAction->m_fromOpacity = a1->m_opacity;
}
}
}