Skip to content

Commit

Permalink
feat(youtube/general-ads): check for ad in identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Oct 2, 2022
1 parent 63f398c commit 47fb33b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ class GeneralBytecodeAdsPatch : BytecodePatch() {
lithoMethod.addInstructions(
insertIndex, // right after setting the component.pathBuilder field,
"""
invoke-static {v5}, Lapp/revanced/integrations/patches/GeneralBytecodeAdsPatch;->isAdComponent(Ljava/lang/StringBuilder;)Z
invoke-static {v5, v2}, Lapp/revanced/integrations/patches/GeneralBytecodeAdsPatch;->isAdComponent(Ljava/lang/StringBuilder;Ljava/lang/String;)Z
move-result v$clobberedRegister
if-eqz v$clobberedRegister, :not_an_ad
move-object/from16 v2, p1
Expand Down

0 comments on commit 47fb33b

Please sign in to comment.