fix: modified opcode for show-video-ads-constructor

Modified in latest(?) version of the app.
This commit is contained in:
Lucaskyy 2022-04-14 19:58:24 +02:00
parent 0a398ef364
commit a0dcea3a13
No known key found for this signature in database
GPG Key ID: 1530BFF96D1EEB89

View File

@ -35,7 +35,7 @@ class VideoAdsPatch : Patch(
"""Signature for the constructor of some class. """Signature for the constructor of some class.
This signature is being used to find another method in the parent class This signature is being used to find another method in the parent class
and was discovered in the YouTube version v17.03.38""".trimIndent(), and was discovered in the YouTube version v17.03.38""".trimIndent(),
"0.0.1" "0.0.2"
), ),
"V", "V",
AccessFlags.PUBLIC or AccessFlags.CONSTRUCTOR, AccessFlags.PUBLIC or AccessFlags.CONSTRUCTOR,
@ -46,7 +46,7 @@ class VideoAdsPatch : Patch(
Opcode.INVOKE_DIRECT, Opcode.INVOKE_DIRECT,
Opcode.IPUT_OBJECT, Opcode.IPUT_OBJECT,
Opcode.NEW_INSTANCE, Opcode.NEW_INSTANCE,
Opcode.CONST_4, null, // either CONST_4 or CONST_16
Opcode.INVOKE_DIRECT, Opcode.INVOKE_DIRECT,
Opcode.IPUT_OBJECT, Opcode.IPUT_OBJECT,
Opcode.NEW_INSTANCE, Opcode.NEW_INSTANCE,