From f29fbaeebe27d996fbf7c9129a0f0cd220c209b9 Mon Sep 17 00:00:00 2001 From: inotia00 <108592928+inotia00@users.noreply.github.com> Date: Fri, 18 Oct 2024 20:51:40 +0900 Subject: [PATCH] fix(YouTube/Spoof streaming data): wrong register used --- .../youtube/utils/fix/streamingdata/SpoofStreamingDataPatch.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/utils/fix/streamingdata/SpoofStreamingDataPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/utils/fix/streamingdata/SpoofStreamingDataPatch.kt index 3f06ad052..1e17d95f9 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/utils/fix/streamingdata/SpoofStreamingDataPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/utils/fix/streamingdata/SpoofStreamingDataPatch.kt @@ -180,7 +180,7 @@ object SpoofStreamingDataPatch : BaseBytecodePatch( # Set streaming data. iget-object v$freeRegister, v$freeRegister, $getStreamingDataField - if-eqz v0, :disabled + if-eqz v$freeRegister, :disabled iput-object v$freeRegister, p0, $setStreamingDataField """,