JPEXS Free Flash Decompiler Issue Tracker

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

NEW : We have got a new blog where we post some interesting SWF internals info.

List of issuesList of issues

#1157 Deobfuscation: evaluate arithmetic constants
Author: user thiht
Date created:
Type: feature
Visibility: Everybody
Assigned to:
Labels: AS3
State: closed Help

Sometimes I have to deal with uncompiled SWF with a lot of fields like: public static const const_87:int = 2072 + -2072; public static const const_88:int = 3187 + -3186; public static const const_89:int = 9841 + -9839; public static const const_90:int = 7824 + -7821; Would it be possible to have a deobfuscation option so that these constant values are evaluated in: public static const const_87:int = 0; public static const const_88:int = 1; public static const const_89:int = 2; public static const const_90:int = 3;
admin
Please try new Simplify expressions setting in the Settings tab. It should do the trick.
State: new→upgraded
user
It's working great, thank you!
admin
You're welcome.
State: upgraded→closed