mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-29 05:10:20 +02:00
clean up
This commit is contained in:
parent
b78032b1a9
commit
07b27383d6
@ -20,7 +20,7 @@ object PowerSaveModeFingerprint : MethodFingerprint(
|
||||
if (instructions.count() < 20)
|
||||
return@custom false
|
||||
|
||||
var count = 0;
|
||||
var count = 0
|
||||
for (instruction in instructions) {
|
||||
if (instruction.opcode != Opcode.INVOKE_VIRTUAL)
|
||||
continue
|
||||
|
@ -25,7 +25,6 @@ import app.revanced.patches.youtube.utils.returnyoutubedislike.oldlayout.ReturnY
|
||||
import app.revanced.patches.youtube.utils.returnyoutubedislike.shorts.ReturnYouTubeDislikeShortsPatch
|
||||
import app.revanced.patches.youtube.utils.settings.SettingsPatch
|
||||
import app.revanced.patches.youtube.utils.videoid.general.VideoIdPatch
|
||||
import app.revanced.util.integrations.Constants
|
||||
import app.revanced.util.integrations.Constants.PATCHES_PATH
|
||||
import app.revanced.util.integrations.Constants.UTILS_PATH
|
||||
import com.android.tools.smali.dexlib2.Opcode
|
||||
|
@ -63,7 +63,8 @@ object ReturnYouTubeDislikeShortsPatch : BytecodePatch(
|
||||
it.mutableMethod.apply {
|
||||
val insertIndex = it.scanResult.patternScanResult!!.startIndex
|
||||
|
||||
val charSequenceRegister = getInstruction<FiveRegisterInstruction>(insertIndex).registerC
|
||||
val charSequenceRegister =
|
||||
getInstruction<FiveRegisterInstruction>(insertIndex).registerC
|
||||
val conversionContextRegister = getInstruction<TwoRegisterInstruction>(0).registerA
|
||||
|
||||
val replaceReference = getInstruction<ReferenceInstruction>(insertIndex).reference
|
||||
|
Loading…
x
Reference in New Issue
Block a user