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.