fix: incorrect endIndex (fixed in Patcher)

This commit is contained in:
Lucaskyy
2022-04-16 21:42:02 +02:00
parent b67dec3294
commit 54196e70ab
5 changed files with 10 additions and 10 deletions
@@ -85,7 +85,7 @@ class IntegrationsPatch : Patch(
val count = implementation.registerCount - 1
implementation.addInstructions(
result.scanData.endIndex,
result.scanData.endIndex + 1,
"""
invoke-static {v$count}, Lpl/jakubweg/StringRef;->setContext(Landroid/content/Context;)V
sput-object v$count, Lapp/revanced/integrations/Globals;->context:Landroid/content/Context;