chore: Fix merge typo

This commit is contained in:
LisoUseInAIKyrios 2024-10-27 05:21:40 -04:00 committed by oSumAtrIX
parent 4b77648607
commit 8f1c3110a1
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -25,14 +25,26 @@ internal val videoIdBackgroundPlayFingerprint = fingerprint {
returns("V")
parameters("L")
opcodes(
Opcode.INVOKE_VIRTUAL,
Opcode.MOVE_RESULT,
Opcode.IF_EQZ,
Opcode.IGET_OBJECT,
Opcode.IF_EQZ,
Opcode.INVOKE_INTERFACE,
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 {