mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2026-01-20 17:53:57 +00:00
fix: incorrect pattern offset
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user