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#2618 AVM1 decompilation error on incrementing member
Author:
Randomno
RandomnoDate created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS1/2Decompilation
State: upgraded 

> What steps will reproduce the problem?
Compile this P Code
DefineFunction "increment", 0 {
Push "this"
GetVariable
PushDuplicate
Push "myVar"
GetMember
Increment
Push "myVar"
StackSwap
SetMember
}
> What is the expected output? What do you see instead?
Should decompile this.myVar++ or similar, instead leaves dup instruction.
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
24.1.2
> 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 code originated from an old Gnash test which seems to have been compiled with Ming.
https://cgit.git.savannah.gnu.org/cgit/gnash.git/tree/testsuite/misc-ming.all/ming_utils.c
#n183
increment.swf (229 B)
gnash_test.swf (17 KiB)This is fixed in version 25.0.0
State: new→upgraded
