JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler

NEW : You can now close your own issues and reopen them later if needed. You can also comment closed issues.
List of issuesList of issues

#2059 Setting to use DefineFunction instead of DefineFunction2
Author:
Date created:
Type: feature
Visibility: Everybody
Assigned to:
State: upgraded Help

Would it be possible to have a setting where you can have ActionScript 2 functions be saved as DefineFunction all the time instead of DefineFunction2? I want this so that upon saving my ActionScript, variables don't become local register variables.
In FFDec nightly 3536, DefineFunction is used instead of DefineFunction2 for SWFs version 6 or lower. Also, for SWFs 7 onwards, DefineFunction2 is used and also it retains variable names inside it and if the variable name is named like register (like _loc2_), then it tries to use register instead of variable.
State: new→upgraded