JPEXS Free Flash Decompiler Issue Tracker

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

: The issue tracker is now writable again and logged users can download files too. But note that our support is very LIMITED.

List of issuesList of issues

#1188 order of static fields
Author: user BeniBela
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3DecompilationObfuscated
State: upgraded Help

The 6.0.1 version used to duplicate static field initializations. So you had public static var REG_MAP:Object = { "command":commandRegExp, "war":warRegExp, "tech":techRegExp, "build":buildRegExp }; { REG_MAP:Object = { "command":commandRegExp, "war":warRegExp, "tech":techRegExp, "build":buildRegExp } }; 8.0.1 only shows the first initialization, which seems better. However, it does not pay attention to the order of the fields. E.g. if warRegExp is a regexp and is put after REG_MAP, it is still null, when REG_MAP is initialized. So after recompilation get the wrong value in REG_MAP and 8.0.1 is worse than 6.0.1
admin
I don't know whether it's still related as flash is gone, but this was fixed in version 13.0.2. Fields that depend on other fields are now declared later. This is probably caused by obfuscation of the file - obfuscator reordered these fields to make it wrong.
State: new→upgraded