fixed renaming across multiple ABCs

This commit is contained in:
Jindra Pet��k
2013-07-05 20:03:50 +02:00
parent 4c07495a2e
commit 97e48755f9
3 changed files with 34 additions and 20 deletions
@@ -1502,7 +1502,12 @@ public class SWF {
HashMap<String, String> namesMap = new HashMap<>();
for (Tag tag : tags) {
if (tag instanceof ABCContainerTag) {
((ABCContainerTag) tag).getABC().deobfuscateIdentifiers(namesMap, renameType);
((ABCContainerTag) tag).getABC().deobfuscateIdentifiers(namesMap, renameType, true);
}
}
for (Tag tag : tags) {
if (tag instanceof ABCContainerTag) {
((ABCContainerTag) tag).getABC().deobfuscateIdentifiers(namesMap, renameType, false);
}
}
for (Tag tag : tags) {