mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-29 04:06:08 +00:00
AS3 instruction remove fix
This commit is contained in:
@@ -1843,12 +1843,12 @@ public class AVM2Code implements Cloneable {
|
||||
|
||||
@Override
|
||||
public int updateOperandOffset(long insAddr, long targetAddress, int offset) {
|
||||
if (targetAddress > remOffset) {
|
||||
if (insAddr > remOffset) {
|
||||
return offset;
|
||||
}
|
||||
if (targetAddress > remOffset && insAddr < remOffset) {
|
||||
return offset - byteCount;
|
||||
}
|
||||
if (targetAddress < remOffset && insAddr > remOffset) {
|
||||
return offset + byteCount;
|
||||
}
|
||||
return offset;
|
||||
}
|
||||
}, body);
|
||||
|
||||
Reference in New Issue
Block a user