mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2026-01-22 18:53:58 +00:00
fix: compareSignatureToMethod not matching correctly in case opcodes are null
This commit is contained in:
@@ -77,11 +77,8 @@ internal class SignatureResolver(
|
||||
}
|
||||
}
|
||||
|
||||
return if (signature.opcodes == null) {
|
||||
null
|
||||
} else {
|
||||
method.implementation?.instructions?.scanFor(signature.opcodes)!!
|
||||
}
|
||||
return if (signature.opcodes == null) PatternScanResult(0,0)
|
||||
else method.implementation?.instructions?.scanFor(signature.opcodes)
|
||||
}
|
||||
|
||||
private fun compareParameterTypes(signature: Array<String>, original: MutableList<out CharSequence>): Boolean {
|
||||
|
||||
Reference in New Issue
Block a user