fix(VideoAds): remove istore1 opcode
This commit is contained in:
parent
85236c57b8
commit
ba1103aca3
1 changed files with 0 additions and 2 deletions
|
|
@ -10,7 +10,6 @@ import app.revanced.patcher.writer.ASMWriter.insertAt
|
||||||
import org.objectweb.asm.Opcodes
|
import org.objectweb.asm.Opcodes
|
||||||
import org.objectweb.asm.Type
|
import org.objectweb.asm.Type
|
||||||
import org.objectweb.asm.tree.MethodInsnNode
|
import org.objectweb.asm.tree.MethodInsnNode
|
||||||
import org.objectweb.asm.tree.VarInsnNode
|
|
||||||
|
|
||||||
class VideoAds : Patch("VideoAds") {
|
class VideoAds : Patch("VideoAds") {
|
||||||
override fun execute(cache: Cache): PatchResult {
|
override fun execute(cache: Cache): PatchResult {
|
||||||
|
|
@ -26,7 +25,6 @@ class VideoAds : Patch("VideoAds") {
|
||||||
|
|
||||||
showVideoAdsMethodData.method.instructions.insertAt(
|
showVideoAdsMethodData.method.instructions.insertAt(
|
||||||
0,
|
0,
|
||||||
VarInsnNode(Opcodes.ISTORE, 1),
|
|
||||||
MethodInsnNode(
|
MethodInsnNode(
|
||||||
Opcodes.INVOKESTATIC,
|
Opcodes.INVOKESTATIC,
|
||||||
"fi/vanced/libraries/youtube/whitelisting/Whitelist",
|
"fi/vanced/libraries/youtube/whitelisting/Whitelist",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue