mirror of
https://github.com/revanced/smali.git
synced 2025-05-04 16:44:25 +02:00
Allow non-standard header sizes
This commit is contained in:
parent
5934004fe3
commit
3cf9e0c1e5
@ -95,9 +95,7 @@ public class HeaderItem extends Item<HeaderItem> {
|
|||||||
checksumSignatureSet = true;
|
checksumSignatureSet = true;
|
||||||
|
|
||||||
in.readInt(); //filesize
|
in.readInt(); //filesize
|
||||||
if (in.readInt() != HEADER_SIZE) {
|
in.readInt(); //header size
|
||||||
throw new RuntimeException("The header size is not the expected value (0x70)");
|
|
||||||
}
|
|
||||||
|
|
||||||
int endianTag = in.readInt();
|
int endianTag = in.readInt();
|
||||||
if (endianTag == BIG_ENDIAN) {
|
if (endianTag == BIG_ENDIAN) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user