The safecall modifier ressembles closely the stdcall modifier. It sends parameters from right to left on the stack. Additionally, the called procedure saves and restores all registers.
More information about this modifier can be found in the Programmer’s Guide, in the section on the calling mechanism and the chapter on linking.