Theoretically, it shouldn't matter if you pop the remaining values off the stack, as it isn't used by any normal functions, it won't screw up rets. Try it plox. (call the function 8-ish times and see what happens)
Sine and cosine are clever, nice work. But I thought you couldn't calculate them..?
And coz you're afraid of leaving stuff on top of the stack, changing esp will make it so those are pretty much ignored.
I really don't know why I did the mask. Maybe because I realized I gave you the wrong-ish offset or something.
I know exactly what they do - nothing.
Money's is easy thru TSC, don't waste space (but point taken bout the flags).
MenuRectFlash is that thing that makes itemscreen cursor switch tween light and dark.