{"type": "func", "start": 4304288832, "end": 4304288874, "name": "EditorSFXManager::setGlobalVolume", "pseudocode": "// \n// EditorSFXManager::setGlobalVolume from 0x1008e3c40 to 0x1008e3c6a (42 bytes)\n// \n// 1 xrefs:\n// > EditorPauseLayer::editorSFXSliderChanged @ 0x10027eb14\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:37:47 +0000\n// \n\nvoid __fastcall EditorSFXManager::setGlobalVolume(__int64 a1, float a2)\n{\n  float v2; // xmm1_4\n\n  v2 = 0.0;\n  if ( a2 >= 0.0 )\n  {\n    v2 = a2;\n    if ( a2 > 1.0 )\n      v2 = 1.0;\n  }\n  *(float *)(a1 + 192) = v2;\n}", "assembly": "; \n; EditorSFXManager::setGlobalVolume from 0x1008e3c40 to 0x1008e3c6a (42 bytes)\n; \n; 1 xrefs:\n; > EditorPauseLayer::editorSFXSliderChanged @ 0x10027eb14\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:37:47 +0000\n; \nxorps   xmm1, xmm1                                                     ; +0x0, 0x1008e3c40\nucomiss xmm1, xmm0                                                     ; +0x3, 0x1008e3c43\nja      short loc_1008E3C61                                            ; +0x6, 0x1008e3c46\npush    rbp                                                            ; +0x8, 0x1008e3c48\nmov     rbp, rsp                                                       ; +0x9, 0x1008e3c49\nucomiss xmm0, cs:alpha                                                 ; +0xc, 0x1008e3c4c\nmovaps  xmm1, xmm0                                                     ; +0x13, 0x1008e3c53\njbe     short loc_1008E3C60                                            ; +0x16, 0x1008e3c56\nmovss   xmm1, cs:alpha                                                 ; +0x18, 0x1008e3c58\npop     rbp                                                            ; +0x20, 0x1008e3c60\nmovss   dword ptr [rdi+0C0h], xmm1                                     ; +0x21, 0x1008e3c61\nretn                                                                   ; +0x29, 0x1008e3c69", "xrefs": ["EditorPauseLayer::editorSFXSliderChanged @ 0x10027eb14"], "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"}