//
// GJEffectManager::activeOpacityForIndex from 0x1002c9020 to 0x1002c904a (42 bytes)
//
// 13 xrefs:
// > LevelEditorLayer::updateVisibility @ 0x1000be0c8
// > LevelEditorLayer::updateVisibility @ 0x1000be104
// > LevelEditorLayer::updateVisibility @ 0x1000be247
// > LevelEditorLayer::updateVisibility @ 0x1000be49e
// > LevelEditorLayer::updateObjectColors @ 0x1000be779
// > LevelEditorLayer::updateObjectColors @ 0x1000be7b5
// > LevelEditorLayer::updateObjectColors @ 0x1000be908
// > LevelEditorLayer::updateObjectColors @ 0x1000beb18
// > GJBaseGameLayer::updateLevelColors @ 0x1000f0977
// > GJBaseGameLayer::updateLevelColors @ 0x1000f0aab
// > GJBaseGameLayer::updateLevelColors @ 0x1000f0adf
// > GJBaseGameLayer::updateGradientLayers @ 0x1001173d3
// > GJBaseGameLayer::updateGradientLayers @ 0x100117403
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:28:09 +0000
//
float __fastcall GJEffectManager::activeOpacityForIndex(_QWORD *a1, int a2)
{
char *ColorSprite; // rax
ColorSprite = GJEffectManager::getColorSprite(a1, a2);
if ( ColorSprite )
return *((float *)ColorSprite + 79) / 255.0;
else
return 1.0;
}