If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
NEW : You can now close your own issues and reopen them later if needed. You can also comment closed issues.
List of issues#2654 AS2: Decompilation error in class file
Author:
Randomno
RandomnoDate created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS1/2Decompilation
State: upgraded 

> What steps will reproduce the problem?
Open swf inside zip and view Classtest package.
> What is the expected output? What do you see instead?
Should decompile to:
class Classtest
{
var gameOverEvent;
var gameRunning;
var isBigFishCaught;
var grayFishMode;
var lineExtra;
function frame1()
{
gameOverEvent;
this.isBigFishCaught = false;
if(this.grayFishMode == true)
{
this.lineExtra = 35;
}
}
}
Instead leaves push instruction.
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
25.1.3
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
This is a dupe of #2590. I wasn't very clear but this is indeed a bug, sorry. I've
narrowed down the issue and included the FLA/.as in the zip.
test.zip (5 KiB)In nightly 3452 or later,
there is "//unpopped" comment instead the §§push.
The rule is:
When there are some §§pop() instructions in the code,
then leave §§pushes as they are, otherwise convert them to original value with
"//unpopped" comment.
State: new→upgraded
