Skip to content

Commit 4f32623

Browse files
committed
fix: relax OriginFMessageField search criteria to resolve runtime error
1 parent aa0dd09 commit 4f32623

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1543,7 +1543,7 @@ public synchronized static Method loadSendAudioTypeMethod(ClassLoader classLoade
15431543

15441544
public synchronized static Field loadOriginFMessageField(ClassLoader classLoader) throws Exception {
15451545
return UnobfuscatorCache.getInstance().getField(classLoader, () -> {
1546-
var result = dexkit.findMethod(new FindMethod().matcher(new MethodMatcher().addUsingString("audio/ogg; codecs=opus", StringMatchType.Contains).paramCount(0).returnType(boolean.class)));
1546+
var result = dexkit.findMethod(new FindMethod().matcher(new MethodMatcher().addUsingString("audio/ogg; codecs=opus", StringMatchType.Contains)));
15471547
var clazz = loadFMessageClass(classLoader);
15481548
if (result.isEmpty()) throw new RuntimeException("OriginFMessageField not found");
15491549
var fields = result.get(0).getUsingFields();

0 commit comments

Comments
 (0)