- if (pp->argc_reg == 0 && !pp->is_stdcall) {
- fprintf(f, "\tjmp _%s\n\n", sym);
+ if (pp->argc_reg == 0 || pp->is_fastcall) {
+ fprintf(f, "\tjmp %s%s",
+ pp->is_fastcall ? "@" : "_", sym);
+ if (pp->is_stdcall && pp->argc > 0)
+ fprintf(f, "@%d", pp->argc * 4);
+ fprintf(f, "\n\n");