revanced-patches/src/main/kotlin/app/revanced/patches/trakt/fingerprints/IsVIPEPFingerprint.kt

11 lines
342 B
Kotlin

package app.revanced.patches.trakt.fingerprints
import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint
object IsVIPEPFingerprint : MethodFingerprint(
customFingerprint = custom@{ methodDef, _ ->
if (!methodDef.definingClass.endsWith("RemoteUser;")) return@custom false
methodDef.name == "isVIPEP"
}
)