Skip to content

Commit 0305f3b

Browse files
committed
Improve support to WhatsApp 2.25.25.XX
Signed-off-by: Dev4Mod <wellingtonmods@gmail.com>
1 parent adedefb commit 0305f3b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/src/main/java/com/wmods/wppenhacer/xposed/core/devkit/Unobfuscator.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2006,6 +2006,11 @@ public static Method loadViewAddSearchBarMethod(ClassLoader classLoader) throws
20062006
return UnobfuscatorCache.getInstance().getMethod(classLoader, () -> findFirstMethodUsingStrings(classLoader, StringMatchType.Contains, "HeaderFooterRecyclerViewAdapter/addHeaderViewItemIfNeeded/duplicate-item"));
20072007
}
20082008

2009+
public static Method loadMenuSearchMethod(ClassLoader classLoader) throws Exception {
2010+
return UnobfuscatorCache.getInstance().getMethod(classLoader, () -> dexkit.findMethod(FindMethod.create().matcher(MethodMatcher.create().addUsingNumber(8013).paramCount(0).returnType(boolean.class))).single().getMethodInstance(classLoader));
2011+
}
2012+
2013+
20092014
public static Method loadAddOptionSearchBarMethod(ClassLoader classLoader) throws Exception {
20102015
return UnobfuscatorCache.getInstance().getMethod(classLoader, () -> {
20112016
var classData = Objects.requireNonNull(dexkit.getClassData(WppCore.getHomeActivityClass(classLoader)));

0 commit comments

Comments
 (0)