// // EditorPauseLayer::sfxSliderChanged from 0x140182390 to 0x140182431 (161 bytes) // // 4 xrefs: // > EditorPauseLayer::customSetup @ 0x140181fed // > OptionsLayer::customSetup @ 0x1404cb78e // > PauseLayer::customSetup @ 0x1404d7fc0 // > @ 0x140918bf0 // // 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:37 +0000 // // Merged with: EditorPauseLayer::sfxSliderChanged, OptionsLayer::sfxSliderChanged, PauseLayer::sfxSliderChanged // Hidden C++ exception states: #wind=1 void __fastcall EditorPauseLayer::sfxSliderChanged(__int64 a1, float *a2) { float Value; // xmm6_4 __int64 v3; // rbx __int64 v4; // rcx __int64 v5; // rcx void *v6; // [rsp+48h] [rbp+10h] Value = SliderThumb::getValue(a2); if ( Value < 0.029999999 ) Value = 0.0; v3 = qword_14090BF60; if ( !qword_14090BF60 ) { v6 = operator new(0x8A8u); qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v6); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60); v3 = qword_14090BF60; } *(float *)(v3 + 516) = Value; v4 = *(_QWORD *)(v3 + 584); if ( v4 ) FMOD::ChannelControl::setVolume(v4); v5 = *(_QWORD *)(v3 + 600); if ( v5 ) FMOD::ChannelControl::setVolume(v5); }