mirror of
https://github.com/revanced/smali.git
synced 2025-06-12 12:17:37 +02:00
Fixes for a few instruction formats that have a blank byte after the opcode
git-svn-id: https://smali.googlecode.com/svn/trunk@415 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
@ -38,6 +38,7 @@ public class Instruction10x extends Instruction {
|
||||
|
||||
public static void emit(Output out, Opcode opcode) {
|
||||
out.writeByte(opcode.value);
|
||||
out.writeByte(0);
|
||||
}
|
||||
|
||||
public Instruction10x(Opcode opcode, byte[] buffer, int bufferIndex) {
|
||||
|
@ -43,6 +43,7 @@ public class Instruction20t extends Instruction {
|
||||
}
|
||||
|
||||
out.writeByte(opcode.value);
|
||||
out.writeByte(0);
|
||||
out.writeShort(offA);
|
||||
}
|
||||
|
||||
|
@ -40,6 +40,7 @@ public class Instruction30t extends Instruction
|
||||
|
||||
public static void emit(Output out, Opcode opcode, int offA) {
|
||||
out.writeByte(opcode.value);
|
||||
out.writeByte(0);
|
||||
out.writeInt(offA);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user