//
// GameObject::groupOpacityMod from 0x44e030 to 0x44e07a (74 bytes)
//
// 2 xrefs:
// > PlayLayer::opacityForObject @ 0x3ff448
// > GameObject::opacityModForMode @ 0x44ed3a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:48:35 +0000
//
int __fastcall GameObject::groupOpacityMod(GJEffectManager **this)
{
int v2; // r4
float v3; // s16
v2 = 0;
v3 = 1.0;
while ( 1 )
{
if ( v2 >= *((__int16 *)this + 518) )
return LODWORD(v3);
v3 = v3 * COERCE_FLOAT(GJEffectManager::opacityModForGroup(*(this + 276), *((__int16 *)*(this + 258) + v2)));
if ( v3 <= 0.0 )
break;
++v2;
}
return 0;
}