diff --git a/patches/src/main/kotlin/app/revanced/patches/youtube/shorts/components/ShortsComponentPatch.kt b/patches/src/main/kotlin/app/revanced/patches/youtube/shorts/components/ShortsComponentPatch.kt index d27ce1118..8d7b386d4 100644 --- a/patches/src/main/kotlin/app/revanced/patches/youtube/shorts/components/ShortsComponentPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/youtube/shorts/components/ShortsComponentPatch.kt @@ -893,7 +893,15 @@ val shortsComponentPatch = bytecodePatch( nop """ - if (!is_19_25_or_greater) { + if (is_19_25_or_greater) { + shortsPlaybackIntentFingerprint.methodOrThrow().addInstructionsWithLabels( + 0, + """ + move-object/from16 v0, p1 + ${extensionInstructions(0, 1)} + """ + ) + } else { shortsPlaybackIntentLegacyFingerprint.methodOrThrow().apply { val index = indexOfFirstInstructionOrThrow { getReference()?.returnType == PLAYBACK_START_DESCRIPTOR_CLASS_DESCRIPTOR @@ -906,18 +914,8 @@ val shortsComponentPatch = bytecodePatch( extensionInstructions(playbackStartRegister, freeRegister) ) } - - return@execute } - shortsPlaybackIntentFingerprint.methodOrThrow().addInstructionsWithLabels( - 0, - """ - move-object/from16 v0, p1 - ${extensionInstructions(0, 1)} - """ - ) - // endregion addLithoFilter(BUTTON_FILTER_CLASS_DESCRIPTOR)