mirror of
https://github.com/revanced/revanced-patches
synced 2025-02-14 19:36:51 +01:00
chore: Fix merge typo
This commit is contained in:
parent
ac0b55d237
commit
bf1ca23670
@ -25,14 +25,26 @@ internal val videoIdBackgroundPlayFingerprint = fingerprint {
|
|||||||
returns("V")
|
returns("V")
|
||||||
parameters("L")
|
parameters("L")
|
||||||
opcodes(
|
opcodes(
|
||||||
Opcode.INVOKE_VIRTUAL,
|
|
||||||
Opcode.MOVE_RESULT,
|
|
||||||
Opcode.IF_EQZ,
|
|
||||||
Opcode.IGET_OBJECT,
|
|
||||||
Opcode.IF_EQZ,
|
Opcode.IF_EQZ,
|
||||||
Opcode.INVOKE_INTERFACE,
|
Opcode.INVOKE_INTERFACE,
|
||||||
Opcode.MOVE_RESULT_OBJECT,
|
Opcode.MOVE_RESULT_OBJECT,
|
||||||
|
Opcode.IPUT_OBJECT,
|
||||||
|
Opcode.MONITOR_EXIT,
|
||||||
|
Opcode.RETURN_VOID,
|
||||||
|
Opcode.MONITOR_EXIT,
|
||||||
|
Opcode.RETURN_VOID
|
||||||
)
|
)
|
||||||
|
// The target snippet of code is buried in a huge switch block and the target method
|
||||||
|
// has been changed many times by YT which makes identifying it more difficult than usual.
|
||||||
|
custom { method, classDef ->
|
||||||
|
// Access flags changed in 19.36
|
||||||
|
AccessFlags.FINAL.isSet(method.accessFlags) &&
|
||||||
|
AccessFlags.DECLARED_SYNCHRONIZED.isSet(method.accessFlags) &&
|
||||||
|
classDef.methods.count() == 17 &&
|
||||||
|
method.implementation != null &&
|
||||||
|
method.indexOfPlayerResponseModelString() >= 0
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
internal val videoIdParentFingerprint = fingerprint {
|
internal val videoIdParentFingerprint = fingerprint {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user