mirror of
https://github.com/revanced/revanced-patches
synced 2024-06-14 17:10:27 +02:00
24 lines
741 B
Kotlin
24 lines
741 B
Kotlin
package app.revanced.patches.memegenerator.misc.pro.fingerprints
|
|
|
|
import app.revanced.patcher.extensions.or
|
|
import app.revanced.patcher.fingerprint.MethodFingerprint
|
|
import com.android.tools.smali.dexlib2.AccessFlags
|
|
import com.android.tools.smali.dexlib2.Opcode
|
|
|
|
internal object IsFreeVersionFingerprint : MethodFingerprint(
|
|
returnType = "Ljava/lang/Boolean;",
|
|
accessFlags = AccessFlags.PUBLIC or AccessFlags.STATIC,
|
|
strings = listOf("free"),
|
|
parameters = listOf("Landroid/content/Context;"),
|
|
opcodes =
|
|
listOf(
|
|
Opcode.SGET,
|
|
Opcode.INVOKE_VIRTUAL,
|
|
Opcode.MOVE_RESULT_OBJECT,
|
|
Opcode.CONST_STRING,
|
|
Opcode.INVOKE_VIRTUAL,
|
|
Opcode.MOVE_RESULT,
|
|
Opcode.IF_EQZ
|
|
)
|
|
)
|