//
// GameObject::groupOpacityMod from 0x100690630 to 0x1006906b3 (131 bytes)
//
// 1 xrefs:
// > PlayLayer::opacityForObject @ 0x100086b28
//
// This function is hookable on this platform (idp: pc, 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:35:07 +0000
//
__int128 __usercall GameObject::groupOpacityMod@(__int64 a1@)
{
__int128 v1; // xmm0
__int64 v2; // r14
__int128 v3; // xmm1
if ( *(__int16 *)(a1 + 1200) <= 0 )
return 0x3F800000u;
v1 = 0x3F800000u;
v2 = 0;
do
{
*(float *)&v1 = GJEffectManager::opacityModForGroup(
*(_QWORD *)(a1 + 1280),
*(__int16 *)(*(_QWORD *)(a1 + 1192) + 2 * v2))
* *(float *)&v1;
v3 = 0;
if ( *(float *)&v1 <= 0.0 )
break;
++v2;
v3 = v1;
}
while ( v2 < *(__int16 *)(a1 + 1200) );
return v3;
}