heh :D I suppose "shift_sp 1" is allocation of stack space for func_call's return value :)
my decompiler won't help you with this then, it depends on C4 convention, where return value overwrites the first parameter.
you'd have the delete all "shift_sp 1" lines, then in each sequence of "func_call something; shift_sp -X; shift_sp -1" delete the last shift, and where "shift_sp -X" isn't followed by another -1, decrease X by 1 (or delete the line if X==1). then, maybe, my decompiler will be able to guess how many parameters a func_call takes.
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 08-26-2009, 02:14 AM. Открыть источник.