{"type": "func", "start": 4824348, "end": 4824380, "name": "GJEffectManager::activeOpacityForIndex", "pseudocode": "// \n// GJEffectManager::activeOpacityForIndex from 0x499d1c to 0x499d3c (32 bytes)\n// \n// 13 xrefs:\n// > LevelEditorLayer::updateObjectColors @ 0x367804\n// > LevelEditorLayer::updateObjectColors @ 0x367828\n// > LevelEditorLayer::updateObjectColors @ 0x36791c\n// > LevelEditorLayer::updateObjectColors @ 0x367a54\n// > LevelEditorLayer::updateVisibility @ 0x3698a2\n// > LevelEditorLayer::updateVisibility @ 0x3698c8\n// > LevelEditorLayer::updateVisibility @ 0x3699bc\n// > LevelEditorLayer::updateVisibility @ 0x369af4\n// > GJBaseGameLayer::updateLevelColors @ 0x46da52\n// > GJBaseGameLayer::updateLevelColors @ 0x46db4e\n// > GJBaseGameLayer::updateLevelColors @ 0x46db7a\n// > GJBaseGameLayer::updateGradientLayers @ 0x471656\n// > GJBaseGameLayer::updateGradientLayers @ 0x47166a\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nfloat GJEffectManager::activeOpacityForIndex(GJEffectManager *a1, int a2)\n{\n  ColorActionSprite *ColorSprite; // r0\n\n  ColorSprite = GJEffectManager::getColorSprite(a1, a2);\n  if ( ColorSprite )\n    return ColorSprite->m_opacity / 255.0;\n  else\n    return 1.0;\n}", "assembly": "; \n; GJEffectManager::activeOpacityForIndex from 0x499d1c to 0x499d3c (32 bytes)\n; \n; 13 xrefs:\n; > LevelEditorLayer::updateObjectColors @ 0x367804\n; > LevelEditorLayer::updateObjectColors @ 0x367828\n; > LevelEditorLayer::updateObjectColors @ 0x36791c\n; > LevelEditorLayer::updateObjectColors @ 0x367a54\n; > LevelEditorLayer::updateVisibility @ 0x3698a2\n; > LevelEditorLayer::updateVisibility @ 0x3698c8\n; > LevelEditorLayer::updateVisibility @ 0x3699bc\n; > LevelEditorLayer::updateVisibility @ 0x369af4\n; > GJBaseGameLayer::updateLevelColors @ 0x46da52\n; > GJBaseGameLayer::updateLevelColors @ 0x46db4e\n; > GJBaseGameLayer::updateLevelColors @ 0x46db7a\n; > GJBaseGameLayer::updateGradientLayers @ 0x471656\n; > GJBaseGameLayer::updateGradientLayers @ 0x47166a\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R3,LR}                                                ; +0x0, 0x499d1c\nBL              _ZN15GJEffectManager14getColorSpriteEi; GJEffectManager::getColorSprite(int) ; +0x2, 0x499d1e\nCBZ             R0, loc_499D32                                         ; +0x6, 0x499d22\nVLDR            S15, [R0,#0x108]                                       ; +0x8, 0x499d24\nVLDR            S14, =255.0                                            ; +0xc, 0x499d28\nVDIV.F32        S15, S15, S14                                          ; +0x10, 0x499d2c\nB               loc_499D36                                             ; +0x14, 0x499d30\nVMOV.F32        S15, #1.0                                              ; +0x16, 0x499d32\nVMOV            R0, S15                                                ; +0x1a, 0x499d36\nPOP             {R3,PC}                                                ; +0x1e, 0x499d3a", "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"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}