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;
|
||||
|
||||
in.readInt(); //filesize
|
||||
if (in.readInt() != HEADER_SIZE) {
|
||||
throw new RuntimeException("The header size is not the expected value (0x70)");
|
||||
}
|
||||
in.readInt(); //header size
|
||||
|
||||
int endianTag = in.readInt();
|
||||
if (endianTag == BIG_ENDIAN) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user