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.

#343 P-code coding, I don't know what I does wrong.
Author:
capasha

Date created:
Type: question
Visibility: Everybody
Assigned to:
Labels: P-code
State: closed 

P-code
===========
valueRead
pushint 12
equals
dup
iftrue ofs0014
pop
valueRead
pushint 13
equals
ofs0014:dup
iftrue ofs0037
Do Something
jump ofs0052
ofs0037:Do Something1
ofs0052:returnvoid
===========
Should also be this in AS3 code
if (valueRead == 12 || valueRead == 13) {
Do Something
}
else
{
Do Something1
}
But It's nothing when I coded it in p-code. I don't know what I do wrong.
Help with the code would be really nice.
Found out what's wrong. This can be closed.
State: new→closed