It appears to me that in my function the compiler has reused a stack slot for two variables of types. However, Hex-Rays has not recognized it as such. How can I split the local variable into two?
I usually add structs with unions to make the output slightly more readable when the compiler has reused a stack slot for different variables.
In 7.2, it seems that you can force the decompiler to "create a new variable", which makes this easier and less ugly. Yay!