mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-27 22:04:46 +00:00
as3 instruction parsing test added
This commit is contained in:
@@ -23,6 +23,8 @@ import com.jpexs.decompiler.flash.abc.CachedDecompilation;
|
||||
import com.jpexs.decompiler.flash.abc.ClassPath;
|
||||
import com.jpexs.decompiler.flash.abc.RenameType;
|
||||
import com.jpexs.decompiler.flash.abc.ScriptPack;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
|
||||
import com.jpexs.decompiler.flash.abc.types.MethodBody;
|
||||
import com.jpexs.decompiler.flash.abc.types.ScriptInfo;
|
||||
import com.jpexs.decompiler.flash.action.Action;
|
||||
import com.jpexs.decompiler.flash.action.ActionGraphSource;
|
||||
@@ -1868,6 +1870,17 @@ public final class SWF implements SWFContainerItem, Timelined {
|
||||
getVariables(variables, actionsMap, functions, strings, usageTypes, asm, path);
|
||||
}
|
||||
|
||||
public void fixAS3Code() {
|
||||
for (ABCContainerTag abcTag : getAbcList()) {
|
||||
ABC abc = abcTag.getABC();
|
||||
for (MethodBody body : abc.bodies) {
|
||||
AVM2Code code = body.getCode();
|
||||
}
|
||||
|
||||
((Tag) abcTag).setModified(true);
|
||||
}
|
||||
}
|
||||
|
||||
public int deobfuscateAS3Identifiers(RenameType renameType) {
|
||||
for (Tag tag : tags) {
|
||||
if (tag instanceof ABCContainerTag) {
|
||||
|
||||
Reference in New Issue
Block a user