mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2024-11-10 09:07:46 +01:00
feat(YouTube - Hide timestamp): Support version 18.43.45
This commit is contained in:
parent
2ba78b8516
commit
9180d4f5c3
1 changed files with 12 additions and 11 deletions
|
@ -1,24 +1,25 @@
|
||||||
package app.revanced.patches.youtube.layout.hide.time.fingerprints
|
package app.revanced.patches.youtube.layout.hide.time.fingerprints
|
||||||
|
|
||||||
import app.revanced.patcher.extensions.or
|
import app.revanced.patcher.extensions.or
|
||||||
import app.revanced.patcher.fingerprint.annotation.FuzzyPatternScanMethod
|
|
||||||
import app.revanced.patcher.fingerprint.MethodFingerprint
|
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.AccessFlags
|
||||||
import com.android.tools.smali.dexlib2.Opcode
|
import com.android.tools.smali.dexlib2.Opcode
|
||||||
|
|
||||||
@FuzzyPatternScanMethod(1)
|
@FuzzyPatternScanMethod(1)
|
||||||
object TimeCounterFingerprint : MethodFingerprint(
|
object TimeCounterFingerprint : MethodFingerprint(
|
||||||
"V", AccessFlags.PUBLIC or AccessFlags.FINAL, listOf(), listOf(
|
"V",
|
||||||
Opcode.IGET_OBJECT,
|
AccessFlags.PUBLIC or AccessFlags.FINAL,
|
||||||
|
emptyList(),
|
||||||
|
listOf(
|
||||||
|
Opcode.SUB_LONG_2ADDR,
|
||||||
Opcode.IGET_WIDE,
|
Opcode.IGET_WIDE,
|
||||||
Opcode.CONST_WIDE_16,
|
Opcode.SUB_LONG_2ADDR,
|
||||||
Opcode.CMP_LONG,
|
|
||||||
Opcode.IF_LEZ,
|
|
||||||
Opcode.IGET_OBJECT,
|
Opcode.IGET_OBJECT,
|
||||||
Opcode.IF_EQZ,
|
Opcode.INVOKE_STATIC,
|
||||||
Opcode.INVOKE_VIRTUAL,
|
Opcode.MOVE_RESULT_OBJECT,
|
||||||
Opcode.MOVE_RESULT,
|
Opcode.IGET_WIDE,
|
||||||
Opcode.IF_EQZ,
|
Opcode.IGET_WIDE,
|
||||||
Opcode.GOTO,
|
Opcode.SUB_LONG_2ADDR
|
||||||
)
|
)
|
||||||
)
|
)
|
Loading…
Reference in a new issue