From c03b42138ec6ca9dbf3aeaf6b2d06034e16c4e35 Mon Sep 17 00:00:00 2001 From: drobotk Date: Tue, 24 Feb 2026 00:38:19 +0100 Subject: [PATCH] fix: go back to `instructions` and reverse order --- .../app/revanced/patches/spotify/misc/extension/Hooks.kt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/patches/src/main/kotlin/app/revanced/patches/spotify/misc/extension/Hooks.kt b/patches/src/main/kotlin/app/revanced/patches/spotify/misc/extension/Hooks.kt index 7a8f2d3ed4..60726251d5 100644 --- a/patches/src/main/kotlin/app/revanced/patches/spotify/misc/extension/Hooks.kt +++ b/patches/src/main/kotlin/app/revanced/patches/spotify/misc/extension/Hooks.kt @@ -2,7 +2,8 @@ package app.revanced.patches.spotify.misc.extension import app.revanced.patcher.extensions.getInstruction import app.revanced.patcher.extensions.string -import app.revanced.patcher.strings +import app.revanced.patcher.instructions +import app.revanced.patcher.invoke import app.revanced.patches.shared.misc.extension.activityOnCreateExtensionHook import app.revanced.patches.shared.misc.extension.extensionHook import app.revanced.util.getReference @@ -32,8 +33,8 @@ internal val loadOrbitLibraryHook = extensionHook( "v$contextRegister" }, ) { - strings( - "orbit_library_load", - "orbit-jni-spotify" + instructions( + "orbit-jni-spotify"(), + "orbit_library_load"() ) }