//
// GJEffectManager::activeOpacityForIndex from 0x8bfa18 to 0x8bfa48 (48 bytes)
//
// 14 xrefs:
// > LevelEditorLayer::updateObjectColors @ 0x65f810
// > LevelEditorLayer::updateObjectColors @ 0x65f95c
// > LevelEditorLayer::updateObjectColors @ 0x65fb38
// > LevelEditorLayer::updateObjectColors @ 0x65fbac
// > LevelEditorLayer::updateVisibility @ 0x662e94
// > LevelEditorLayer::updateVisibility @ 0x662fe8
// > LevelEditorLayer::updateVisibility @ 0x66350c
// > LevelEditorLayer::updateVisibility @ 0x663580
// > GJBaseGameLayer::updateLevelColors @ 0x857e4c
// > GJBaseGameLayer::updateLevelColors @ 0x857f90
// > GJBaseGameLayer::updateLevelColors @ 0x857fb4
// > GJBaseGameLayer::updateGradientLayers @ 0x85df88
// > GJBaseGameLayer::updateGradientLayers @ 0x85df9c
// > ??> @ 0xad3a0
//
// 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 GJEffectManager::activeOpacityForIndex(GJEffectManager *a1, int a2)
{
ColorActionSprite *ColorSprite; // x0
ColorSprite = GJEffectManager::getColorSprite(a1, a2);
if ( ColorSprite )
return ColorSprite->m_opacity / 255.0;
else
return 1.0;
}