//
// OptionsLayer::volumeChanged from 0x10087ad40 to 0x10087ad95 (85 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ba3218
//
// 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:36:54 +0000
//
void __fastcall OptionsLayer::volumeChanged(__int64 a1)
{
__int64 v1; // r14
__int64 v2; // rax
float BackgroundMusicVolume; // xmm0_4
__int64 v4; // rbx
__int64 v5; // rax
float v6; // xmm0_4
v1 = *(_QWORD *)(a1 + 648);
if ( v1 )
{
v2 = FMODAudioEngine::sharedEngine();
BackgroundMusicVolume = FMODAudioEngine::getBackgroundMusicVolume(v2);
Slider::setValue(v1, BackgroundMusicVolume);
}
v4 = *(_QWORD *)(a1 + 656);
if ( v4 )
{
v5 = FMODAudioEngine::sharedEngine();
v6 = sub_1003D3F10(v5);
Slider::setValue(v4, v6);
}
}