AS1/2 Improved direct editing

AS1/2 Improved decompilation of various global functions
This commit is contained in:
Jindra Pet��k
2013-07-15 23:07:36 +02:00
parent 61b3c13105
commit 49ef4c0961
175 changed files with 5356 additions and 2183 deletions
@@ -16,8 +16,10 @@
*/
package com.jpexs.decompiler.flash.action.treemodel;
import com.jpexs.decompiler.flash.action.swf4.ActionMBStringExtract;
import com.jpexs.decompiler.flash.graph.GraphSourceItem;
import com.jpexs.decompiler.flash.graph.GraphTargetItem;
import com.jpexs.decompiler.flash.graph.SourceGenerator;
import java.util.List;
public class MBStringExtractTreeItem extends TreeItem {
@@ -46,4 +48,14 @@ public class MBStringExtractTreeItem extends TreeItem {
ret.addAll(count.getNeededSources());
return ret;
}
@Override
public List<GraphSourceItem> toSource(List<Object> localData, SourceGenerator generator) {
return toSourceMerge(localData, generator, value, index, count, new ActionMBStringExtract());
}
@Override
public boolean hasReturnValue() {
return true;
}
}