I watched it again a couple times and I realized what happened.
when he called the function GetViewportSize(ViewportSizeX, ViewportSizeY);
it was a built in function that passes viewport size as a vector into those two parameters.
Don’t know how still, but at least I’m not 100% lost anymore.
You should go back to lecture 163 Creating OUT Parameters. I think basically when we pass a reference through a parameter, we can indirectly modify the value in the method calling by modify the reference in the called method.