// // OptionsLayer::musicSliderChanged from 0x10079b120 to 0x10079b190 (112 bytes) // // 1 xrefs: // > OptionsLayer::customSetup @ 0x10079a87e // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall OptionsLayer::musicSliderChanged(OptionsLayer *a1, cocos2d::CCObject *a2) { __m128 v2; // xmm0 __m128 v3; // rt1 FMODAudioEngine *v4; // rax FMODAudioEngine *v5; // rax GameManager *v6; // rax float v7; // [rsp+0h] [rbp-20h] float BackgroundMusicVolume; // [rsp+1Ch] [rbp-4h] v2.f32[0] = SliderThumb::getValue((SliderThumb *)a2); v3.i32[0] = 1022739087; v7 = _mm_andnot_ps(_mm_cmplt_ss(v2, v3), v2).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); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source