mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-05-07 15:44:25 +02:00
fix: incorrect pattern offset
This commit is contained in:
parent
7f18bbf66e
commit
f3b5f67b39
@ -99,6 +99,7 @@ internal class SignatureResolver(
|
||||
currentThreshold-- == 0
|
||||
) break
|
||||
if (++patternIndex < size) continue
|
||||
patternIndex-- // fix pattern offset
|
||||
|
||||
val result = PatternScanResult(instructionIndex, instructionIndex + patternIndex)
|
||||
if (method is PatternScanMethod.Fuzzy) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user