//
// EditorPauseLayer::volumeChanged from 0x10027c8c0 to 0x10027c915 (85 bytes)
//
// 1 xrefs:
// > ??> @ 0x100afdf50
//
// 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:27:41 +0000
//
void __fastcall EditorPauseLayer::volumeChanged(__int64 a1, double a2)
{
__int64 v2; // r14
__int64 v3; // rax
__int64 v4; // rbx
__int64 v5; // rax
double v6; // xmm0_8
v2 = *(_QWORD *)(a1 + 616);
if ( v2 )
{
v3 = FMODAudioEngine::sharedEngine(a2);
*(float *)&a2 = FMODAudioEngine::getBackgroundMusicVolume(v3);
Slider::setValue(v2, a2);
}
v4 = *(_QWORD *)(a1 + 624);
if ( v4 )
{
v5 = FMODAudioEngine::sharedEngine(a2);
v6 = sub_1003D3F10(v5);
Slider::setValue(v4, v6);
}
}