//
// GameObject::groupOpacityMod from 0x77038c to 0x770424 (152 bytes)
//
// 3 xrefs:
// > PlayLayer::opacityForObject @ 0x6f2a50
// > GameObject::opacityModForMode @ 0x771974
// > ??> @ 0xce5f0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:53:12 +0000
//
float __fastcall GameObject::groupOpacityMod(GameObject *this)
{
__int64 v2; // x20
float v3; // s8
int v4; // w21
int v5; // w1
float v6; // s0
if ( *((__int16 *)this + 600) <= 0 )
{
return 1.0;
}
else
{
v2 = 0;
v3 = 1.0;
v4 = 0;
while ( 1 )
{
++v4;
v5 = *(__int16 *)(*((_QWORD *)this + 149) + v2);
v2 += 2;
GJEffectManager::opacityModForGroup(*((GJEffectManager **)this + 160), v5);
v3 = v3 * v6;
if ( v3 <= 0.0 )
break;
if ( *((__int16 *)this + 600) <= v4 )
return v3;
}
return 0.0;
}
}