revert: revert breaking changes (#106)

This commit is contained in:
bogadana
2022-09-21 15:22:55 +02:00
committed by GitHub
parent d4cf0cea52
commit 124332f0e9
4 changed files with 192 additions and 237 deletions

View File

@@ -58,7 +58,7 @@ class ExampleBytecodePatch : BytecodePatch(listOf(ExampleFingerprint)) {
// Let's modify it, so it prints "Hello, ReVanced! Editing bytecode."
// Get the start index of our opcode pattern.
// This will be the index of the instruction with the opcode CONST_STRING.
val startIndex = result.scanResult.patternScanResult!!.startIndex
val startIndex = result.patternScanResult!!.startIndex
implementation.replaceStringAt(startIndex, "Hello, ReVanced! Editing bytecode.")