{"type": "func", "start": 4297887776, "end": 4297887818, "name": "GJEffectManager::activeOpacityForIndex", "pseudocode": "// \n// GJEffectManager::activeOpacityForIndex from 0x1002c9020 to 0x1002c904a (42 bytes)\n// \n// 13 xrefs:\n// > LevelEditorLayer::updateVisibility @ 0x1000be0c8\n// > LevelEditorLayer::updateVisibility @ 0x1000be104\n// > LevelEditorLayer::updateVisibility @ 0x1000be247\n// > LevelEditorLayer::updateVisibility @ 0x1000be49e\n// > LevelEditorLayer::updateObjectColors @ 0x1000be779\n// > LevelEditorLayer::updateObjectColors @ 0x1000be7b5\n// > LevelEditorLayer::updateObjectColors @ 0x1000be908\n// > LevelEditorLayer::updateObjectColors @ 0x1000beb18\n// > GJBaseGameLayer::updateLevelColors @ 0x1000f0977\n// > GJBaseGameLayer::updateLevelColors @ 0x1000f0aab\n// > GJBaseGameLayer::updateLevelColors @ 0x1000f0adf\n// > GJBaseGameLayer::updateGradientLayers @ 0x1001173d3\n// > GJBaseGameLayer::updateGradientLayers @ 0x100117403\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:28:09 +0000\n// \n\nfloat __fastcall GJEffectManager::activeOpacityForIndex(_QWORD *a1, int a2)\n{\n  char *ColorSprite; // rax\n\n  ColorSprite = GJEffectManager::getColorSprite(a1, a2);\n  if ( ColorSprite )\n    return *((float *)ColorSprite + 79) / 255.0;\n  else\n    return 1.0;\n}", "assembly": "; \n; GJEffectManager::activeOpacityForIndex from 0x1002c9020 to 0x1002c904a (42 bytes)\n; \n; 13 xrefs:\n; > LevelEditorLayer::updateVisibility @ 0x1000be0c8\n; > LevelEditorLayer::updateVisibility @ 0x1000be104\n; > LevelEditorLayer::updateVisibility @ 0x1000be247\n; > LevelEditorLayer::updateVisibility @ 0x1000be49e\n; > LevelEditorLayer::updateObjectColors @ 0x1000be779\n; > LevelEditorLayer::updateObjectColors @ 0x1000be7b5\n; > LevelEditorLayer::updateObjectColors @ 0x1000be908\n; > LevelEditorLayer::updateObjectColors @ 0x1000beb18\n; > GJBaseGameLayer::updateLevelColors @ 0x1000f0977\n; > GJBaseGameLayer::updateLevelColors @ 0x1000f0aab\n; > GJBaseGameLayer::updateLevelColors @ 0x1000f0adf\n; > GJBaseGameLayer::updateGradientLayers @ 0x1001173d3\n; > GJBaseGameLayer::updateGradientLayers @ 0x100117403\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:28:09 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002c9020\nmov     rbp, rsp                                                       ; +0x1, 0x1002c9021\ncall    GJEffectManager__getColorSprite                                ; +0x4, 0x1002c9024\ntest    rax, rax                                                       ; +0x9, 0x1002c9029\njz      short loc_1002C9040                                            ; +0xc, 0x1002c902c\nmovss   xmm0, dword ptr [rax+13Ch]                                     ; +0xe, 0x1002c902e\ndivss   xmm0, cs:dword_100A03F80                                       ; +0x16, 0x1002c9036\npop     rbp                                                            ; +0x1e, 0x1002c903e\nretn                                                                   ; +0x1f, 0x1002c903f\nmovss   xmm0, cs:alpha                                                 ; +0x20, 0x1002c9040\npop     rbp                                                            ; +0x28, 0x1002c9048\nretn                                                                   ; +0x29, 0x1002c9049", "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"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}