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