diff --git a/jadx-core/src/main/java/jadx/core/dex/attributes/nodes/SkipMethodArgsAttr.java b/jadx-core/src/main/java/jadx/core/dex/attributes/nodes/SkipMethodArgsAttr.java index 9709e65231d..a5d483cdff2 100644 --- a/jadx-core/src/main/java/jadx/core/dex/attributes/nodes/SkipMethodArgsAttr.java +++ b/jadx-core/src/main/java/jadx/core/dex/attributes/nodes/SkipMethodArgsAttr.java @@ -44,7 +44,7 @@ public static boolean isSkip(@Nullable MethodNode mth, int argNum) { private final BitSet skipArgs; private SkipMethodArgsAttr(MethodNode mth) { - this.skipArgs = new BitSet(mth.getArgRegs().size()); + this.skipArgs = new BitSet(mth.getMethodInfo().getArgsCount()); } public void skip(int argNum) {