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 5219b4abe..da5aa9552 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 @@ -131,7 +131,7 @@ object NewSplashAnimationPatch : BytecodePatch( addInstructions( index, """ - invoke-static {}, $MISC_PATH/SplashAnimationPatch;->enableNewSplashAnimationBoolean()Z + invoke-static {v$register}, $MISC_PATH/SplashAnimationPatch;->enableNewSplashAnimationBoolean(Z)Z move-result v$register """ ) @@ -142,7 +142,7 @@ object NewSplashAnimationPatch : BytecodePatch( addInstructions( index, """ - invoke-static {}, $MISC_PATH/SplashAnimationPatch;->enableNewSplashAnimationInt()I + invoke-static {v$register}, $MISC_PATH/SplashAnimationPatch;->enableNewSplashAnimationInt(I)I move-result v$register """ )