INNER CODE UNIT · Kotlin
lastMatchedIndex
ReVanced/revanced-patcher · patcher/src/commonMain/kotlin/app/revanced/patcher/Matching.kt:811
lastMatchedIndex = -1,
previousFrame = null,
nextHayIndex = 0,
matchedIndex = -1,
),
)
while (stack.isNotEmpty()) {
val frame = stack.last()
if (frame.nextHayIndex >= hay.size || nextIndex == -1) {
stack.removeLast()
nextIndex = null
continue
}
val i = frame.nextHayIndex
currentIndex = i