refactor: migrate to changes from ReVanced Patcher

This commit is contained in:
badawoll
2023-05-14 02:02:43 +02:00
committed by oSumAtrIX
parent 8399eaa288
commit 386d687ca1
103 changed files with 124 additions and 110 deletions
@@ -9,7 +9,7 @@ object ReelConstructorFingerprint : MethodFingerprint(
opcodes = listOf(
Opcode.INVOKE_VIRTUAL
),
customFingerprint = { method ->
customFingerprint = { method, _ ->
method.implementation?.instructions?.any {
it.opcode == Opcode.CONST && (it as WideLiteralInstruction).wideLiteral == GeneralAdsResourcePatch.reelMultipleItemShelfId
} ?: false