//
// GJEffectManager::activeOpacityForIndex from 0x1002de580 to 0x1002de5aa (42 bytes)
//
// 13 xrefs:
// > LevelEditorLayer::updateVisibility @ 0x1000eb1f4
// > LevelEditorLayer::updateVisibility @ 0x1000eb230
// > LevelEditorLayer::updateVisibility @ 0x1000eb397
// > LevelEditorLayer::updateVisibility @ 0x1000eb5eb
// > LevelEditorLayer::updateObjectColors @ 0x1000eb8b9
// > LevelEditorLayer::updateObjectColors @ 0x1000eb8f5
// > LevelEditorLayer::updateObjectColors @ 0x1000eba48
// > LevelEditorLayer::updateObjectColors @ 0x1000ebc58
// > GJBaseGameLayer::updateLevelColors @ 0x1001146d7
// > GJBaseGameLayer::updateLevelColors @ 0x10011480b
// > GJBaseGameLayer::updateLevelColors @ 0x10011483f
// > GJBaseGameLayer::updateGradientLayers @ 0x100139aa6
// > GJBaseGameLayer::updateGradientLayers @ 0x100139ad6
//
// 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; // rax
ColorSprite = GJEffectManager::getColorSprite(a1, a2);
if ( ColorSprite )
return ColorSprite->m_opacity / 255.0;
else
return 1.0;
}