Format code (DO NOT MERGE)

This is not intended to serve as an example of what uncrustify can currently do, so I can tweak the config based on feedback.
I'd like to keep the space after cast if that works.