mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-06 08:38:08 +00:00
fix
This commit is contained in:
@@ -55,15 +55,18 @@ public class FastActionList {
|
||||
}
|
||||
}
|
||||
|
||||
private void updateActionLengths() {
|
||||
private void updateActionAddressesAndLengths() {
|
||||
long address = actions.get(0).getAddress();
|
||||
for (Action action : actions) {
|
||||
action.setAddress(address);
|
||||
action.updateLength();
|
||||
address += action.getTotalActionLength();
|
||||
}
|
||||
}
|
||||
|
||||
public ActionList toActionList() {
|
||||
ActionList result = new ActionList(actions);
|
||||
updateActionLengths();
|
||||
updateActionAddressesAndLengths();
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -88,7 +88,6 @@ public class ActionDeobfuscatorSimple implements SWFDecompilerListener {
|
||||
fastActions.expandPushes();
|
||||
actions.setActions(fastActions.toActionList());
|
||||
|
||||
actions.expandPushes();
|
||||
removeGetTimes(actions);
|
||||
removeObfuscationIfs(actions);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user