//
// EditorSFXManager::setGlobalVolume from 0x77ce74 to 0x77cea0 (44 bytes)
//
// 1 xrefs:
// > EditorPauseLayer::editorSFXSliderChanged @ 0x508d7e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:59:24 +0000
//
int __fastcall EditorSFXManager::setGlobalVolume(int this, float a2)
{
float v2; // s15
v2 = a2;
if ( a2 < 0.0 )
{
v2 = 0.0;
}
else if ( a2 > 1.0 )
{
v2 = 1.0;
}
*(float *)(this + 96) = v2;
return this;
}