fix(Instagram): Update fingerprints for version 417.0.0.54.77 (#6734)
This commit is contained in:
parent
bb7448bc9d
commit
55f510dbed
4 changed files with 9 additions and 9 deletions
|
|
@ -6,7 +6,7 @@ import app.revanced.patcher.invoke
|
||||||
import app.revanced.patcher.name
|
import app.revanced.patcher.name
|
||||||
import app.revanced.patcher.patch.BytecodePatchContext
|
import app.revanced.patcher.patch.BytecodePatchContext
|
||||||
|
|
||||||
internal val BytecodePatchContext.exploreResponseJsonParserMethodMatch by composingFirstMethod("ExploreTopicalFeedResponse") {
|
internal val BytecodePatchContext.exploreResponseJsonParserMethodMatch by composingFirstMethod("clusters") {
|
||||||
name("parseFromJson")
|
name("unsafeParseFromJson")
|
||||||
instructions("sectional_items"())
|
instructions("sectional_items"())
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,8 @@ internal val BytecodePatchContext.initializeNavigationButtonsListMethod by getti
|
||||||
}
|
}
|
||||||
|
|
||||||
internal val BytecodePatchContext.navigationButtonsEnumMethod by gettingFirstImmutableMethodDeclaratively(
|
internal val BytecodePatchContext.navigationButtonsEnumMethod by gettingFirstImmutableMethodDeclaratively(
|
||||||
"FEED",
|
"fragment_clips",
|
||||||
"fragment_feed",
|
"fragment_feed",
|
||||||
"SEARCH",
|
"fragment_news",
|
||||||
"fragment_search",
|
"fragment_search",
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,6 @@ internal val FEED_ITEM_KEYS_TO_BE_HIDDEN = arrayOf(
|
||||||
"suggested_users",
|
"suggested_users",
|
||||||
)
|
)
|
||||||
|
|
||||||
internal val BytecodePatchContext.feedItemParseFromJsonMethodMatch by composingFirstMethod("FeedItem") {
|
internal val BytecodePatchContext.feedItemParseFromJsonMethodMatch by composingFirstMethod("feed_item_type") {
|
||||||
instructions(predicates = unorderedAllOf(predicates = FEED_ITEM_KEYS_TO_BE_HIDDEN.map { it() }.toTypedArray()))
|
instructions(predicates = unorderedAllOf(predicates = FEED_ITEM_KEYS_TO_BE_HIDDEN.map { it() }.toTypedArray()))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ import app.revanced.patcher.patch.BytecodePatchContext
|
||||||
import com.android.tools.smali.dexlib2.Opcode
|
import com.android.tools.smali.dexlib2.Opcode
|
||||||
|
|
||||||
internal val BytecodePatchContext.permalinkResponseJsonParserMethodMatch by composingFirstMethod {
|
internal val BytecodePatchContext.permalinkResponseJsonParserMethodMatch by composingFirstMethod {
|
||||||
name("parseFromJson")
|
name("unsafeParseFromJson")
|
||||||
instructions("permalink"())
|
instructions("permalink"())
|
||||||
opcodes(
|
opcodes(
|
||||||
Opcode.NEW_INSTANCE,
|
Opcode.NEW_INSTANCE,
|
||||||
|
|
@ -19,16 +19,16 @@ internal val BytecodePatchContext.permalinkResponseJsonParserMethodMatch by comp
|
||||||
}
|
}
|
||||||
|
|
||||||
internal val BytecodePatchContext.storyUrlResponseJsonParserMethodMatch by composingFirstMethod {
|
internal val BytecodePatchContext.storyUrlResponseJsonParserMethodMatch by composingFirstMethod {
|
||||||
name("parseFromJson")
|
name("unsafeParseFromJson")
|
||||||
instructions("story_item_to_share_url"())
|
instructions("story_item_to_share_url"())
|
||||||
}
|
}
|
||||||
|
|
||||||
internal val BytecodePatchContext.profileUrlResponseJsonParserMethodMatch by composingFirstMethod {
|
internal val BytecodePatchContext.profileUrlResponseJsonParserMethodMatch by composingFirstMethod {
|
||||||
name("parseFromJson")
|
name("unsafeParseFromJson")
|
||||||
instructions("profile_to_share_url"())
|
instructions("profile_to_share_url"())
|
||||||
}
|
}
|
||||||
|
|
||||||
internal val BytecodePatchContext.liveUrlResponseJsonParserMethodMatch by composingFirstMethod {
|
internal val BytecodePatchContext.liveUrlResponseJsonParserMethodMatch by composingFirstMethod {
|
||||||
name("parseFromJson")
|
name("unsafeParseFromJson")
|
||||||
instructions("live_to_share_url"())
|
instructions("live_to_share_url"())
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue