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 issues](/flash/images/issue_list.png)
#213 decompilation errors
Author:
honfika
![developer developer](/flash/images/user_developer.png)
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS1/2Obfuscated
State: closed ![Help](/flash/images/help.png)
![Help](/flash/images/help.png)
> What steps will reproduce the problem?
Open attached swf.
Find scripts\__Packages\JSON.as
Check values and stringify methods.
> What is the expected output? What do you see instead?
Expected: methods are decompiled as in previous (1.6.4u1) version.
Current: NullPointerException
Another problem:
Value of "ch" field is missing: var ch = ;
> What version of the product are you using? On what operating system?
1.6.5, win7 x64
> Please provide any additional information below. Attach the file you have problem with
if neccessary. If you do not want to publish files YOU CAN CHANGE VISIBILITY TO PRIVATE
![Download](/flash/images/disk.png)
State: new→opened
version 1.6.5u1 was released
both problems should be fixed now
State: opened→upgraded
Yes, the issues are fixed.
In the decompiled code i found the following line:
register7=register7+"\\u00"+Math.floor(register9/16).toString(16)+register9%16.toString(16
);
register9%16 should be inside parenthesis. However it was an AS1/2 example, but in AS3 it
is not valid. Is it valid in AS1/2?
State: upgraded→returned
Please check this swf, too.
modules\HorseRacing\SmallGameAlgorithmManager.as checkIsValidFormatForNumberGame function
In 1.6.5u1 it shows:
/*
* Decompilation error
* Code may be obfuscated
* Error type: StackOverflowError
*/
throw new IllegalOperationError("Not decompiled due to error");
In 1.6.5 it was decompiled.
![Download](/flash/images/disk.png)
Was it? I got the same result for 1.6.5 and /* StackOverflowError */ for 1.6.4u1. It is
the same problem as in the issue number 165. I suggest it is related to a new loop
detection algorithm as the older version 1.6.0 doesn't have this flaw.
The decompilation of "checkIsValidFormatForNumberGame" function was OK in 1.6.3u2, 1.6.4u1
and in 1.6.5.
It is wrong only in 1.6.5u1.
(With automatic deobfuscation ON)
State: returned→opened
Another issue: Empty stack in frame 1/DoAction
Decompilation in version 1.6.3u2 was much better.
![Download](/flash/images/disk.png)
Version 1.6.6 was released.
This should be fixed, try it.
State: opened→upgraded
thank you, both problems were fixed
State: upgraded→closed