In the cdecl
calling convention, it states that:
Arguments are pushed in the reverse order (right to left)
My question is: in the reverse order relative to what non-reverse order? Is it relative to the function documentation? So for example if I have the following function documentation:
void __cdecl foo (int arg1, int arg2, int arg3)
So should I just look at the order of parameters in the function documentation and reverse the augments pushed onto the stack?