Skip to content

Commit

Permalink
fix: modified opcode for show-video-ads-constructor
Browse files Browse the repository at this point in the history
Modified in latest(?) version of the app.
  • Loading branch information
Sculas committed Apr 14, 2022
1 parent 0a398ef commit a0dcea3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/app/revanced/patches/ad/VideoAdsPatch.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class VideoAdsPatch : Patch(
"""Signature for the constructor of some 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(),
"0.0.1"
"0.0.2"
),
"V",
AccessFlags.PUBLIC or AccessFlags.CONSTRUCTOR,
Expand All @@ -46,7 +46,7 @@ class VideoAdsPatch : Patch(
Opcode.INVOKE_DIRECT,
Opcode.IPUT_OBJECT,
Opcode.NEW_INSTANCE,
Opcode.CONST_4,
null, // either CONST_4 or CONST_16
Opcode.INVOKE_DIRECT,
Opcode.IPUT_OBJECT,
Opcode.NEW_INSTANCE,
Expand Down

0 comments on commit a0dcea3

Please sign in to comment.