Skip to content

Commit

Permalink
[DEX] clean
Browse files Browse the repository at this point in the history
  • Loading branch information
REAndroid committed Sep 21, 2023
1 parent c65d190 commit 1cc2642
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/main/java/com/reandroid/dex/ins/SizeXIns.java
Original file line number Diff line number Diff line change
Expand Up @@ -132,27 +132,4 @@ void appendCode(SmaliWriter writer) throws IOException {
writer.append(HexUtil.toHex(data, 1));
}
}

public String toString1() {
Opcode<?> opcode = getOpcode();
if(opcode.size() < 4){
return super.toString();
}
StringBuilder builder = new StringBuilder();
builder.append(opcode);
builder.append(" v");
builder.append(getRegisterA());
builder.append(", ");
IndexItemEntry sectionItem = getSectionItem();
if(sectionItem != null){
if(sectionItem instanceof StringId){
builder.append(((StringId)sectionItem).getQuotedString());
}else {
builder.append(sectionItem);
}
}else {
builder.append(HexUtil.toHex(getData(), 2));
}
return builder.toString();
}
}

0 comments on commit 1cc2642

Please sign in to comment.