//
// EditorPauseLayer::volumeChanged from 0x140180dc0 to 0x140180e80 (192 bytes)
//
// 2 xrefs:
// > ??> @ 0x14074a688
// > ??> @ 0x140918bb4
//
// 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 11:27:36 +0000
//
// Hidden C++ exception states: #wind=2
void __fastcall EditorPauseLayer::volumeChanged(__int64 a1)
{
__int64 v2; // rax
__int64 v3; // rax
void *v4; // [rsp+30h] [rbp+8h]
void *v5; // [rsp+30h] [rbp+8h]
if ( *(_QWORD *)(a1 + 56) )
{
v2 = qword_14090BF60;
if ( !qword_14090BF60 )
{
v4 = operator new(0x8A8u);
qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v4);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);
v2 = qword_14090BF60;
}
Slider::setValue(*(_QWORD *)(a1 + 56), *(float *)(v2 + 512));
}
if ( *(_QWORD *)(a1 + 64) )
{
v3 = qword_14090BF60;
if ( !qword_14090BF60 )
{
v5 = operator new(0x8A8u);
qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v5);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);
v3 = qword_14090BF60;
}
Slider::setValue(*(_QWORD *)(a1 + 64), *(float *)(v3 + 516));
}
}