batch bulk conversion of .uasset to .wav

I have several thousand audio files in .uasset

They are stored in the wavs and cues folders

I was able to convert some of these files through ffmpeg using
ffmpeg -f s32le -ar 44100 -ac 2 -i input.uasset output.wav

But for many files it doesn’t work because, as I understand it, the metadata that is in the cues uassets is lost. which makes a lot of noise in the file appear

How can I automatically reconvert such a huge amount of files?

I found some solutions on github made for valorant, but didn’t manage to use them.

fyi, there is a Bulk Export option in the Content Browser, and its built-in for us.
All you need to do is FILTER by audio → sound wave → select all wavs (ctrl+A) → right click → Asset Actions → Bulk Export → extract to folder = DONE

this will export them in wav including the folder heirarchies. hope it helps