//
// GameObject::groupOpacityMod from 0x1005bef80 to 0x1005bf003 (131 bytes)
//
// 1 xrefs:
// > PlayLayer::opacityForObject @ 0x1000b9228
//
// 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
//
float __fastcall GameObject::groupOpacityMod(GameObject *a1)
{
float v1; // xmm0_4
__int64 v2; // r14
float v3; // xmm1_4
if ( a1->m_opacityGroupCount <= 0 )
return 1.0;
v1 = 1.0;
v2 = 0;
do
{
v1 = GJEffectManager::opacityModForGroup(a1->m_goEffectManager, a1->m_opacityGroups->__elems_[v2]) * v1;
v3 = 0.0;
if ( v1 <= 0.0 )
break;
++v2;
v3 = v1;
}
while ( v2 < a1->m_opacityGroupCount );
return v3;
}