// // OptionsLayer::musicSliderChanged from 0x10087bd90 to 0x10087be00 (112 bytes) // // 1 xrefs: // > OptionsLayer::customSetup @ 0x10087b49e // // 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:55 +0000 // void __fastcall OptionsLayer::musicSliderChanged(__int64 a1, float *a2) { __m128 Value; // xmm0 __m128 v3; // rt1 __int64 v4; // rax __int64 v5; // rax __int64 v6; // rax float v7; // [rsp+0h] [rbp-20h] float BackgroundMusicVolume; // [rsp+1Ch] [rbp-4h] Value = SliderThumb::getValue(a2); v3.i32[0] = 1022739087; v7 = _mm_andnot_ps(_mm_cmplt_ss(Value, v3), Value).f32[0]; v4 = FMODAudioEngine::sharedEngine(); BackgroundMusicVolume = FMODAudioEngine::getBackgroundMusicVolume(v4); v5 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::setBackgroundMusicVolume(v5, v7); if ( BackgroundMusicVolume <= 0.0 && v7 > 0.0 ) { v6 = GameManager::sharedState(); GameManager::playMenuMusic(v6, 0.0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source