mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-01 10:55:12 +00:00
AS2 deobfuscation fix
This commit is contained in:
@@ -107,9 +107,27 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
size--;
|
||||
actionItemMap.remove(item.action);
|
||||
actionItemSet.remove(item);
|
||||
|
||||
replaceJumpTargets(item, next);
|
||||
|
||||
return next;
|
||||
}
|
||||
|
||||
private void replaceJumpTargets(ActionItem target, ActionItem newTarget) {
|
||||
ActionItem item = firstAction;
|
||||
if (item == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
do {
|
||||
if (item.jumpTarget == target) {
|
||||
item.jumpTarget = newTarget;
|
||||
}
|
||||
|
||||
item = item.next;
|
||||
} while (item != firstAction);
|
||||
}
|
||||
|
||||
private void getContainerLastActions(ActionList actions, Map<Action, ActionItem> actionItemMap) {
|
||||
ActionItem item = firstAction;
|
||||
if (item == null) {
|
||||
|
||||
Reference in New Issue
Block a user