#213 decompilation errors
> 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
100000.swf (1,368 KiB)
version 1.6.5u1 was released both problems should be fixed now
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?
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.
DouGame.swf (1,793 KiB)
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)
Another issue: Empty stack in frame 1/DoAction Decompilation in version 1.6.3u2 was much better.
1.swf (3 KiB)
Version 1.6.6 was released. This should be fixed, try it.
thank you, both problems were fixed