From 01318cded89282e76a656f5b9cfb81cd028936ce Mon Sep 17 00:00:00 2001 From: "JesusFreke@JesusFreke.com" Date: Wed, 23 Dec 2009 05:28:28 +0000 Subject: [PATCH] use decodeHighUnsignedNibble instead of decodeHighSignedNibble for regB in Instruction22t git-svn-id: https://smali.googlecode.com/svn/trunk@512 55b6fa8a-2a1e-11de-a435-ffa8d773f76a --- .../src/main/java/org/jf/dexlib/Code/Format/Instruction22t.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dexlib/src/main/java/org/jf/dexlib/Code/Format/Instruction22t.java b/dexlib/src/main/java/org/jf/dexlib/Code/Format/Instruction22t.java index 4a755787..2852bab5 100644 --- a/dexlib/src/main/java/org/jf/dexlib/Code/Format/Instruction22t.java +++ b/dexlib/src/main/java/org/jf/dexlib/Code/Format/Instruction22t.java @@ -65,7 +65,7 @@ public class Instruction22t extends Instruction implements OffsetInstruction, Tw assert buffer[bufferIndex] == opcode.value; regA = NumberUtils.decodeLowUnsignedNibble(buffer[bufferIndex + 1]); - regB = NumberUtils.decodeHighSignedNibble(buffer[bufferIndex + 1]); + regB = NumberUtils.decodeHighUnsignedNibble(buffer[bufferIndex + 1]); offset = NumberUtils.decodeShort(buffer, bufferIndex + 2); assert offset != 0;