JesusFreke/smali

added support for 4rcc in MutableMethodImplementation

Opened this issue · 0 comments

case Format45cc:
......
case Format4rcc:
setInstruction(location, newBuilderInstruction4rcc((Instruction4rcc) instruction));
return;
case Format51l:
......

@nonnull
private BuilderInstruction4rcc newBuilderInstruction4rcc(@nonnull Instruction4rcc instruction) {
return new BuilderInstruction4rcc(
instruction.getOpcode(),
instruction.getStartRegister(),
instruction.getRegisterCount(),
instruction.getReference(),
instruction.getReference2()
);
}