//
// GJEffectManager::opacityModForGroup from 0x100014218 to 0x100014260 (72 bytes)
//
// 6 xrefs:
// > GJBaseGameLayer::opacityForObject @ 0x1001fe43c
// > GameObject::groupOpacityMod @ 0x10025da08
// > LevelEditorLayer::updateVisibility @ 0x10035eea0
// > LevelEditorLayer::updateVisibility @ 0x10035f0d0
// > LevelEditorLayer::updateObjectColors @ 0x10035f480
// > LevelEditorLayer::updateObjectColors @ 0x10035f678
//
// 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 GJEffectManager::opacityModForGroup(GJEffectManager *a1, int a2)
{
int v2; // w8
__int64 v3; // x0
int v5; // [xsp+Ch] [xbp-4h] BYREF
v2 = a2 & ~(a2 >> 31);
if ( v2 >= 9999 )
v2 = 9999;
v5 = v2;
v3 = sub_100018814(&a1->m_opacityEffectMap, &v5);
if ( v3 )
return *(float *)(v3 + 44);
else
return 1.0;
}