From cfb459b8320a825c7e6c4d763c6f7d18397c049f Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sun, 27 Oct 2024 04:36:47 +0100 Subject: [PATCH] fix nesting --- docs/2_2_1_fingerprinting.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/2_2_1_fingerprinting.md b/docs/2_2_1_fingerprinting.md index 1e43c51..e6a5fb9 100644 --- a/docs/2_2_1_fingerprinting.md +++ b/docs/2_2_1_fingerprinting.md @@ -203,11 +203,11 @@ val patch = bytecodePatch { > > ```kt > fingerprint(fuzzyPatternScanThreshhold = 2) { -> opcodes( -> Opcode.ICONST_0, -> null, -> Opcode.ICONST_1, -> Opcode.IRETURN, +> opcodes( +> Opcode.ICONST_0, +> null, +> Opcode.ICONST_1, +> Opcode.IRETURN, > ) >} > ``` @@ -247,7 +247,7 @@ you can match the fingerprint on the list of classes: ```kt execute { val match = showAdsFingerprint.match(classes) ?: throw PatchException("No match found") - } + } ``` - In a **single class**, if the fingerprint can match in a single known class @@ -271,14 +271,14 @@ you can match the fingerprint on the list of classes: ```kt execute { val currentPlanFingerprint = fingerprint { - strings("free", "trial") - } + strings("free", "trial") + } currentPlanFingerprint.match(adsFingerprintMatch.method)?.let { match -> - match.stringMatches.forEach { match -> - println("The index of the string '${match.string}' is ${match.index}") - } - } ?: throw PatchException("No match found") + match.stringMatches.forEach { match -> + println("The index of the string '${match.string}' is ${match.index}") + } + } ?: throw PatchException("No match found") } ```