fix: go back to instructions and reverse order

This commit is contained in:
drobotk 2026-02-24 00:38:19 +01:00
parent 73fb891640
commit c03b42138e
No known key found for this signature in database
GPG key ID: 4B532DAB8340742C

View file

@ -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"()
)
}