{"type": "func", "start": 9173528, "end": 9173576, "name": "GJEffectManager::activeOpacityForIndex", "pseudocode": "// \n// GJEffectManager::activeOpacityForIndex from 0x8bfa18 to 0x8bfa48 (48 bytes)\n// \n// 14 xrefs:\n// > LevelEditorLayer::updateObjectColors @ 0x65f810\n// > LevelEditorLayer::updateObjectColors @ 0x65f95c\n// > LevelEditorLayer::updateObjectColors @ 0x65fb38\n// > LevelEditorLayer::updateObjectColors @ 0x65fbac\n// > LevelEditorLayer::updateVisibility @ 0x662e94\n// > LevelEditorLayer::updateVisibility @ 0x662fe8\n// > LevelEditorLayer::updateVisibility @ 0x66350c\n// > LevelEditorLayer::updateVisibility @ 0x663580\n// > GJBaseGameLayer::updateLevelColors @ 0x857e4c\n// > GJBaseGameLayer::updateLevelColors @ 0x857f90\n// > GJBaseGameLayer::updateLevelColors @ 0x857fb4\n// > GJBaseGameLayer::updateGradientLayers @ 0x85df88\n// > GJBaseGameLayer::updateGradientLayers @ 0x85df9c\n// > <???> @ 0xad3a0\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; // x0\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 0x8bfa18 to 0x8bfa48 (48 bytes)\n; \n; 14 xrefs:\n; > LevelEditorLayer::updateObjectColors @ 0x65f810\n; > LevelEditorLayer::updateObjectColors @ 0x65f95c\n; > LevelEditorLayer::updateObjectColors @ 0x65fb38\n; > LevelEditorLayer::updateObjectColors @ 0x65fbac\n; > LevelEditorLayer::updateVisibility @ 0x662e94\n; > LevelEditorLayer::updateVisibility @ 0x662fe8\n; > LevelEditorLayer::updateVisibility @ 0x66350c\n; > LevelEditorLayer::updateVisibility @ 0x663580\n; > GJBaseGameLayer::updateLevelColors @ 0x857e4c\n; > GJBaseGameLayer::updateLevelColors @ 0x857f90\n; > GJBaseGameLayer::updateLevelColors @ 0x857fb4\n; > GJBaseGameLayer::updateGradientLayers @ 0x85df88\n; > GJBaseGameLayer::updateGradientLayers @ 0x85df9c\n; > <???> @ 0xad3a0\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\nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x8bfa18\nMOV             X29, SP                                                ; +0x4, 0x8bfa1c\nBL              _ZN15GJEffectManager14getColorSpriteEi; GJEffectManager::getColorSprite(int) ; +0x8, 0x8bfa20\nCBZ             X0, loc_8BFA3C                                         ; +0xc, 0x8bfa24\nLDR             S0, [X0,#0x13C]                                        ; +0x10, 0x8bfa28\nLDR             S1, =0x437F0000                                        ; +0x14, 0x8bfa2c\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x18, 0x8bfa30\nFDIV            S0, S0, S1                                             ; +0x1c, 0x8bfa34\nRET                                                                    ; +0x20, 0x8bfa38\nFMOV            S0, #1.0                                               ; +0x24, 0x8bfa3c\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x28, 0x8bfa40\nRET                                                                    ; +0x2c, 0x8bfa44", "xrefs": ["LevelEditorLayer::updateObjectColors @ 0x65f810", "LevelEditorLayer::updateObjectColors @ 0x65f95c", "LevelEditorLayer::updateObjectColors @ 0x65fb38", "LevelEditorLayer::updateObjectColors @ 0x65fbac", "LevelEditorLayer::updateVisibility @ 0x662e94", "LevelEditorLayer::updateVisibility @ 0x662fe8", "LevelEditorLayer::updateVisibility @ 0x66350c", "LevelEditorLayer::updateVisibility @ 0x663580", "GJBaseGameLayer::updateLevelColors @ 0x857e4c", "GJBaseGameLayer::updateLevelColors @ 0x857f90", "GJBaseGameLayer::updateLevelColors @ 0x857fb4", "GJBaseGameLayer::updateGradientLayers @ 0x85df88", "GJBaseGameLayer::updateGradientLayers @ 0x85df9c", "<???> @ 0xad3a0"], "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"}