JPEXS Free Flash Decompiler Issue Tracker

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 issuesList of issues

#2127 GetURL2 loadTargetFlag and loadVariablesFlag swapped on P-code panel
Author: user nosamu
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS1/2P-code
State: closed Help

> What steps will reproduce the problem? 1. Load an SWF file in FFDec that uses GetURL2. 2. Find the GetURL2 line in the P-code panel. Highlight the values of the flags (true or false). 3. Notice that FFDec displays the first flag as the loadTargetFlag and the second flag as the loadVariablesFlag. > What is the expected output? What do you see instead? This is swapped from what I expect. For example, if my AS code is `loadMovie(url,"mc")`, the loadTargetFlag should be true and the loadVariablesFlag should be false. But the P-code panel indicates the opposite. > What version of the product are you using? Is it "nightly build"? Which operating system do you have? FFDec version: 20.0.0 nightly build 2702 Operating system: Windows 10 64-bit > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise
admin
This is fixed in nightly 2703. The correct order of fields(according to bytecode) in GetURL2 is: (loadVariablesFlag, loadTargetFlag, sendVarsMethod). The official Adobes documentation has it wrong: (sendVarsMethod, loadTargetFlag, loadVariablesFlag), that's why I got confused. Now it should be okay.
State: new→upgraded
user
Ah that makes sense. Confirmed that it's fixed now, thanks!
admin
State: upgraded→closed