Hello
As far as I could check the file you attached to this post contains an ANSI C function containing only inline assembly code.
So basically you are invoking an ANSI C function from an ANSI C module.
So parameter passing will be done appropriately and there should be no problem.
The PSH you are seeing at the beginning of the function is some entry code added by the compiler. There is probably a corresponding POP instruction at the end of the function.
CrayCat