mirror of
https://github.com/revanced/smali.git
synced 2025-05-04 00:24:34 +02:00
Read the element count of a packed switch payload as a ushort
This commit is contained in:
parent
1ff61d42de
commit
c12bbf3a25
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user