fix: incorrect endIndex (fixed in Patcher)

This commit is contained in:
Lucaskyy
2022-04-16 21:42:02 +02:00
parent 5f6a6d2b7d
commit 424788edd7
5 changed files with 10 additions and 10 deletions

View File

@ -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;