chore: lint code

This commit is contained in:
inotia00
2024-06-23 14:09:48 +09:00
parent b99c6218f7
commit 8186e9c8b2
28 changed files with 123 additions and 43 deletions

View File

@ -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,

View File

@ -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