// // PauseLayer::musicSliderChanged from 0x14037e130 to 0x14037e1c0 (144 bytes) // // 2 xrefs: // > PauseLayer::customSetup @ 0x14037d054 // > @ 0x1406d5d68 // // 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 PauseLayer::musicSliderChanged(PauseLayer *a1, cocos2d::CCObject *a2) { float Value; // xmm6_4 __int64 v3; // rax FMOD::ChannelControl *v4; // rcx FMODAudioEngine *v5; // [rsp+48h] [rbp+10h] Value = SliderThumb::getValue((SliderThumb *)a2); if ( Value < 0.029999999 ) Value = 0.0; v3 = qword_1406C2E88; if ( !qword_1406C2E88 ) { v5 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v5); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v3 = qword_1406C2E88; } *(_DWORD *)(v3 + 524) = 0; *(float *)(v3 + 512) = Value; v4 = *(FMOD::ChannelControl **)(v3 + 552); if ( v4 ) FMOD::ChannelControl::setVolume(v4, Value); }
GD Web Decomp Icon

GD Web Decomp

Raw Source