//
// GameObject::updateMainOpacity from 0x64a5ac to 0x64a5d8 (44 bytes)
//
// 2 xrefs:
// > GameObject::updateMainColor @ 0x64a954
// > ??> @ 0x9a458
//
// 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 GameObject::updateMainOpacity(GameObject *a1)
{
GJSpriteColor *m_baseColor; // x19
m_baseColor = a1->m_baseColor;
m_baseColor->m_opacity = GameObject::opacityModForMode(a1, a1->m_activeMainColorID, 1);
}