diff --git a/patches/src/main/kotlin/app/revanced/util/BytecodeUtils.kt b/patches/src/main/kotlin/app/revanced/util/BytecodeUtils.kt index 0ba03aa0d..047f21cc4 100644 --- a/patches/src/main/kotlin/app/revanced/util/BytecodeUtils.kt +++ b/patches/src/main/kotlin/app/revanced/util/BytecodeUtils.kt @@ -1011,8 +1011,8 @@ private fun MutableMethod.overrideReturnValue(value: String, returnLate: Boolean } if (returnLate) { - findInstructionIndicesReversed { - opcode == RETURN || opcode == RETURN_OBJECT + findInstructionIndicesReversedOrThrow { + opcode == RETURN || opcode == RETURN_WIDE || opcode == RETURN_OBJECT }.forEach { index -> addInstructionsAtControlFlowLabel(index, instructions) } diff --git a/patches/src/main/resources/addresources/values/strings.xml b/patches/src/main/resources/addresources/values/strings.xml index 4037a3cdf..c1e8373b7 100644 --- a/patches/src/main/resources/addresources/values/strings.xml +++ b/patches/src/main/resources/addresources/values/strings.xml @@ -38,7 +38,7 @@ Second \"item\" text" Reset color Invalid color Restart required - Restart the app for this change to take affect. + Restart the app for this change to take effect. Restart Import Copy @@ -1074,7 +1074,7 @@ Your user id is like a password and it should never be shared. The part of the video that most people are looking for Intermission / Intro Animation An interval without actual content. Could be a pause, static frame, or repeating animation. Does not include transitions containing information - Endcards/Credits + Endcards / Credits Credits or when the YouTube endcards appear. Not for conclusions with information Preview / Recap / Hook Collection of clips that show what is coming up or what happened in the video or in other videos of a series, where all information is repeated elsewhere