mirror of
https://github.com/revanced/smali.git
synced 2025-06-13 04:27:38 +02:00
Fix the offset calculation for paramater annotations
This commit is contained in:
@ -181,7 +181,7 @@ public abstract class AnnotationsDirectory {
|
||||
int methodCount = getMethodAnnotationCount();
|
||||
int parameterAnnotationsOffset = directoryOffset + ANNOTATIONS_START_OFFSET +
|
||||
fieldCount * FIELD_ANNOTATION_SIZE +
|
||||
methodCount + METHOD_ANNOTATION_SIZE;
|
||||
methodCount * METHOD_ANNOTATION_SIZE;
|
||||
return new AnnotationIteratorImpl(parameterAnnotationsOffset, parameterAnnotationCount);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user