refactor(enable-old-quality-layout): improve the patch method

This commit is contained in:
inotia00
2023-03-04 02:36:11 +09:00
parent 3177034060
commit 974d60336e
4 changed files with 40 additions and 5 deletions

View File

@ -41,6 +41,8 @@ class LegacyVideoIdPatch : BytecodePatch(
companion object {
private var offset = 2
internal var qualityOffSet: Int = 0
private var insertIndex: Int = 0
private var videoIdRegister: Int = 0
private lateinit var insertMethod: MutableMethod