//
// GJEffectManager::activeOpacityForIndex from 0x10000f1e0 to 0x10000f210 (48 bytes)
//
// 13 xrefs:
// > GJBaseGameLayer::updateLevelColors @ 0x1001ddf28
// > GJBaseGameLayer::updateLevelColors @ 0x1001de024
// > GJBaseGameLayer::updateLevelColors @ 0x1001de050
// > GJBaseGameLayer::updateGradientLayers @ 0x1001f015c
// > GJBaseGameLayer::updateGradientLayers @ 0x1001f0174
// > LevelEditorLayer::updateVisibility @ 0x10035ecac
// > LevelEditorLayer::updateVisibility @ 0x10035ece0
// > LevelEditorLayer::updateVisibility @ 0x10035ee2c
// > LevelEditorLayer::updateVisibility @ 0x10035f094
// > LevelEditorLayer::updateObjectColors @ 0x10035f2cc
// > LevelEditorLayer::updateObjectColors @ 0x10035f300
// > LevelEditorLayer::updateObjectColors @ 0x10035f448
// > LevelEditorLayer::updateObjectColors @ 0x10035f640
//
// 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::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;
}