//
// GJEffectManager::activeOpacityForIndex from 0xa19b54 to 0xa19b84 (48 bytes)
//
// 14 xrefs:
// > LevelEditorLayer::updateObjectColors @ 0x78be24
// > LevelEditorLayer::updateObjectColors @ 0x78bf70
// > LevelEditorLayer::updateObjectColors @ 0x78c14c
// > LevelEditorLayer::updateObjectColors @ 0x78c1c0
// > LevelEditorLayer::updateVisibility @ 0x78e498
// > LevelEditorLayer::updateVisibility @ 0x78e5ec
// > LevelEditorLayer::updateVisibility @ 0x78e9d8
// > LevelEditorLayer::updateVisibility @ 0x78eb4c
// > GJBaseGameLayer::updateLevelColors @ 0x99a380
// > GJBaseGameLayer::updateLevelColors @ 0x99a4c4
// > GJBaseGameLayer::updateLevelColors @ 0x99a4e8
// > GJBaseGameLayer::updateGradientLayers @ 0x9a1338
// > GJBaseGameLayer::updateGradientLayers @ 0x9a134c
// > ??> @ 0xe2c90
//
// This function is hookable on this platform (idp: arm, 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:59:36 +0000
//
float __fastcall GJEffectManager::activeOpacityForIndex(GJEffectManager *this, int a2)
{
cocos2d::CCObject *ColorSprite; // x0
ColorSprite = GJEffectManager::getColorSprite(this, a2);
if ( ColorSprite )
return *((float *)ColorSprite + 79) / 255.0;
else
return 1.0;
}