fix: add missing opcode for create-button-method

Added in latest(?) version of the app.
This commit is contained in:
Lucaskyy
2022-04-14 19:57:00 +02:00
parent 38761e8e26
commit c3f5eec804

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.1" "0.0.2"
), ),
"V", "V",
AccessFlags.PUBLIC or AccessFlags.FINAL, AccessFlags.PUBLIC or AccessFlags.FINAL,
@@ -69,6 +69,7 @@ class CreateButtonRemoverPatch : Patch(
Opcode.CONST_4, Opcode.CONST_4,
Opcode.INVOKE_VIRTUAL, Opcode.INVOKE_VIRTUAL,
Opcode.MOVE_RESULT_OBJECT, Opcode.MOVE_RESULT_OBJECT,
Opcode.INVOKE_STATIC,
Opcode.MOVE_OBJECT Opcode.MOVE_OBJECT
) )
) )