fix: wrong opcode for create-button-method

Added in latest(?) version of the app.
This commit is contained in:
Lucaskyy 2022-04-14 20:00:45 +02:00
parent 6d4158af85
commit 32146506f1
No known key found for this signature in database
GPG key ID: 1530BFF96D1EEB89

View file

@ -32,7 +32,7 @@ class CreateButtonRemoverPatch : Patch(
PatternScanMethod.Fuzzy(2), // FIXME: Test this threshold and find the best value. PatternScanMethod.Fuzzy(2), // FIXME: Test this threshold and find the best value.
compatiblePackages, compatiblePackages,
"Signature for the method required to be patched.", "Signature for the method required to be patched.",
"0.0.2" "0.0.3"
), ),
"V", "V",
AccessFlags.PUBLIC or AccessFlags.FINAL, AccessFlags.PUBLIC or AccessFlags.FINAL,
@ -70,7 +70,7 @@ class CreateButtonRemoverPatch : Patch(
Opcode.INVOKE_VIRTUAL, Opcode.INVOKE_VIRTUAL,
Opcode.MOVE_RESULT_OBJECT, Opcode.MOVE_RESULT_OBJECT,
Opcode.INVOKE_STATIC, Opcode.INVOKE_STATIC,
Opcode.MOVE_OBJECT Opcode.MOVE_RESULT_OBJECT
) )
) )
) )