Skip to content

Commit

Permalink
chore: Fix merge typo
Browse files Browse the repository at this point in the history
  • Loading branch information
LisoUseInAIKyrios authored and oSumAtrIX committed Nov 6, 2024
1 parent 4b77648 commit 8f1c311
Showing 1 changed file with 16 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8f1c311

Please sign in to comment.