mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 21:27:43 +02:00
chore: lint code
This commit is contained in:
@ -138,7 +138,8 @@ abstract class BaseGmsCoreSupportPatch(
|
||||
getTargetIndexWithReference(GET_PACKAGE_NAME_METHOD_REFERENCE)
|
||||
|
||||
if (getPackageNameIndex > -1) {
|
||||
val targetRegister = (getInstruction(getPackageNameIndex) as FiveRegisterInstruction).registerC
|
||||
val targetRegister =
|
||||
(getInstruction(getPackageNameIndex) as FiveRegisterInstruction).registerC
|
||||
|
||||
replaceInstruction(
|
||||
getPackageNameIndex,
|
||||
|
@ -142,7 +142,8 @@ object LithoFilterPatch : BytecodePatch(
|
||||
|
||||
val emptyStringIndex = getStringInstructionIndex("")
|
||||
|
||||
val identifierIndex = getTargetIndexReversedOrThrow(emptyStringIndex, Opcode.IPUT_OBJECT)
|
||||
val identifierIndex =
|
||||
getTargetIndexReversedOrThrow(emptyStringIndex, Opcode.IPUT_OBJECT)
|
||||
val identifierRegister =
|
||||
getInstruction<TwoRegisterInstruction>(identifierIndex).registerA
|
||||
|
||||
|
Reference in New Issue
Block a user