mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 21:27:43 +02:00
@ -20,7 +20,7 @@ import org.jf.dexlib2.iface.instruction.formats.Instruction35c
|
||||
private val compatiblePackages = listOf(
|
||||
PackageMetadata(
|
||||
"com.google.android.youtube",
|
||||
listOf("17.14.35")
|
||||
listOf("17.14.35", "17.17.34")
|
||||
)
|
||||
)
|
||||
|
||||
@ -36,7 +36,7 @@ class CreateButtonRemoverPatch : BytecodePatch(
|
||||
MethodSignature(
|
||||
MethodSignatureMetadata(
|
||||
"create-button-method",
|
||||
MethodMetadata(null, null), // unknown
|
||||
MethodMetadata("Lkne", "z"), // unknown
|
||||
PatternScanMethod.Fuzzy(2), // FIXME: Test this threshold and find the best value.
|
||||
compatiblePackages,
|
||||
"Signature for the method required to be patched.",
|
||||
|
@ -18,7 +18,7 @@ import org.jf.dexlib2.Opcode
|
||||
private val compatiblePackages = listOf(
|
||||
PackageMetadata(
|
||||
"com.google.android.youtube",
|
||||
listOf("17.14.35")
|
||||
listOf("17.17.34")
|
||||
)
|
||||
)
|
||||
|
||||
@ -34,7 +34,7 @@ class HideReelsPatch : BytecodePatch(
|
||||
MethodSignature(
|
||||
MethodSignatureMetadata(
|
||||
"hide-reels-signature",
|
||||
MethodMetadata(null, null), // unknown
|
||||
MethodMetadata("Ljvy", "<init>"), // unknown
|
||||
PatternScanMethod.Fuzzy(3), // FIXME: Test this threshold and find the best value.
|
||||
compatiblePackages,
|
||||
"Signature for the method required to be patched.",
|
||||
@ -59,7 +59,6 @@ class HideReelsPatch : BytecodePatch(
|
||||
"[B",
|
||||
"[B",
|
||||
"[B",
|
||||
"[B",
|
||||
"[B"
|
||||
),
|
||||
listOf(
|
||||
|
@ -19,7 +19,7 @@ import org.jf.dexlib2.Opcode
|
||||
private val compatiblePackages = listOf(
|
||||
PackageMetadata(
|
||||
"com.google.android.youtube",
|
||||
listOf("17.14.35")
|
||||
listOf("17.14.35", "17.17.34")
|
||||
)
|
||||
)
|
||||
|
||||
@ -35,7 +35,7 @@ class MinimizedPlaybackPatch : BytecodePatch(
|
||||
MethodSignature(
|
||||
MethodSignatureMetadata(
|
||||
"minimized-playback-manager",
|
||||
MethodMetadata(null, null), // unknown
|
||||
MethodMetadata("Lype", "j"), // unknown
|
||||
PatternScanMethod.Fuzzy(2), // FIXME: Test this threshold and find the best value.
|
||||
compatiblePackages,
|
||||
"Signature for the method required to be patched.",
|
||||
|
@ -21,7 +21,7 @@ import org.jf.dexlib2.builder.instruction.BuilderInstruction21t
|
||||
private val compatiblePackages = listOf(
|
||||
PackageMetadata(
|
||||
"com.google.android.youtube",
|
||||
listOf("17.14.35")
|
||||
listOf("17.17.34")
|
||||
)
|
||||
)
|
||||
|
||||
@ -37,7 +37,7 @@ class OldQualityLayoutPatch : BytecodePatch(
|
||||
MethodSignature(
|
||||
MethodSignatureMetadata(
|
||||
"old-quality-parent-method-signature",
|
||||
MethodMetadata(null, null), // unknown
|
||||
MethodMetadata("Libh", "<init>"), // unknown
|
||||
PatternScanMethod.Fuzzy(2), // FIXME: Test this threshold and find the best value.
|
||||
compatiblePackages,
|
||||
"Signature to find a parent method required by the Old Quality Layout patch.",
|
||||
@ -45,7 +45,7 @@ class OldQualityLayoutPatch : BytecodePatch(
|
||||
),
|
||||
"V",
|
||||
AccessFlags.PUBLIC or AccessFlags.CONSTRUCTOR,
|
||||
listOf("L", "L", "L", "L", "L", "L", "L", "[B"),
|
||||
listOf("L", "L", "L", "L", "L", "L", "L"),
|
||||
listOf(
|
||||
Opcode.INVOKE_DIRECT,
|
||||
Opcode.IPUT_OBJECT,
|
||||
@ -82,7 +82,7 @@ class OldQualityLayoutPatch : BytecodePatch(
|
||||
MethodSignature(
|
||||
MethodSignatureMetadata(
|
||||
"old-quality-method-signature",
|
||||
MethodMetadata(null, null), // unknown
|
||||
MethodMetadata("Libh", null), // unknown
|
||||
PatternScanMethod.Fuzzy(2), // FIXME: Test this threshold and find the best value.
|
||||
compatiblePackages,
|
||||
"Signature to find the method required by the Old Quality Layout patch",
|
||||
|
@ -19,7 +19,7 @@ import org.jf.dexlib2.iface.instruction.formats.Instruction11x
|
||||
private val compatiblePackages = listOf(
|
||||
PackageMetadata(
|
||||
"com.google.android.youtube",
|
||||
listOf("17.14.35")
|
||||
listOf("17.14.35", "17.17.34")
|
||||
)
|
||||
)
|
||||
|
||||
@ -35,7 +35,7 @@ class ShortsButtonRemoverPatch : BytecodePatch(
|
||||
MethodSignature(
|
||||
MethodSignatureMetadata(
|
||||
"pivotbar-buttons-method-tabenum",
|
||||
MethodMetadata(null, null), // unknown
|
||||
MethodMetadata("Lkne", "z"), // unknown
|
||||
PatternScanMethod.Fuzzy(2), // FIXME: Test this threshold and find the best value.
|
||||
compatiblePackages,
|
||||
"Signature for the pivotbar method that creates all button views.",
|
||||
@ -69,7 +69,7 @@ class ShortsButtonRemoverPatch : BytecodePatch(
|
||||
MethodSignature(
|
||||
MethodSignatureMetadata(
|
||||
"pivotbar-buttons-method-view",
|
||||
MethodMetadata(null, null), // unknown
|
||||
MethodMetadata("Lkne", "z"), // unknown
|
||||
PatternScanMethod.Fuzzy(2), // FIXME: Test this threshold and find the best value.
|
||||
compatiblePackages,
|
||||
"Signature for the pivotbar method that creates all button views.",
|
||||
|
Reference in New Issue
Block a user