{"type": "func", "start": 4295029216, "end": 4295029264, "name": "GJEffectManager::activeOpacityForIndex", "pseudocode": "// \n// GJEffectManager::activeOpacityForIndex from 0x10000f1e0 to 0x10000f210 (48 bytes)\n// \n// 13 xrefs:\n// > GJBaseGameLayer::updateLevelColors @ 0x1001ddf28\n// > GJBaseGameLayer::updateLevelColors @ 0x1001de024\n// > GJBaseGameLayer::updateLevelColors @ 0x1001de050\n// > GJBaseGameLayer::updateGradientLayers @ 0x1001f015c\n// > GJBaseGameLayer::updateGradientLayers @ 0x1001f0174\n// > LevelEditorLayer::updateVisibility @ 0x10035ecac\n// > LevelEditorLayer::updateVisibility @ 0x10035ece0\n// > LevelEditorLayer::updateVisibility @ 0x10035ee2c\n// > LevelEditorLayer::updateVisibility @ 0x10035f094\n// > LevelEditorLayer::updateObjectColors @ 0x10035f2cc\n// > LevelEditorLayer::updateObjectColors @ 0x10035f300\n// > LevelEditorLayer::updateObjectColors @ 0x10035f448\n// > LevelEditorLayer::updateObjectColors @ 0x10035f640\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 __fastcall 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 0x10000f1e0 to 0x10000f210 (48 bytes)\n; \n; 13 xrefs:\n; > GJBaseGameLayer::updateLevelColors @ 0x1001ddf28\n; > GJBaseGameLayer::updateLevelColors @ 0x1001de024\n; > GJBaseGameLayer::updateLevelColors @ 0x1001de050\n; > GJBaseGameLayer::updateGradientLayers @ 0x1001f015c\n; > GJBaseGameLayer::updateGradientLayers @ 0x1001f0174\n; > LevelEditorLayer::updateVisibility @ 0x10035ecac\n; > LevelEditorLayer::updateVisibility @ 0x10035ece0\n; > LevelEditorLayer::updateVisibility @ 0x10035ee2c\n; > LevelEditorLayer::updateVisibility @ 0x10035f094\n; > LevelEditorLayer::updateObjectColors @ 0x10035f2cc\n; > LevelEditorLayer::updateObjectColors @ 0x10035f300\n; > LevelEditorLayer::updateObjectColors @ 0x10035f448\n; > LevelEditorLayer::updateObjectColors @ 0x10035f640\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, 0x10000f1e0\nMOV             X29, SP                                                ; +0x4, 0x10000f1e4\nBL              GJEffectManager__getColorSprite                        ; +0x8, 0x10000f1e8\nCBZ             X0, loc_10000F204                                      ; +0xc, 0x10000f1ec\nLDR             S0, [X0,#0x13C]                                        ; +0x10, 0x10000f1f0\nMOV             W8, #0x437F0000                                        ; +0x14, 0x10000f1f4\nFMOV            S1, W8                                                 ; +0x18, 0x10000f1f8\nFDIV            S0, S0, S1                                             ; +0x1c, 0x10000f1fc\nB               loc_10000F208                                          ; +0x20, 0x10000f200\nFMOV            S0, #1.0                                               ; +0x24, 0x10000f204\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x28, 0x10000f208\nRET                                                                    ; +0x2c, 0x10000f20c", "xrefs": ["GJBaseGameLayer::updateLevelColors @ 0x1001ddf28", "GJBaseGameLayer::updateLevelColors @ 0x1001de024", "GJBaseGameLayer::updateLevelColors @ 0x1001de050", "GJBaseGameLayer::updateGradientLayers @ 0x1001f015c", "GJBaseGameLayer::updateGradientLayers @ 0x1001f0174", "LevelEditorLayer::updateVisibility @ 0x10035ecac", "LevelEditorLayer::updateVisibility @ 0x10035ece0", "LevelEditorLayer::updateVisibility @ 0x10035ee2c", "LevelEditorLayer::updateVisibility @ 0x10035f094", "LevelEditorLayer::updateObjectColors @ 0x10035f2cc", "LevelEditorLayer::updateObjectColors @ 0x10035f300", "LevelEditorLayer::updateObjectColors @ 0x10035f448", "LevelEditorLayer::updateObjectColors @ 0x10035f640"], "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"}