I think people are just using the term "recompile" wrong. Currently, as far as i know, all projects that are trying to get GTA6 to run on PC are just writing compatibility layers. The source code was not leaked and nothing is actually being recompiled.
They are recompiling the shaders. Xbox Series shaders are raw RDNA2 machine code, these projects are recompiling them to SPIRV to allow them to run under DX12 or Vulkan on PCs.