fix(YouTube Music - Hide cast button): Fix patching error
This commit is contained in:
parent
1c80774d79
commit
28799a548a
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ val hideCastButton = bytecodePatch(
|
|||
|
||||
playerOverlayChipFingerprint.method.apply {
|
||||
val resourceIndex = indexOfFirstLiteralInstructionOrThrow(playerOverlayChip)
|
||||
val targetIndex = indexOfFirstInstructionOrThrow(resourceIndex, Opcode.MOVE_RESULT)
|
||||
val targetIndex = indexOfFirstInstructionOrThrow(resourceIndex, Opcode.MOVE_RESULT_OBJECT)
|
||||
val targetRegister = getInstruction<OneRegisterInstruction>(targetIndex).registerA
|
||||
|
||||
addInstruction(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue