//
// GameObject::groupOpacityMod from 0x1002fabd8 to 0x1002fac50 (120 bytes)
//
// 2 xrefs:
// > PlayLayer::opacityForObject @ 0x100146fa0
// > GameObject::opacityModForMode @ 0x1002ff620
//
// 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 11:03:02 +0000
//
float __fastcall GameObject::groupOpacityMod(__int64 a1)
{
__int64 v2; // x20
float v3; // s8
if ( *(__int16 *)(a1 + 1200) < 1 )
return 1.0;
v2 = 0;
v3 = 1.0;
while ( 1 )
{
v3 = v3 * sub_1000146B0(*(_QWORD *)(a1 + 1280), *(__int16 *)(*(_QWORD *)(a1 + 1192) + 2 * v2));
if ( v3 <= 0.0 )
break;
if ( ++v2 >= *(__int16 *)(a1 + 1200) )
return v3;
}
return 0.0;
}