I don't know why this code has the value 176.0 all over it.
It seems a lot of viewport related code has it.
Maybe it's rendering at 640x352 or something and 176 is half of it?
but let me know if you know some secret Wii-176 connection

1/ SQRT(0.0) ?

uhhhh

are you just trying to explode math?

ghidra what kind of type inference is it that you assume the return value of operator_new is an int?

WHEN HAS OPERATOR NEW EVER RETURNED AN INT?

@foone maybe was it the standard before they settled on a float and they want to maintain compatibility /s