mirror of
https://github.com/revanced/smali.git
synced 2025-06-12 20:27:36 +02:00
Fix the class data offset in DexBackedClassDef
This commit is contained in:
@ -76,7 +76,7 @@ public class DexBackedClassDef implements ClassDef {
|
||||
int annotationsDirectoryOffset = dexBuf.readSmallUint(classDefOffset + ANNOTATIONS_OFFSET);
|
||||
this.annotationsDirectory = AnnotationsDirectory.newOrEmpty(dexBuf, annotationsDirectoryOffset);
|
||||
|
||||
this.classDataOffset = dexBuf.readSmallUint(CLASS_DATA_OFFSET);
|
||||
this.classDataOffset = dexBuf.readSmallUint(classDefOffset + CLASS_DATA_OFFSET);
|
||||
this.staticInitialValuesOffset = dexBuf.readSmallUint(classDefOffset + STATIC_INITIAL_VALUES_OFFSET);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user