//
// EditorSFXManager::setGlobalVolume from 0x1008e3c40 to 0x1008e3c6a (42 bytes)
//
// 1 xrefs:
// > EditorPauseLayer::editorSFXSliderChanged @ 0x10027eb14
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:37:47 +0000
//
void __fastcall EditorSFXManager::setGlobalVolume(__int64 a1, float a2)
{
float v2; // xmm1_4
v2 = 0.0;
if ( a2 >= 0.0 )
{
v2 = a2;
if ( a2 > 1.0 )
v2 = 1.0;
}
*(float *)(a1 + 192) = v2;
}