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#2319 Divide equals operator bugs on decomp in newer version
Author: Thisguy248
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3DecompilationDirect Editation
State: closed
> What steps will reproduce the problem?
Download the attached swf and go to simulation.collision.colutils, press Edit
ActionScript, add a spacebar, and press save.
> What is the expected output? What do you see instead?
An error pops up saying "Invalid assignment on line 178" in v.21.0.5 nightly build 2911
and highlights the third line below
_loc6_ /= _loc8_;
_loc7_ /= _loc8_;
var _loc9_:Number = -_loc7_ /= _loc8_;
We can compare this to v.20.1.0
_loc6_ /= _loc8_;
var _loc9_:Number = -(_loc7_ /= _loc8_);
There are two differences in the newer version: a divide equal is performed twice and
there is no parenthesis.
I think the third line was intended to be var _loc9_:Number = -_loc7_; in the new version
but something bugged.
Also, if you press cancel after the error popup, select another script, and go back, you
get an error.
/*
* Decompilation error
* Code may be obfuscated
* Tip: You can try enabling "Automatic deobfuscation" in Settings
* Error type: NullPointerException (null)
*/
throw new flash.errors.IllegalOperationError("Not decompiled due to error");
Nv2.swf (552 KiB)
This is fixed in nightly 2917.
State: new→upgraded
Looks good, thanks!
You're welcome.
State: upgraded→closed