fix: wrong opcode pattern for signature in Hide suggestions patch

This commit is contained in:
oSumAtrIX 2022-04-14 11:01:25 +02:00
parent 9fbb89d053
commit 535aee0840
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -43,31 +43,30 @@ class HideSuggestionsPatch : Patch(
accessFlags = AccessFlags.PUBLIC or AccessFlags.CONSTRUCTOR, accessFlags = AccessFlags.PUBLIC or AccessFlags.CONSTRUCTOR,
methodParameters = listOf("L", "Z"), methodParameters = listOf("L", "Z"),
opcodes = listOf( opcodes = listOf(
Opcode.CONST_4, Opcode.INVOKE_VIRTUAL,
Opcode.IF_EQZ, Opcode.MOVE_RESULT_OBJECT,
Opcode.IGET,
Opcode.AND_INT_LIT16,
Opcode.IF_EQZ,
Opcode.IGET_OBJECT,
Opcode.IF_NEZ,
Opcode.SGET_OBJECT,
Opcode.IGET,
Opcode.CONST,
Opcode.IF_NE,
Opcode.IGET_OBJECT,
Opcode.IF_NEZ,
Opcode.SGET_OBJECT,
Opcode.IGET,
Opcode.IF_NE,
Opcode.IGET_OBJECT,
Opcode.CHECK_CAST, Opcode.CHECK_CAST,
Opcode.GOTO, Opcode.IPUT_OBJECT,
Opcode.SGET_OBJECT, Opcode.CONST_16,
Opcode.GOTO, Opcode.INVOKE_VIRTUAL,
Opcode.INVOKE_VIRTUAL,
Opcode.NEW_INSTANCE,
Opcode.NEW_INSTANCE,
Opcode.INVOKE_DIRECT,
Opcode.INVOKE_DIRECT,
Opcode.IPUT_OBJECT,
Opcode.NEW_INSTANCE,
Opcode.CONST_4, Opcode.CONST_4,
Opcode.IF_EQZ, Opcode.INVOKE_DIRECT,
Opcode.IGET_BOOLEAN, Opcode.INVOKE_VIRTUAL,
Opcode.IF_EQ Opcode.NEW_INSTANCE,
Opcode.NEW_INSTANCE,
Opcode.INVOKE_DIRECT,
Opcode.INVOKE_DIRECT,
Opcode.IPUT_OBJECT,
Opcode.INVOKE_VIRTUAL,
Opcode.INVOKE_VIRTUAL,
Opcode.RETURN_VOID
) )
) )
) )