mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-15 17:59:02 +00:00
Changed: AS1/2: Export names are deobfuscated only when start with __Packages.,
if not, then classical escaping is performed (with quotes)
This commit is contained in:
@@ -23,6 +23,7 @@ import com.jpexs.decompiler.flash.tags.DoInitActionTag;
|
||||
import com.jpexs.decompiler.flash.tags.Tag;
|
||||
import com.jpexs.decompiler.flash.timeline.FrameScript;
|
||||
import com.jpexs.decompiler.flash.treeitems.TreeItem;
|
||||
import com.jpexs.helpers.Helper;
|
||||
import com.jpexs.helpers.SerializableImage;
|
||||
import java.awt.Color;
|
||||
import java.awt.Dimension;
|
||||
@@ -256,7 +257,11 @@ public class FolderListPanel extends JPanel {
|
||||
String expName = tag.getSwf().getExportName(tag.getCharacterId());
|
||||
if (expName != null && !expName.isEmpty()) {
|
||||
String[] pathParts = expName.contains(".") ? expName.split("\\.") : new String[]{expName};
|
||||
s = IdentifiersDeobfuscation.printIdentifier(false, pathParts[pathParts.length - 1]);
|
||||
if (expName.startsWith("__Packages.")) {
|
||||
s = IdentifiersDeobfuscation.printIdentifier(false, pathParts[pathParts.length - 1]);
|
||||
} else {
|
||||
s = Helper.escapeExportname(expName, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (s == null) {
|
||||
|
||||
Reference in New Issue
Block a user