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#2324 Resulting code is different after save removes loop label
Author: Thisguy248
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3Direct Editation
State: closed
> What steps will reproduce the problem?
Download the attached swf and go to com.foxarc.util.Base64, press Edit ActionScript, add a
spacebar, and press save.
> What is the expected output? What do you see instead?
Before we have a loop label in the decode function like this
loop0:
while(_loc6_ < _loc7_)
We also have break loop0 and continue loop0 statements in inner loops which reference the
outer loop
After save a lot of the code is changed and the loop0 is gone. I don't know exactly which
parts are different but the while changing to if(_loc6_ < _loc7_) definitely doesn't seem
right
When I open the swf in flash, create projector, press levels and user levels, I get the
following error:
Error: Error #2058: There was an error decompressing the data.
at flash.utils::ByteArray/_uncompress()
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
v.21.1.0 nightly build 2920 on Windows 10
Nv2.swf (552 KiB)
This is fixed in nightly 2927.
State: new→upgraded
I thought this might be very hard to fix, glad you could do it, thanks!
You're welcome! Luckily, this was not so hard.
State: upgraded→closed