feat(YouTube): Support version 18.43.45 for Playback speed and Restore old video quality menu

This commit is contained in:
oSumAtrIX 2023-11-11 17:54:34 +01:00
parent e21286e4d7
commit c5236f812e
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
2 changed files with 5 additions and 6 deletions

View File

@ -21,7 +21,7 @@ object RecyclerViewTreeHookPatch : BytecodePatch(
RecyclerViewTreeObserverFingerprint.result?.let { RecyclerViewTreeObserverFingerprint.result?.let {
it.mutableMethod.apply { it.mutableMethod.apply {
val insertIndex = it.scanResult.patternScanResult!!.startIndex + 5 val insertIndex = it.scanResult.patternScanResult!!.startIndex
val recyclerViewParameter = 2 val recyclerViewParameter = 2
addHook = { classDescriptor -> addHook = { classDescriptor ->

View File

@ -11,11 +11,10 @@ object RecyclerViewTreeObserverFingerprint : MethodFingerprint(
opcodes = listOf( opcodes = listOf(
Opcode.NEW_INSTANCE, Opcode.NEW_INSTANCE,
Opcode.INVOKE_DIRECT, Opcode.INVOKE_DIRECT,
Opcode.IPUT_OBJECT, Opcode.INVOKE_VIRTUAL,
Opcode.IGET_BOOLEAN, Opcode.NEW_INSTANCE,
Opcode.IF_NEZ, Opcode.INVOKE_DIRECT,
Opcode.INVOKE_VIRTUAL_RANGE, Opcode.IPUT_OBJECT
Opcode.MOVE_RESULT_OBJECT
), ),
strings = listOf("LithoRVSLCBinder") strings = listOf("LithoRVSLCBinder")
) )