mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-04-30 06:14:25 +02:00
fix: sparse type entry offset
This commit is contained in:
parent
da5dfc03ba
commit
c80e0943d3
@ -75,7 +75,7 @@ public class SparseOffsetsArray extends OffsetArray{
|
|||||||
if(offset == NO_ENTRY){
|
if(offset == NO_ENTRY){
|
||||||
value = 0;
|
value = 0;
|
||||||
}else {
|
}else {
|
||||||
int idx = getAt(0);
|
int idx = getAt(index);
|
||||||
idx = idx & 0xffff;
|
idx = idx & 0xffff;
|
||||||
offset = offset & 0xffff;
|
offset = offset & 0xffff;
|
||||||
offset = offset / 4;
|
offset = offset / 4;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user