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.

#320 The while statement vanish after decompiling
Author:
freddie

Date created:
Type: question
Visibility: Everybody
Assigned to:
Labels: AS3
State: closed 

> What steps will reproduce the problem?
Decompile file: TestFfDec.swf
Result of class to check: Test
Method to check: function test02()
> What is the expected output? What do you see instead?
EXPECTED:
---------------------------------------
public static function test02() : void
{
try
{
var i:int =0;
var b: Boolean = true;
if (i > 0)
{
while (SomeUtilClass.staticMethod())
{
if (b)
{
return;
}
}
}
i++;
}
catch (e:Error)
{
}
}
ACTUAL:
----------------------------------------------
public static function test02() : void {
var i:* = 0;
var b:* = false;
try
{
i = 0;
b = true;
i++;
}
catch(e:Error)
{
}
}
> What version of the product are you using? On what operating system?
Ffdec version: 1.7.0, Windows7x64
> 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
Please see my attachments including the Flex source code and its SWF
Yes,the while statement is missing. This is result of automatic deobfuscation. If(i>0)
always evaluates to false. You can turn the deobfuscation off in the Settings menu. Can I
close this issue?
Type: bug→question
OK, tested with deobfuscation off. You can close it. Thank you
State: new→closed