Anyway to get the version of the pregmod without the illegal content? I straight up don't want that at all even if it's able to be disabled.
What is illegal or not varies a lot depending on your country or state.
Slavery is illegal in most countries of the world. If you want a version of Free Cities without slavery, then you are probably looking at the wrong game.
Other kinks and fetishes are entirely optional and most of them are disabled by default (lolis, animals, extreme amputations, etc.). They will still be part of the code of the game even if you will not see them.
The current maintainers of the game have stated that they do not want to censor the game and they will not remove any content from the code. However, thanks to the license under which the game is released (GPLv3), you are explicitly allowed to fork the code and create your own version that permanently removes the content that you do not want to see. Or you can pay someone to do it for you, if you want to be sure that you never get a copy of the original code including that content.