mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-28 21:41:14 +00:00
more compact swf xml format (do not create xml nodes for each byte in byte arrays)
This commit is contained in:
@@ -109,7 +109,8 @@ public class ABC {
|
||||
/* Map from multiname index of namespace value to namespace name**/
|
||||
private Map<String, String> namespaceMap;
|
||||
|
||||
public ABC(SWF swf) {
|
||||
public ABC(ABCContainerTag tag) {
|
||||
this.parentTag = tag;
|
||||
this.deobfuscation = null;
|
||||
constants.constant_double.add(null);
|
||||
constants.constant_int.add(null);
|
||||
|
||||
+1
-1
@@ -2347,7 +2347,7 @@ public class ActionScriptParser {
|
||||
System.err.println("WARNING: AS3 compiler is not finished yet. This is only used for debuggging!");
|
||||
try {
|
||||
initPlayer();
|
||||
ABC abc = new ABC(swf);
|
||||
ABC abc = new ABC(null);
|
||||
ActionScriptParser parser = new ActionScriptParser(abc, playerABCs);
|
||||
parser.addScript(new String(Helper.readFile(src), "UTF-8"), true, src, classPos);
|
||||
try (FileOutputStream fos = new FileOutputStream(new File(dst))) {
|
||||
|
||||
@@ -26,6 +26,7 @@ import com.jpexs.decompiler.flash.exporters.modes.ScriptExportMode;
|
||||
import com.jpexs.decompiler.flash.helpers.GraphTextWriter;
|
||||
import com.jpexs.decompiler.flash.helpers.NulWriter;
|
||||
import com.jpexs.decompiler.flash.helpers.hilight.HighlightSpecialType;
|
||||
import com.jpexs.decompiler.flash.types.annotations.Internal;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.model.LocalData;
|
||||
import com.jpexs.helpers.Helper;
|
||||
@@ -42,6 +43,7 @@ public class TraitSlotConst extends Trait implements TraitWithSlot {
|
||||
|
||||
public int value_kind;
|
||||
|
||||
@Internal
|
||||
public GraphTargetItem assignedValue;
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user