feat(kakaotalk): Refactor version info patch to improve readability of instruction filtering
This commit is contained in:
@ -23,8 +23,8 @@ val versionInfoPatch = bytecodePatch(
|
||||
val runPatch: (Fingerprint) -> Unit = {
|
||||
val versionInfo = it.method.instructions
|
||||
.filterIsInstance<BuilderInstruction21c>()
|
||||
.first {
|
||||
it.opcode == Opcode.CONST_STRING
|
||||
.first { inst ->
|
||||
inst.opcode == Opcode.CONST_STRING
|
||||
}
|
||||
|
||||
val versionString = (versionInfo.reference as StringReference).string
|
||||
|
Reference in New Issue
Block a user