fix: messenger patches
This commit is contained in:
parent
581369077f
commit
80d81ea030
2 changed files with 6 additions and 2 deletions
|
|
@ -4,8 +4,11 @@ import app.revanced.patcher.gettingFirstMethodDeclaratively
|
|||
import app.revanced.patcher.parameterTypes
|
||||
import app.revanced.patcher.patch.BytecodePatchContext
|
||||
import app.revanced.patcher.returnType
|
||||
import app.revanced.patcher.instructions
|
||||
import app.revanced.patcher.invoke
|
||||
|
||||
internal val BytecodePatchContext.isFacebookButtonEnabledMethod by gettingFirstMethodDeclaratively("FacebookButtonTabButtonImplementation") {
|
||||
internal val BytecodePatchContext.isFacebookButtonEnabledMethod by gettingFirstMethodDeclaratively {
|
||||
parameterTypes()
|
||||
returnType("Z")
|
||||
instructions("FacebookButtonTabButtonImplementation"(String::contains))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,8 +11,9 @@ internal val BytecodePatchContext.getMobileConfigBoolMethodMatch by composingFir
|
|||
custom { "Lcom/facebook/mobileconfig/factory/MobileConfigUnsafeContext;" in immutableClassDef.interfaces }
|
||||
}
|
||||
|
||||
internal val BytecodePatchContext.metaAIKillSwitchCheckMethodMatch by composingFirstMethod("SearchAiagentImplementationsKillSwitch") {
|
||||
internal val BytecodePatchContext.metaAIKillSwitchCheckMethodMatch by composingFirstMethod {
|
||||
opcodes(Opcode.CONST_WIDE)
|
||||
instructions("SearchAiagentImplementationsKillSwitch"(String::contains))
|
||||
}
|
||||
|
||||
internal val BytecodePatchContext.extensionMethodMatch by composingFirstMethod {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue