From 24129b7b97e5c0d97fb53d565b755c258ed9d763 Mon Sep 17 00:00:00 2001 From: v7878 <46866705+vova7878@users.noreply.github.com> Date: Thu, 1 Aug 2024 13:22:46 +0700 Subject: [PATCH] Fix typo in ClassDef reading --- src/main/java/com/v7878/dex/ClassDef.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/v7878/dex/ClassDef.java b/src/main/java/com/v7878/dex/ClassDef.java index e11d01a..4924140 100644 --- a/src/main/java/com/v7878/dex/ClassDef.java +++ b/src/main/java/com/v7878/dex/ClassDef.java @@ -222,7 +222,7 @@ static ClassDef[] readArray(RandomInput in, ReadContext context, int[] ids) { } else { RandomInput tmp = in.duplicate(in.position()); tmp.addPosition((long) id * ClassDef.SIZE); - out[i] = ClassDef.read(in, context); + out[i] = ClassDef.read(tmp, context); } } return out;