Note of course, that the code that comes out of Ghidra is significantly worse than the source code. Aside from the obvious like variable names, more complicated language features, like templates or macros, won't roundtrip.
(Unless I'm misunderstanding your comment, and "horrifying" was not meant to describe the code itself.)
(Unless I'm misunderstanding your comment, and "horrifying" was not meant to describe the code itself.)