//
// GameObject::groupOpacityMod from 0x10025d9d4 to 0x10025da4c (120 bytes)
//
// 2 xrefs:
// > PlayLayer::opacityForObject @ 0x10011df48
// > GameObject::opacityModForMode @ 0x100262364
//
// 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)
{
__int64 v2; // x20
float v3; // s8
if ( a1->m_opacityGroupCount < 1 )
return 1.0;
v2 = 0;
v3 = 1.0;
while ( 1 )
{
v3 = v3 * GJEffectManager::opacityModForGroup(a1->m_goEffectManager, a1->m_opacityGroups->__elems_[v2]);
if ( v3 <= 0.0 )
break;
if ( ++v2 >= a1->m_opacityGroupCount )
return v3;
}
return 0.0;
}