diff --git a/dexlib/src/main/java/org/jf/dexlib/Code/Format/Instruction22cs.java b/dexlib/src/main/java/org/jf/dexlib/Code/Format/Instruction22cs.java index d415497b..8004ccb6 100644 --- a/dexlib/src/main/java/org/jf/dexlib/Code/Format/Instruction22cs.java +++ b/dexlib/src/main/java/org/jf/dexlib/Code/Format/Instruction22cs.java @@ -63,6 +63,7 @@ public class Instruction22cs extends Instruction implements TwoRegisterInstructi this.regA = NumberUtils.decodeLowUnsignedNibble(buffer[bufferIndex + 1]); this.regB = NumberUtils.decodeHighUnsignedNibble(buffer[bufferIndex + 1]); + this.fieldOffset = (short)NumberUtils.decodeUnsignedShort(buffer, bufferIndex + 2); } protected void writeInstruction(AnnotatedOutput out, int currentCodeOffset) {