Fixed AS1/2 - switch with nontrivial expressions like and/or,ternar (second pass)

This commit is contained in:
Jindra Petřík
2021-11-28 10:00:30 +01:00
parent 0122db9446
commit 526f484513
115 changed files with 443 additions and 140 deletions

View File

@@ -2205,7 +2205,7 @@ public final class SWF implements SWFContainerItem, Timelined {
}
private static void getVariables(boolean insideDoInitAction, List<MyEntry<DirectValueActionItem, ConstantPool>> variables, List<GraphSourceItem> functions, HashMap<DirectValueActionItem, ConstantPool> strings, HashMap<DirectValueActionItem, String> usageTypes, ActionGraphSource code, int addr, String path) throws InterruptedException {
ActionLocalData localData = new ActionLocalData(insideDoInitAction);
ActionLocalData localData = new ActionLocalData(null, insideDoInitAction);
getVariables(null, localData, new TranslateStack(path), new ArrayList<>(), code, code.adr2pos(addr), variables, functions, strings, new ArrayList<>(), usageTypes, path);
}