fix: migrate to breaking changes from patcher

This commit is contained in:
oSumAtrIX
2022-06-20 21:29:19 +02:00
parent 8e86d9e6cb
commit 2c0a4196fe
18 changed files with 46 additions and 39 deletions

View File

@ -31,7 +31,7 @@ class IntegrationsPatch : BytecodePatch(
if (data.findClass("Lapp/revanced/integrations/Globals") == null)
return PatchResultError("Integrations have not been merged yet. This patch can not succeed without the integrations.")
val result = signatures.first().result!!
val result = InitSignature.result!!
val implementation = result.method.implementation!!
val count = implementation.registerCount - 1