chore: lint code

This commit is contained in:
inotia00
2024-07-05 15:31:48 +09:00
parent 81ba1d3dbf
commit b3aa0161c2
4 changed files with 13 additions and 6 deletions

View File

@ -94,7 +94,8 @@ object OverlayButtonsBytecodePatch : BytecodePatch(
val moveObjectIndex = indexOfFirstInstructionOrThrow {
(this as? TwoRegisterInstruction)?.registerB == registerResolver
}
val moveObjectRegister = getInstruction<TwoRegisterInstruction>(moveObjectIndex).registerA
val moveObjectRegister =
getInstruction<TwoRegisterInstruction>(moveObjectIndex).registerA
invokerObjectIndex = indexOfFirstInstructionOrThrow(moveObjectIndex) {
opcode == Opcode.IPUT_OBJECT
&& getReference<FieldReference>()?.definingClass == definingClass