//
// GJEffectManager::activeOpacityForIndex from 0x499d1c to 0x499d3c (32 bytes)
//
// 13 xrefs:
// > LevelEditorLayer::updateObjectColors @ 0x367804
// > LevelEditorLayer::updateObjectColors @ 0x367828
// > LevelEditorLayer::updateObjectColors @ 0x36791c
// > LevelEditorLayer::updateObjectColors @ 0x367a54
// > LevelEditorLayer::updateVisibility @ 0x3698a2
// > LevelEditorLayer::updateVisibility @ 0x3698c8
// > LevelEditorLayer::updateVisibility @ 0x3699bc
// > LevelEditorLayer::updateVisibility @ 0x369af4
// > GJBaseGameLayer::updateLevelColors @ 0x46da52
// > GJBaseGameLayer::updateLevelColors @ 0x46db4e
// > GJBaseGameLayer::updateLevelColors @ 0x46db7a
// > GJBaseGameLayer::updateGradientLayers @ 0x471656
// > GJBaseGameLayer::updateGradientLayers @ 0x47166a
//
// 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; // r0
ColorSprite = GJEffectManager::getColorSprite(a1, a2);
if ( ColorSprite )
return ColorSprite->m_opacity / 255.0;
else
return 1.0;
}