-
Notifications
You must be signed in to change notification settings - Fork 686
FAQ
This message means that you are opening file which is not really the SWF. FFDec can process only valid SWF files - those which can be played in Flash player. SWF file extension is not enough - also file structure must be compliant with SWF standard - it needs to start with FWS, CWS or ZWS bytes. If you are 100% sure there is something SWF related inside your file, then it probably needs some kind of decryption/unpacking routine first. Go where you got the file and search for an unpacking routine (loader), maybe you find something. FFDec cannot help you with this since decryption routine can be literally anything.
No, this feature is not implemented, sorry. Editing is limited to existing scripts or classes.
Direct editation of AS is experimental and in most cases not even working - it might damage your SWF file. We won't fix that, sorry.
No, we no longer work on the decompiler. But decompiler is opensource, you can implement feature yourself.
No, sorry, we no longer fix any bugs. Ask somebody else.
No, there isn't one.
A) Variable identifiers which have invalid characters in their name are displayed in the form §name§
(for example §s-r/rg§
).
This allows easier direct editation.
B) Also, there exist few special instructions/functions with prefix §§:
-
§§push(item)
- pushes item on stack -
§§pop()
- pops from stack -
§§dup()
- duplicates value on stack -
§§goto(label)
- jump to address1 (not compilable) -
§§constant(number)
- unresolved constant in AS1/2 (unknown constantpool) -
§§multiname(index)
- unresolved multiname in AS3 (not compilable) -
§§hasnext(object,index)
- hasnext or hasnext2 AS3 instruction -
§§newactivation()
- newactivation AS3 instruction -
§§nextname(index,object)
- nextname AS3 instruction -
§§nextvalue(index,object)
- nextvalue AS3 instruction -
§§enumeration()
- generated by ActionEnumerate or ActionEnumerate2 in AS1/2 (not compilable) -
§§enum_assign()
- used by enumeration in AS1/2 (not compilable)
These functions usually pop out when you try to decompile some obfuscated / unstructured code. You can try Settings/Automatic deobfuscation option for handle some kinds of this code properly.
JPEXS Free Flash Decompiler Wiki