mirror of
https://github.com/revanced/smali.git
synced 2025-06-12 20:27:36 +02:00
Read the element count of a packed switch payload as a ushort
This commit is contained in:
@ -57,7 +57,7 @@ public class DexBackedPackedSwitchPayload implements PackedSwitchPayload {
|
||||
this.dexBuf = dexBuf;
|
||||
this.instructionOffset = instructionOffset;
|
||||
|
||||
this.elementCount = dexBuf.readByte(instructionOffset + ELEMENT_COUNT_OFFSET);
|
||||
this.elementCount = dexBuf.readUshort(instructionOffset + ELEMENT_COUNT_OFFSET);
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
|
Reference in New Issue
Block a user