generated from ReVanced/revanced-patches-template
-
-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(YouTube - Hide timestamp): Support version
18.43.45
- Loading branch information
Showing
1 changed file
with
12 additions
and
11 deletions.
There are no files selected for viewing
23 changes: 12 additions & 11 deletions
23
...tlin/app/revanced/patches/youtube/layout/hide/time/fingerprints/TimeCounterFingerprint.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,25 @@ | ||
package app.revanced.patches.youtube.layout.hide.time.fingerprints | ||
|
||
import app.revanced.patcher.extensions.or | ||
import app.revanced.patcher.fingerprint.annotation.FuzzyPatternScanMethod | ||
import app.revanced.patcher.fingerprint.MethodFingerprint | ||
import app.revanced.patcher.fingerprint.annotation.FuzzyPatternScanMethod | ||
import com.android.tools.smali.dexlib2.AccessFlags | ||
import com.android.tools.smali.dexlib2.Opcode | ||
|
||
@FuzzyPatternScanMethod(1) | ||
object TimeCounterFingerprint : MethodFingerprint( | ||
"V", AccessFlags.PUBLIC or AccessFlags.FINAL, listOf(), listOf( | ||
Opcode.IGET_OBJECT, | ||
"V", | ||
AccessFlags.PUBLIC or AccessFlags.FINAL, | ||
emptyList(), | ||
listOf( | ||
Opcode.SUB_LONG_2ADDR, | ||
Opcode.IGET_WIDE, | ||
Opcode.CONST_WIDE_16, | ||
Opcode.CMP_LONG, | ||
Opcode.IF_LEZ, | ||
Opcode.SUB_LONG_2ADDR, | ||
Opcode.IGET_OBJECT, | ||
Opcode.IF_EQZ, | ||
Opcode.INVOKE_VIRTUAL, | ||
Opcode.MOVE_RESULT, | ||
Opcode.IF_EQZ, | ||
Opcode.GOTO, | ||
Opcode.INVOKE_STATIC, | ||
Opcode.MOVE_RESULT_OBJECT, | ||
Opcode.IGET_WIDE, | ||
Opcode.IGET_WIDE, | ||
Opcode.SUB_LONG_2ADDR | ||
) | ||
) |