From e395d501acc7b53ed65d814e04a25d4b2e0d339c Mon Sep 17 00:00:00 2001 From: inotia00 <108592928+inotia00@users.noreply.github.com> Date: Sat, 21 Oct 2023 05:49:18 +0900 Subject: [PATCH] feat(YouTube): add support version `v18.40.34` --- README-template.md | 3 ++- .../SpeedLimiterFallBackFingerprint.kt | 1 - .../youtube/ads/general/GeneralAdsPatch.kt | 3 ++- .../youtube/ads/video/VideoAdsPatch.kt | 3 ++- .../general/AlternativeThumbnailsPatch.kt | 3 ++- .../buttoncontainer/ButtonContainerPatch.kt | 3 ++- .../comment/CommentComponentPatch.kt | 3 ++- .../flyoutpanel/feed/FeedFlyoutPanelPatch.kt | 3 ++- .../oldqualitylayout/OldQualityLayoutPatch.kt | 3 ++- .../player/PlayerFlyoutPanelPatch.kt | 3 ++- .../HideAutoplayPreviewPatch.kt | 3 ++- .../CompactControlsOverlayPatch.kt | 3 ++- .../HideEndScreenOverlayPatch.kt | 3 ++- .../HideFullscreenPanelsPatch.kt | 3 ++- .../landscapemode/LandScapeModePatch.kt | 3 ++- .../quickactions/QuickActionsPatch.kt | 3 ++- .../general/accountmenu/AccountMenuPatch.kt | 3 ++- .../general/autocaptions/AutoCaptionsPatch.kt | 3 ++- .../autopopuppanels/PlayerPopupPanelsPatch.kt | 3 ++- .../general/categorybar/CategoryBarPatch.kt | 3 ++- .../ChannelListSubMenuPatch.kt | 3 ++- .../crowdfundingbox/CrowdfundingBoxPatch.kt | 3 ++- .../DescriptionComponentsPatch.kt | 3 ++- .../FloatingMicrophonePatch.kt | 3 ++- .../youtube/general/handle/HideHandlePatch.kt | 3 ++- .../general/headerswitch/HeaderSwitchPatch.kt | 3 ++- .../LatestVideosButtonPatch.kt | 3 ++- .../general/layout/LayoutComponentsPatch.kt | 3 ++- .../GradientLoadingScreenPatch.kt | 3 ++- .../loadmorebutton/LoadMoreButtonPatch.kt | 3 ++- .../general/mixplaylists/MixPlaylistsPatch.kt | 3 ++- .../general/snackbar/HideSnackBarPatch.kt | 3 ++- .../suggestions/SuggestionsShelfPatch.kt | 3 ++- .../tabletminiplayer/TabletMiniPlayerPatch.kt | 3 ++- .../general/toolbar/ToolBarButtonPatch.kt | 3 ++- .../trendingsearches/TrendingSearchesPatch.kt | 3 ++- .../widesearchbar/WideSearchBarPatch.kt | 3 ++- .../icon/CustomBrandingIconMMTPatch.kt | 3 ++- .../CustomBrandingIconRevancifyBluePatch.kt | 3 ++- .../CustomBrandingIconRevancifyRedPatch.kt | 3 ++- .../branding/name/CustomBrandingNamePatch.kt | 3 ++- .../DoubleTapOverlayBackgroundPatch.kt | 3 ++- .../doubletaplength/DoubleTapLengthPatch.kt | 3 ++- .../PlayerButtonBackgroundPatch.kt | 3 ++- .../layout/forceheader/PremiumHeadingPatch.kt | 3 ++- .../layout/materialyou/MaterialYouPatch.kt | 3 ++- .../pipnotification/PiPNotificationPatch.kt | 3 ++- .../AddSplashAnimationPatch.kt | 3 ++- .../youtube/layout/theme/ThemePatch.kt | 3 ++- .../layout/tooltip/TooltipContentViewPatch.kt | 3 ++- .../misc/ambientmode/PowerSaveModePatch.kt | 3 ++- .../misc/codec/audio/ForceOpusCodecPatch.kt | 3 ++- .../misc/codec/video/ForceVideoCodecPatch.kt | 3 ++- .../youtube/misc/debugging/DebuggingPatch.kt | 3 ++- .../externalbrowser/ExternalBrowserPatch.kt | 3 ++- .../misc/language/LanguageSelectorPatch.kt | 3 ++- .../misc/layoutswitch/LayoutSwitchPatch.kt | 3 ++- .../MinimizedPlaybackPatch.kt | 3 ++- .../OpenLinksDirectlyPatch.kt | 3 ++- .../youtube/misc/quic/QUICProtocolPatch.kt | 3 ++- .../NewSplashAnimationPatch.kt | 3 ++- .../spoofappversion/SpoofAppVersionPatch.kt | 3 ++- .../misc/translations/TranslationsPatch.kt | 3 ++- .../homepage/ChangeHomePagePatch.kt | 3 ++- .../navigation/label/NavigationLabelPatch.kt | 3 ++- .../NavigationButtonsPatch.kt | 3 ++- .../tabletnavbar/TabletNavigationBarPatch.kt | 3 ++- .../general/OverlayButtonsPatch.kt | 3 ++- .../autoplaybutton/HideAutoplayButtonPatch.kt | 3 ++- .../captionsbutton/HideCaptionsButtonPatch.kt | 3 ++- .../player/castbutton/HideCastButtonPatch.kt | 3 ++- .../collapsebutton/HideCollapseButtonPatch.kt | 3 ++- .../endscreencards/HideEndScreenCardsPatch.kt | 3 ++- .../HideFilmstripOverlayPatch.kt | 8 ++++-- .../hapticfeedback/HapticFeedBackPatch.kt | 3 ++- .../player/infocards/HideInfoCardsPatch.kt | 3 ++- .../musicbutton/HideMusicButtonPatch.kt | 3 ++- .../HidePlayerButtonBackgroundPatch.kt | 3 ++- .../CustomPlayerOverlayOpacityPatch.kt | 3 ++- .../HidePreviousNextButtonPatch.kt | 3 ++- .../player/seekmessage/SeekMessagePatch.kt | 3 ++- .../player/speedoverlay/SpeedOverlayPatch.kt | 3 ++- .../suggestactions/SuggestedActionsPatch.kt | 3 ++- .../SuggestedVideoOverlayPatch.kt | 3 ++- .../watermark/HideChannelWatermarkPatch.kt | 3 ++- .../append/AppendTimeStampInformationPatch.kt | 3 ++- .../seekbar/color/SeekbarColorPatch.kt | 3 ++- .../youtube/seekbar/hide/HideSeekbarPatch.kt | 3 ++- .../seekbar/tapping/SeekbarTappingPatch.kt | 3 ++- .../NewThumbnailPreviewPatch.kt | 3 ++- .../seekbar/timestamps/HideTimeStampPatch.kt | 3 ++- .../NewCommentPopupPanelsPatch.kt | 3 ++- .../shortscomponent/ShortsComponentPatch.kt | 3 ++- .../DisableShortsOnStartupPatch.kt | 3 ++- .../swipe/controls/SwipeControlsPatch.kt | 3 ++- .../parameter/SpoofPlayerParameterPatch.kt | 3 ++- .../youtube/utils/litho/LithoFilterPatch.kt | 17 +++++------- .../GeneralByteBufferFingerprint.kt | 26 ++++++++++++++++--- .../youtube/utils/microg/MicroGPatch.kt | 3 ++- .../general/ReturnYouTubeDislikePatch.kt | 3 ++- .../youtube/utils/settings/SettingsPatch.kt | 3 ++- .../utils/sponsorblock/SponsorBlockPatch.kt | 3 ++- .../customspeed/CustomPlaybackSpeedPatch.kt | 3 ++- .../youtube/video/hdr/DisableHdrVideoPatch.kt | 3 ++- .../video/quality/VideoQualityPatch.kt | 3 ++- .../youtube/video/speed/PlaybackSpeedPatch.kt | 3 ++- 106 files changed, 238 insertions(+), 120 deletions(-) diff --git a/README-template.md b/README-template.md index 59d5470b0..8d770319d 100644 --- a/README-template.md +++ b/README-template.md @@ -34,7 +34,8 @@ Example: "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] } ], diff --git a/src/main/kotlin/app/revanced/patches/shared/fingerprints/customspeed/SpeedLimiterFallBackFingerprint.kt b/src/main/kotlin/app/revanced/patches/shared/fingerprints/customspeed/SpeedLimiterFallBackFingerprint.kt index fe42284d1..e6a884d32 100644 --- a/src/main/kotlin/app/revanced/patches/shared/fingerprints/customspeed/SpeedLimiterFallBackFingerprint.kt +++ b/src/main/kotlin/app/revanced/patches/shared/fingerprints/customspeed/SpeedLimiterFallBackFingerprint.kt @@ -6,7 +6,6 @@ import com.android.tools.smali.dexlib2.AccessFlags import com.android.tools.smali.dexlib2.Opcode object SpeedLimiterFallBackFingerprint : MethodFingerprint( - returnType = "F", accessFlags = AccessFlags.PUBLIC or AccessFlags.FINAL, parameters = listOf("L"), opcodes = listOf( diff --git a/src/main/kotlin/app/revanced/patches/youtube/ads/general/GeneralAdsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/ads/general/GeneralAdsPatch.kt index f1e075314..bf3246805 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/ads/general/GeneralAdsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/ads/general/GeneralAdsPatch.kt @@ -43,7 +43,8 @@ import org.w3c.dom.Element "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/ads/video/VideoAdsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/ads/video/VideoAdsPatch.kt index 192cf406d..5ef5d63a0 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/ads/video/VideoAdsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/ads/video/VideoAdsPatch.kt @@ -28,7 +28,8 @@ import app.revanced.util.integrations.Constants.ADS_PATH "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/alternativethumbnails/general/AlternativeThumbnailsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/alternativethumbnails/general/AlternativeThumbnailsPatch.kt index 6e7cd7cb0..32a35da30 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/alternativethumbnails/general/AlternativeThumbnailsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/alternativethumbnails/general/AlternativeThumbnailsPatch.kt @@ -38,7 +38,8 @@ import app.revanced.util.resources.ResourceUtils.copyXmlNode "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/buttomplayer/buttoncontainer/ButtonContainerPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/buttomplayer/buttoncontainer/ButtonContainerPatch.kt index 3b7cbf4c7..4b4340664 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/buttomplayer/buttoncontainer/ButtonContainerPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/buttomplayer/buttoncontainer/ButtonContainerPatch.kt @@ -32,7 +32,8 @@ import app.revanced.util.integrations.Constants.PATCHES_PATH "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/buttomplayer/comment/CommentComponentPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/buttomplayer/comment/CommentComponentPatch.kt index 90ed19eba..01f916906 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/buttomplayer/comment/CommentComponentPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/buttomplayer/comment/CommentComponentPatch.kt @@ -32,7 +32,8 @@ import app.revanced.util.integrations.Constants.PATCHES_PATH "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/flyoutpanel/feed/FeedFlyoutPanelPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/flyoutpanel/feed/FeedFlyoutPanelPatch.kt index 5b458fd51..d6522def8 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/flyoutpanel/feed/FeedFlyoutPanelPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/flyoutpanel/feed/FeedFlyoutPanelPatch.kt @@ -43,7 +43,8 @@ import com.android.tools.smali.dexlib2.iface.reference.MethodReference "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/flyoutpanel/oldqualitylayout/OldQualityLayoutPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/flyoutpanel/oldqualitylayout/OldQualityLayoutPatch.kt index fd8a0bf2b..5c033cef5 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/flyoutpanel/oldqualitylayout/OldQualityLayoutPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/flyoutpanel/oldqualitylayout/OldQualityLayoutPatch.kt @@ -43,7 +43,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/flyoutpanel/player/PlayerFlyoutPanelPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/flyoutpanel/player/PlayerFlyoutPanelPatch.kt index 0dab50485..841a36503 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/flyoutpanel/player/PlayerFlyoutPanelPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/flyoutpanel/player/PlayerFlyoutPanelPatch.kt @@ -47,7 +47,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/fullscreen/autoplaypreview/HideAutoplayPreviewPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/fullscreen/autoplaypreview/HideAutoplayPreviewPatch.kt index 7f111c6fa..8c5452042 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/fullscreen/autoplaypreview/HideAutoplayPreviewPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/fullscreen/autoplaypreview/HideAutoplayPreviewPatch.kt @@ -42,7 +42,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/fullscreen/compactcontrolsoverlay/CompactControlsOverlayPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/fullscreen/compactcontrolsoverlay/CompactControlsOverlayPatch.kt index 8de8f52e7..aa8319e86 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/fullscreen/compactcontrolsoverlay/CompactControlsOverlayPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/fullscreen/compactcontrolsoverlay/CompactControlsOverlayPatch.kt @@ -38,7 +38,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/fullscreen/endscreenoverlay/HideEndScreenOverlayPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/fullscreen/endscreenoverlay/HideEndScreenOverlayPatch.kt index 2f50ab087..123ca6973 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/fullscreen/endscreenoverlay/HideEndScreenOverlayPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/fullscreen/endscreenoverlay/HideEndScreenOverlayPatch.kt @@ -37,7 +37,8 @@ import app.revanced.util.integrations.Constants.FULLSCREEN "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/fullscreen/fullscreenpanels/HideFullscreenPanelsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/fullscreen/fullscreenpanels/HideFullscreenPanelsPatch.kt index f88cce021..5f15412b3 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/fullscreen/fullscreenpanels/HideFullscreenPanelsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/fullscreen/fullscreenpanels/HideFullscreenPanelsPatch.kt @@ -49,7 +49,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.formats.Instruction35c "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/fullscreen/landscapemode/LandScapeModePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/fullscreen/landscapemode/LandScapeModePatch.kt index ed99b39b7..214ec2366 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/fullscreen/landscapemode/LandScapeModePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/fullscreen/landscapemode/LandScapeModePatch.kt @@ -37,7 +37,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ], diff --git a/src/main/kotlin/app/revanced/patches/youtube/fullscreen/quickactions/QuickActionsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/fullscreen/quickactions/QuickActionsPatch.kt index 18cf1ad96..33bc98b80 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/fullscreen/quickactions/QuickActionsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/fullscreen/quickactions/QuickActionsPatch.kt @@ -34,7 +34,8 @@ import app.revanced.util.integrations.Constants.PATCHES_PATH "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/general/accountmenu/AccountMenuPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/general/accountmenu/AccountMenuPatch.kt index 543625dc2..95f18e197 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/general/accountmenu/AccountMenuPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/general/accountmenu/AccountMenuPatch.kt @@ -39,7 +39,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.FiveRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/general/autocaptions/AutoCaptionsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/general/autocaptions/AutoCaptionsPatch.kt index 1520d92b6..a019616f1 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/general/autocaptions/AutoCaptionsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/general/autocaptions/AutoCaptionsPatch.kt @@ -43,7 +43,8 @@ import app.revanced.util.integrations.Constants.GENERAL "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/general/autopopuppanels/PlayerPopupPanelsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/general/autopopuppanels/PlayerPopupPanelsPatch.kt index fb49dbe0c..2448cbd88 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/general/autopopuppanels/PlayerPopupPanelsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/general/autopopuppanels/PlayerPopupPanelsPatch.kt @@ -33,7 +33,8 @@ import app.revanced.util.integrations.Constants.GENERAL "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/general/categorybar/CategoryBarPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/general/categorybar/CategoryBarPatch.kt index 18d55e9e9..fd3f7e6cb 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/general/categorybar/CategoryBarPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/general/categorybar/CategoryBarPatch.kt @@ -41,7 +41,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/general/channellistsubmenu/ChannelListSubMenuPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/general/channellistsubmenu/ChannelListSubMenuPatch.kt index 1487b8be6..56710227c 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/general/channellistsubmenu/ChannelListSubMenuPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/general/channellistsubmenu/ChannelListSubMenuPatch.kt @@ -37,7 +37,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/general/crowdfundingbox/CrowdfundingBoxPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/general/crowdfundingbox/CrowdfundingBoxPatch.kt index b84e3dac0..2ab728ebc 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/general/crowdfundingbox/CrowdfundingBoxPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/general/crowdfundingbox/CrowdfundingBoxPatch.kt @@ -37,7 +37,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/general/descriptions/DescriptionComponentsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/general/descriptions/DescriptionComponentsPatch.kt index d954dee76..d26091658 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/general/descriptions/DescriptionComponentsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/general/descriptions/DescriptionComponentsPatch.kt @@ -32,7 +32,8 @@ import app.revanced.util.integrations.Constants.PATCHES_PATH "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/general/floatingmicrophone/FloatingMicrophonePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/general/floatingmicrophone/FloatingMicrophonePatch.kt index a34ebc341..11354242c 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/general/floatingmicrophone/FloatingMicrophonePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/general/floatingmicrophone/FloatingMicrophonePatch.kt @@ -37,7 +37,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/general/handle/HideHandlePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/general/handle/HideHandlePatch.kt index 352358148..765ae467a 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/general/handle/HideHandlePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/general/handle/HideHandlePatch.kt @@ -40,7 +40,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/general/headerswitch/HeaderSwitchPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/general/headerswitch/HeaderSwitchPatch.kt index 6aa94e04c..5e984e60f 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/general/headerswitch/HeaderSwitchPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/general/headerswitch/HeaderSwitchPatch.kt @@ -39,7 +39,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/general/latestvideosbutton/LatestVideosButtonPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/general/latestvideosbutton/LatestVideosButtonPatch.kt index b6811e000..2bbc64351 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/general/latestvideosbutton/LatestVideosButtonPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/general/latestvideosbutton/LatestVideosButtonPatch.kt @@ -37,7 +37,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/general/layout/LayoutComponentsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/general/layout/LayoutComponentsPatch.kt index 78ac9c49c..50454d9bd 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/general/layout/LayoutComponentsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/general/layout/LayoutComponentsPatch.kt @@ -32,7 +32,8 @@ import app.revanced.util.integrations.Constants.PATCHES_PATH "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/general/loadingscreen/GradientLoadingScreenPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/general/loadingscreen/GradientLoadingScreenPatch.kt index 12f43173e..a6dac45af 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/general/loadingscreen/GradientLoadingScreenPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/general/loadingscreen/GradientLoadingScreenPatch.kt @@ -35,7 +35,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/general/loadmorebutton/LoadMoreButtonPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/general/loadmorebutton/LoadMoreButtonPatch.kt index 3c7da51cd..15a661895 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/general/loadmorebutton/LoadMoreButtonPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/general/loadmorebutton/LoadMoreButtonPatch.kt @@ -37,7 +37,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/general/mixplaylists/MixPlaylistsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/general/mixplaylists/MixPlaylistsPatch.kt index 8de2abb14..a01083c0a 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/general/mixplaylists/MixPlaylistsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/general/mixplaylists/MixPlaylistsPatch.kt @@ -46,7 +46,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/general/snackbar/HideSnackBarPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/general/snackbar/HideSnackBarPatch.kt index 1ddad5a36..e381a6098 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/general/snackbar/HideSnackBarPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/general/snackbar/HideSnackBarPatch.kt @@ -33,7 +33,8 @@ import app.revanced.util.integrations.Constants.GENERAL "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/general/suggestions/SuggestionsShelfPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/general/suggestions/SuggestionsShelfPatch.kt index 3b9f965e3..5bf896bce 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/general/suggestions/SuggestionsShelfPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/general/suggestions/SuggestionsShelfPatch.kt @@ -42,7 +42,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/general/tabletminiplayer/TabletMiniPlayerPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/general/tabletminiplayer/TabletMiniPlayerPatch.kt index 126a50293..4afc62eb9 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/general/tabletminiplayer/TabletMiniPlayerPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/general/tabletminiplayer/TabletMiniPlayerPatch.kt @@ -45,7 +45,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/general/toolbar/ToolBarButtonPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/general/toolbar/ToolBarButtonPatch.kt index 39bdf3868..cec589e32 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/general/toolbar/ToolBarButtonPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/general/toolbar/ToolBarButtonPatch.kt @@ -35,7 +35,8 @@ import app.revanced.util.integrations.Constants.GENERAL "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/general/trendingsearches/TrendingSearchesPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/general/trendingsearches/TrendingSearchesPatch.kt index 0a6db3a6b..ad68effa2 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/general/trendingsearches/TrendingSearchesPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/general/trendingsearches/TrendingSearchesPatch.kt @@ -42,7 +42,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/general/widesearchbar/WideSearchBarPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/general/widesearchbar/WideSearchBarPatch.kt index e986015cb..d861c02a2 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/general/widesearchbar/WideSearchBarPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/general/widesearchbar/WideSearchBarPatch.kt @@ -39,7 +39,8 @@ import app.revanced.util.integrations.Constants.GENERAL "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/branding/icon/CustomBrandingIconMMTPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/branding/icon/CustomBrandingIconMMTPatch.kt index d863044de..c0d5b0385 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/branding/icon/CustomBrandingIconMMTPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/branding/icon/CustomBrandingIconMMTPatch.kt @@ -29,7 +29,8 @@ import app.revanced.util.resources.ResourceHelper.updatePatchStatusIcon "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ], diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/branding/icon/CustomBrandingIconRevancifyBluePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/branding/icon/CustomBrandingIconRevancifyBluePatch.kt index 61f625974..b2709aad6 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/branding/icon/CustomBrandingIconRevancifyBluePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/branding/icon/CustomBrandingIconRevancifyBluePatch.kt @@ -29,7 +29,8 @@ import app.revanced.util.resources.ResourceHelper.updatePatchStatusIcon "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/branding/icon/CustomBrandingIconRevancifyRedPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/branding/icon/CustomBrandingIconRevancifyRedPatch.kt index e6d32d499..fcadaff96 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/branding/icon/CustomBrandingIconRevancifyRedPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/branding/icon/CustomBrandingIconRevancifyRedPatch.kt @@ -29,7 +29,8 @@ import app.revanced.util.resources.ResourceHelper.updatePatchStatusIcon "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ], diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/branding/name/CustomBrandingNamePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/branding/name/CustomBrandingNamePatch.kt index 9a77706a6..fb3ba46dc 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/branding/name/CustomBrandingNamePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/branding/name/CustomBrandingNamePatch.kt @@ -33,7 +33,8 @@ import app.revanced.util.resources.ResourceHelper.updatePatchStatusLabel "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/doubletapbackground/DoubleTapOverlayBackgroundPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/doubletapbackground/DoubleTapOverlayBackgroundPatch.kt index 5eb6497df..abbcda5ee 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/doubletapbackground/DoubleTapOverlayBackgroundPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/doubletapbackground/DoubleTapOverlayBackgroundPatch.kt @@ -27,7 +27,8 @@ import app.revanced.patches.youtube.utils.settings.SettingsPatch "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ], diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/doubletaplength/DoubleTapLengthPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/doubletaplength/DoubleTapLengthPatch.kt index 23d6a6f96..f0235e17a 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/doubletaplength/DoubleTapLengthPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/doubletaplength/DoubleTapLengthPatch.kt @@ -32,7 +32,8 @@ import app.revanced.util.resources.ResourceUtils.copyResources "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/forcebackground/PlayerButtonBackgroundPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/forcebackground/PlayerButtonBackgroundPatch.kt index 6d810ade2..5ffb2a750 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/forcebackground/PlayerButtonBackgroundPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/forcebackground/PlayerButtonBackgroundPatch.kt @@ -29,7 +29,8 @@ import org.w3c.dom.Element "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ], diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/forceheader/PremiumHeadingPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/forceheader/PremiumHeadingPatch.kt index 23068a21a..278f99c58 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/forceheader/PremiumHeadingPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/forceheader/PremiumHeadingPatch.kt @@ -31,7 +31,8 @@ import kotlin.io.path.exists "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ], diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/materialyou/MaterialYouPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/materialyou/MaterialYouPatch.kt index d61562059..e1d931700 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/materialyou/MaterialYouPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/materialyou/MaterialYouPatch.kt @@ -36,7 +36,8 @@ import app.revanced.util.resources.ResourceUtils.copyXmlNode "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ], diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/pipnotification/PiPNotificationPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/pipnotification/PiPNotificationPatch.kt index d1239233e..ffa1f0d30 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/pipnotification/PiPNotificationPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/pipnotification/PiPNotificationPatch.kt @@ -35,7 +35,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.ReferenceInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/splashanimation/AddSplashAnimationPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/splashanimation/AddSplashAnimationPatch.kt index 602526d3a..717373869 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/splashanimation/AddSplashAnimationPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/splashanimation/AddSplashAnimationPatch.kt @@ -29,7 +29,8 @@ import kotlin.io.path.exists "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ], diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/theme/ThemePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/theme/ThemePatch.kt index 068fc18a8..fe8542877 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/theme/ThemePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/theme/ThemePatch.kt @@ -35,7 +35,8 @@ import org.w3c.dom.Element "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/tooltip/TooltipContentViewPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/tooltip/TooltipContentViewPatch.kt index a6e243152..e90735c40 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/tooltip/TooltipContentViewPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/tooltip/TooltipContentViewPatch.kt @@ -34,7 +34,8 @@ import app.revanced.patches.youtube.utils.settings.SettingsPatch "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/ambientmode/PowerSaveModePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/ambientmode/PowerSaveModePatch.kt index 4df3393e3..35ba23a5f 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/ambientmode/PowerSaveModePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/ambientmode/PowerSaveModePatch.kt @@ -37,7 +37,8 @@ import com.android.tools.smali.dexlib2.iface.reference.MethodReference "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/codec/audio/ForceOpusCodecPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/codec/audio/ForceOpusCodecPatch.kt index eeba4b079..ec31c3392 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/codec/audio/ForceOpusCodecPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/codec/audio/ForceOpusCodecPatch.kt @@ -28,7 +28,8 @@ import app.revanced.util.integrations.Constants.MISC_PATH "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/codec/video/ForceVideoCodecPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/codec/video/ForceVideoCodecPatch.kt index 013639fe0..8b54b8574 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/codec/video/ForceVideoCodecPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/codec/video/ForceVideoCodecPatch.kt @@ -46,7 +46,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.ReferenceInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/debugging/DebuggingPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/debugging/DebuggingPatch.kt index 04dbc4b88..a7d0d0473 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/debugging/DebuggingPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/debugging/DebuggingPatch.kt @@ -27,7 +27,8 @@ import app.revanced.patches.youtube.utils.settings.SettingsPatch "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ], diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/externalbrowser/ExternalBrowserPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/externalbrowser/ExternalBrowserPatch.kt index dcf74ad61..983f22071 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/externalbrowser/ExternalBrowserPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/externalbrowser/ExternalBrowserPatch.kt @@ -36,7 +36,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/language/LanguageSelectorPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/language/LanguageSelectorPatch.kt index deb5498ec..25cf4ba18 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/language/LanguageSelectorPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/language/LanguageSelectorPatch.kt @@ -34,7 +34,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/layoutswitch/LayoutSwitchPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/layoutswitch/LayoutSwitchPatch.kt index 78a5e03a4..24a52ca96 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/layoutswitch/LayoutSwitchPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/layoutswitch/LayoutSwitchPatch.kt @@ -40,7 +40,8 @@ import com.android.tools.smali.dexlib2.Opcode "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/minimizedplayback/MinimizedPlaybackPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/minimizedplayback/MinimizedPlaybackPatch.kt index 2b6ef00c2..ff8dcc8cc 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/minimizedplayback/MinimizedPlaybackPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/minimizedplayback/MinimizedPlaybackPatch.kt @@ -44,7 +44,8 @@ import com.android.tools.smali.dexlib2.iface.reference.MethodReference "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/openlinksdirectly/OpenLinksDirectlyPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/openlinksdirectly/OpenLinksDirectlyPatch.kt index 431b566aa..355eb11cc 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/openlinksdirectly/OpenLinksDirectlyPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/openlinksdirectly/OpenLinksDirectlyPatch.kt @@ -34,7 +34,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.formats.Instruction35c "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/quic/QUICProtocolPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/quic/QUICProtocolPatch.kt index cf66d0a4e..24b333e86 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/quic/QUICProtocolPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/quic/QUICProtocolPatch.kt @@ -32,7 +32,8 @@ import app.revanced.util.integrations.Constants.MISC_PATH "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/splashanimation/NewSplashAnimationPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/splashanimation/NewSplashAnimationPatch.kt index d98d543fb..1a4e9a9a4 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/splashanimation/NewSplashAnimationPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/splashanimation/NewSplashAnimationPatch.kt @@ -44,7 +44,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/spoofappversion/SpoofAppVersionPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/spoofappversion/SpoofAppVersionPatch.kt index d7cbaafac..e16204b77 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/spoofappversion/SpoofAppVersionPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/spoofappversion/SpoofAppVersionPatch.kt @@ -32,7 +32,8 @@ import org.w3c.dom.Element "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/translations/TranslationsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/translations/TranslationsPatch.kt index aa7f2f5ab..4dff2c337 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/translations/TranslationsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/translations/TranslationsPatch.kt @@ -28,7 +28,8 @@ import app.revanced.util.resources.ResourceHelper.addTranslations "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/navigation/homepage/ChangeHomePagePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/navigation/homepage/ChangeHomePagePatch.kt index 33de83ced..580eb20f9 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/navigation/homepage/ChangeHomePagePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/navigation/homepage/ChangeHomePagePatch.kt @@ -35,7 +35,8 @@ import app.revanced.util.integrations.Constants.NAVIGATION "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/navigation/label/NavigationLabelPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/navigation/label/NavigationLabelPatch.kt index 3bf5d3949..65f88db64 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/navigation/label/NavigationLabelPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/navigation/label/NavigationLabelPatch.kt @@ -34,7 +34,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.ReferenceInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/navigation/navigationbuttons/NavigationButtonsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/navigation/navigationbuttons/NavigationButtonsPatch.kt index b20ed613b..8b2391b85 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/navigation/navigationbuttons/NavigationButtonsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/navigation/navigationbuttons/NavigationButtonsPatch.kt @@ -47,7 +47,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/navigation/tabletnavbar/TabletNavigationBarPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/navigation/tabletnavbar/TabletNavigationBarPatch.kt index 5b44c3068..8e09e921f 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/navigation/tabletnavbar/TabletNavigationBarPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/navigation/tabletnavbar/TabletNavigationBarPatch.kt @@ -35,7 +35,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/overlaybutton/general/OverlayButtonsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/overlaybutton/general/OverlayButtonsPatch.kt index 660919d0d..7cd53b75c 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/overlaybutton/general/OverlayButtonsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/overlaybutton/general/OverlayButtonsPatch.kt @@ -51,7 +51,8 @@ import org.w3c.dom.Element "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/player/autoplaybutton/HideAutoplayButtonPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/player/autoplaybutton/HideAutoplayButtonPatch.kt index e9e55fd3a..eeec09c82 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/player/autoplaybutton/HideAutoplayButtonPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/player/autoplaybutton/HideAutoplayButtonPatch.kt @@ -42,7 +42,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/player/captionsbutton/HideCaptionsButtonPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/player/captionsbutton/HideCaptionsButtonPatch.kt index 92ee0c0e5..67a7e926c 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/player/captionsbutton/HideCaptionsButtonPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/player/captionsbutton/HideCaptionsButtonPatch.kt @@ -38,7 +38,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/player/castbutton/HideCastButtonPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/player/castbutton/HideCastButtonPatch.kt index da0f2baea..10237f105 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/player/castbutton/HideCastButtonPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/player/castbutton/HideCastButtonPatch.kt @@ -31,7 +31,8 @@ import app.revanced.util.integrations.Constants.PLAYER "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/player/collapsebutton/HideCollapseButtonPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/player/collapsebutton/HideCollapseButtonPatch.kt index 757f0ddde..9dd701a59 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/player/collapsebutton/HideCollapseButtonPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/player/collapsebutton/HideCollapseButtonPatch.kt @@ -32,7 +32,8 @@ import app.revanced.patches.youtube.utils.settings.SettingsPatch "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/player/endscreencards/HideEndScreenCardsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/player/endscreencards/HideEndScreenCardsPatch.kt index e8e719b0e..0eb94bd0c 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/player/endscreencards/HideEndScreenCardsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/player/endscreencards/HideEndScreenCardsPatch.kt @@ -39,7 +39,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/player/filmstripoverlay/HideFilmstripOverlayPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/player/filmstripoverlay/HideFilmstripOverlayPatch.kt index 789d1009d..11036673b 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/player/filmstripoverlay/HideFilmstripOverlayPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/player/filmstripoverlay/HideFilmstripOverlayPatch.kt @@ -52,7 +52,8 @@ import com.android.tools.smali.dexlib2.iface.reference.MethodReference "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] @@ -89,7 +90,10 @@ object HideFilmstripOverlayPatch : BytecodePatch( val initialIndex = setOnClickListenerIndex - 1 if (SettingsPatch.upward1828) { - val insertIndex = it.scanResult.patternScanResult!!.startIndex + 2 + var insertIndex = it.scanResult.patternScanResult!!.startIndex + 2 + if (getInstruction(insertIndex).opcode == Opcode.INVOKE_VIRTUAL) + insertIndex ++ + val replaceInstruction = getInstruction(insertIndex) val replaceReference = getInstruction(insertIndex).reference diff --git a/src/main/kotlin/app/revanced/patches/youtube/player/hapticfeedback/HapticFeedBackPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/player/hapticfeedback/HapticFeedBackPatch.kt index 7fbe00fe9..5dac1a63a 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/player/hapticfeedback/HapticFeedBackPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/player/hapticfeedback/HapticFeedBackPatch.kt @@ -41,7 +41,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/player/infocards/HideInfoCardsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/player/infocards/HideInfoCardsPatch.kt index 688c56d63..f79d886c1 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/player/infocards/HideInfoCardsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/player/infocards/HideInfoCardsPatch.kt @@ -38,7 +38,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/player/musicbutton/HideMusicButtonPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/player/musicbutton/HideMusicButtonPatch.kt index cae9661c0..b9b6513ae 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/player/musicbutton/HideMusicButtonPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/player/musicbutton/HideMusicButtonPatch.kt @@ -37,7 +37,8 @@ import app.revanced.util.integrations.Constants.PLAYER "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/player/playerbuttonbg/HidePlayerButtonBackgroundPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/player/playerbuttonbg/HidePlayerButtonBackgroundPatch.kt index 0b5a5b236..23a1b807c 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/player/playerbuttonbg/HidePlayerButtonBackgroundPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/player/playerbuttonbg/HidePlayerButtonBackgroundPatch.kt @@ -35,7 +35,8 @@ import app.revanced.util.integrations.Constants.INTEGRATIONS_PATH "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/player/playeroverlay/CustomPlayerOverlayOpacityPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/player/playeroverlay/CustomPlayerOverlayOpacityPatch.kt index a37aeab14..4c11c4d49 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/player/playeroverlay/CustomPlayerOverlayOpacityPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/player/playeroverlay/CustomPlayerOverlayOpacityPatch.kt @@ -41,7 +41,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.ReferenceInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/player/previousnextbutton/HidePreviousNextButtonPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/player/previousnextbutton/HidePreviousNextButtonPatch.kt index 186dbd658..bec04bc6c 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/player/previousnextbutton/HidePreviousNextButtonPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/player/previousnextbutton/HidePreviousNextButtonPatch.kt @@ -31,7 +31,8 @@ import app.revanced.patches.youtube.utils.settings.SettingsPatch "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/player/seekmessage/SeekMessagePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/player/seekmessage/SeekMessagePatch.kt index 47100a84d..9c8c00b3a 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/player/seekmessage/SeekMessagePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/player/seekmessage/SeekMessagePatch.kt @@ -44,7 +44,8 @@ import com.android.tools.smali.dexlib2.iface.reference.MethodReference "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/player/speedoverlay/SpeedOverlayPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/player/speedoverlay/SpeedOverlayPatch.kt index e65f4f65c..601922638 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/player/speedoverlay/SpeedOverlayPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/player/speedoverlay/SpeedOverlayPatch.kt @@ -43,7 +43,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.formats.Instruction35c "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/player/suggestactions/SuggestedActionsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/player/suggestactions/SuggestedActionsPatch.kt index a2c4e5ced..d53ec383d 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/player/suggestactions/SuggestedActionsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/player/suggestactions/SuggestedActionsPatch.kt @@ -41,7 +41,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/player/suggestedvideooverlay/SuggestedVideoOverlayPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/player/suggestedvideooverlay/SuggestedVideoOverlayPatch.kt index 9e937ecb7..05b7bcd8e 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/player/suggestedvideooverlay/SuggestedVideoOverlayPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/player/suggestedvideooverlay/SuggestedVideoOverlayPatch.kt @@ -43,7 +43,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/player/watermark/HideChannelWatermarkPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/player/watermark/HideChannelWatermarkPatch.kt index 0745090a3..3481c7980 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/player/watermark/HideChannelWatermarkPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/player/watermark/HideChannelWatermarkPatch.kt @@ -41,7 +41,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/seekbar/append/AppendTimeStampInformationPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/seekbar/append/AppendTimeStampInformationPatch.kt index 07574aa58..71a63d618 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/seekbar/append/AppendTimeStampInformationPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/seekbar/append/AppendTimeStampInformationPatch.kt @@ -45,7 +45,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.formats.Instruction35c "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/seekbar/color/SeekbarColorPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/seekbar/color/SeekbarColorPatch.kt index 00c724c16..8d0e36260 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/seekbar/color/SeekbarColorPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/seekbar/color/SeekbarColorPatch.kt @@ -50,7 +50,8 @@ import org.w3c.dom.Element "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/seekbar/hide/HideSeekbarPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/seekbar/hide/HideSeekbarPatch.kt index 85b3c2133..b67e49a83 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/seekbar/hide/HideSeekbarPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/seekbar/hide/HideSeekbarPatch.kt @@ -39,7 +39,8 @@ import app.revanced.util.integrations.Constants.SEEKBAR "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/seekbar/tapping/SeekbarTappingPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/seekbar/tapping/SeekbarTappingPatch.kt index a1e975bf5..1d20fa0f3 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/seekbar/tapping/SeekbarTappingPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/seekbar/tapping/SeekbarTappingPatch.kt @@ -35,7 +35,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.ReferenceInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/seekbar/thumbnailpreview/NewThumbnailPreviewPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/seekbar/thumbnailpreview/NewThumbnailPreviewPatch.kt index 628ccbe79..dce0711a2 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/seekbar/thumbnailpreview/NewThumbnailPreviewPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/seekbar/thumbnailpreview/NewThumbnailPreviewPatch.kt @@ -33,7 +33,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/seekbar/timestamps/HideTimeStampPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/seekbar/timestamps/HideTimeStampPatch.kt index a16102f12..704595bfb 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/seekbar/timestamps/HideTimeStampPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/seekbar/timestamps/HideTimeStampPatch.kt @@ -39,7 +39,8 @@ import app.revanced.util.integrations.Constants.SEEKBAR "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/shorts/commentpopuppanels/NewCommentPopupPanelsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/shorts/commentpopuppanels/NewCommentPopupPanelsPatch.kt index d8fc31f6d..21e50e6e1 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/shorts/commentpopuppanels/NewCommentPopupPanelsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/shorts/commentpopuppanels/NewCommentPopupPanelsPatch.kt @@ -34,7 +34,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/shorts/shortscomponent/ShortsComponentPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/shorts/shortscomponent/ShortsComponentPatch.kt index dd9f64acb..291ad7261 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/shorts/shortscomponent/ShortsComponentPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/shorts/shortscomponent/ShortsComponentPatch.kt @@ -68,7 +68,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/shorts/startupshortsreset/DisableShortsOnStartupPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/shorts/startupshortsreset/DisableShortsOnStartupPatch.kt index 8cda5aaf2..758594c21 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/shorts/startupshortsreset/DisableShortsOnStartupPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/shorts/startupshortsreset/DisableShortsOnStartupPatch.kt @@ -35,7 +35,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/swipe/controls/SwipeControlsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/swipe/controls/SwipeControlsPatch.kt index 277dd6bce..1ea3e49f0 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/swipe/controls/SwipeControlsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/swipe/controls/SwipeControlsPatch.kt @@ -47,7 +47,8 @@ import com.android.tools.smali.dexlib2.immutable.ImmutableMethod "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/utils/fix/parameter/SpoofPlayerParameterPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/utils/fix/parameter/SpoofPlayerParameterPatch.kt index e23bba07f..facb1500c 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/utils/fix/parameter/SpoofPlayerParameterPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/utils/fix/parameter/SpoofPlayerParameterPatch.kt @@ -49,7 +49,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/utils/litho/LithoFilterPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/utils/litho/LithoFilterPatch.kt index 0fa6537af..60868de18 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/utils/litho/LithoFilterPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/utils/litho/LithoFilterPatch.kt @@ -7,7 +7,6 @@ import app.revanced.patcher.extensions.InstructionExtensions.addInstructions import app.revanced.patcher.extensions.InstructionExtensions.removeInstructions import app.revanced.patcher.patch.BytecodePatch import app.revanced.patcher.patch.annotation.Patch -import app.revanced.patcher.util.proxy.mutableTypes.MutableMethod import app.revanced.patches.shared.patch.litho.ComponentParserPatch import app.revanced.patches.shared.patch.litho.ComponentParserPatch.generalHook import app.revanced.patches.youtube.utils.litho.fingerprints.GeneralByteBufferFingerprint @@ -30,16 +29,12 @@ object LithoFilterPatch : BytecodePatch( override fun execute(context: BytecodeContext) { GeneralByteBufferFingerprint.result?.let { - (context - .toMethodWalker(it.method) - .nextMethod(it.scanResult.patternScanResult!!.endIndex, true) - .getMethod() as MutableMethod - ).apply { - addInstruction( - 0, - "invoke-static { p2 }, $ADS_PATH/LithoFilterPatch;->setProtoBuffer(Ljava/nio/ByteBuffer;)V" - ) - } + it.mutableMethod.apply { + addInstruction( + 0, + "invoke-static { p2 }, $ADS_PATH/LithoFilterPatch;->setProtoBuffer(Ljava/nio/ByteBuffer;)V" + ) + } } ?: throw GeneralByteBufferFingerprint.exception generalHook("$ADS_PATH/LithoFilterPatch;->filter") diff --git a/src/main/kotlin/app/revanced/patches/youtube/utils/litho/fingerprints/GeneralByteBufferFingerprint.kt b/src/main/kotlin/app/revanced/patches/youtube/utils/litho/fingerprints/GeneralByteBufferFingerprint.kt index ddd3205f2..eb16280e6 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/utils/litho/fingerprints/GeneralByteBufferFingerprint.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/utils/litho/fingerprints/GeneralByteBufferFingerprint.kt @@ -1,13 +1,31 @@ package app.revanced.patches.youtube.utils.litho.fingerprints +import app.revanced.patcher.extensions.or import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint +import com.android.tools.smali.dexlib2.AccessFlags import com.android.tools.smali.dexlib2.Opcode object GeneralByteBufferFingerprint : MethodFingerprint( - returnType = "L", + returnType = "V", + accessFlags = AccessFlags.PUBLIC or AccessFlags.FINAL, + parameters = listOf("I", "Ljava/nio/ByteBuffer;"), opcodes = listOf( - Opcode.ADD_INT_2ADDR, - Opcode.INVOKE_VIRTUAL + Opcode.IPUT_OBJECT, + Opcode.IF_EQZ, + Opcode.IPUT, + Opcode.INVOKE_VIRTUAL, + Opcode.MOVE_RESULT, + Opcode.SUB_INT_2ADDR, + Opcode.IPUT, + Opcode.IGET_OBJECT, + Opcode.INVOKE_VIRTUAL, + Opcode.MOVE_RESULT, + Opcode.IPUT, + Opcode.RETURN_VOID, + Opcode.CONST_4, + Opcode.IPUT, + Opcode.IPUT, + Opcode.GOTO ), - strings = listOf("Unssuported TextDecorator adjustment. Extension: %s") + customFingerprint = { methodDef, _ -> methodDef.name == "f" } ) \ No newline at end of file diff --git a/src/main/kotlin/app/revanced/patches/youtube/utils/microg/MicroGPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/utils/microg/MicroGPatch.kt index 50da9f3e2..c3b2c215a 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/utils/microg/MicroGPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/utils/microg/MicroGPatch.kt @@ -40,7 +40,8 @@ import app.revanced.util.resources.ResourceHelper.setMicroG "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/utils/returnyoutubedislike/general/ReturnYouTubeDislikePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/utils/returnyoutubedislike/general/ReturnYouTubeDislikePatch.kt index d6ce48b5b..dd8fdbf35 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/utils/returnyoutubedislike/general/ReturnYouTubeDislikePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/utils/returnyoutubedislike/general/ReturnYouTubeDislikePatch.kt @@ -61,7 +61,8 @@ import com.android.tools.smali.dexlib2.iface.reference.Reference "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/utils/settings/SettingsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/utils/settings/SettingsPatch.kt index 1f76cfb11..fd869007b 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/utils/settings/SettingsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/utils/settings/SettingsPatch.kt @@ -47,7 +47,8 @@ import java.util.concurrent.TimeUnit "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ], diff --git a/src/main/kotlin/app/revanced/patches/youtube/utils/sponsorblock/SponsorBlockPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/utils/sponsorblock/SponsorBlockPatch.kt index 514927e75..87ed67f7b 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/utils/sponsorblock/SponsorBlockPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/utils/sponsorblock/SponsorBlockPatch.kt @@ -33,7 +33,8 @@ import app.revanced.util.resources.ResourceUtils.copyXmlNode "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/video/customspeed/CustomPlaybackSpeedPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/video/customspeed/CustomPlaybackSpeedPatch.kt index ddc40bde9..cf1121d54 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/video/customspeed/CustomPlaybackSpeedPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/video/customspeed/CustomPlaybackSpeedPatch.kt @@ -32,7 +32,8 @@ import app.revanced.util.integrations.Constants.VIDEO_PATH "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/video/hdr/DisableHdrVideoPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/video/hdr/DisableHdrVideoPatch.kt index 0e8700f93..308f39c1f 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/video/hdr/DisableHdrVideoPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/video/hdr/DisableHdrVideoPatch.kt @@ -34,7 +34,8 @@ import app.revanced.util.integrations.Constants.VIDEO_PATH "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/video/quality/VideoQualityPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/video/quality/VideoQualityPatch.kt index 2019cd852..9ec5f4f2f 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/video/quality/VideoQualityPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/video/quality/VideoQualityPatch.kt @@ -49,7 +49,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ] diff --git a/src/main/kotlin/app/revanced/patches/youtube/video/speed/PlaybackSpeedPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/video/speed/PlaybackSpeedPatch.kt index bd1b35409..3d0b1dd7c 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/video/speed/PlaybackSpeedPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/video/speed/PlaybackSpeedPatch.kt @@ -43,7 +43,8 @@ import com.android.tools.smali.dexlib2.iface.instruction.FiveRegisterInstruction "18.36.39", "18.37.36", "18.38.44", - "18.39.41" + "18.39.41", + "18.40.34" ] ) ]