XposedHelpers.findAndHookMethod(
"mtopsdk.security.InnerSignImpl"
, lpparam.classLoader,
"getUnifiedSign"
, java.util.HashMap.
class
, java.util.HashMap.
class
, java.lang.String.
class
, java.lang.String.
class
, boolean.
class
, java.lang.String.
class
, new XC_MethodHook() {
@Override
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
/
/
获取传入的参数
HashMap<String, String> hashMap1
=
(HashMap<String, String>) param.args[
0
];
HashMap<String, String> hashMap2
=
(HashMap<String, String>) param.args[
1
];
String str1
=
(String) param.args[
2
];
String str2
=
(String) param.args[
3
];
boolean
bool
=
(boolean) param.args[
4
];
String str3
=
(String) param.args[
5
];
XposedBridge.log(
"\n参数:"
+
param.args[
0
]
+
"\n参数2:"
+
param.args[
1
]
+
"\n参数3:"
+
param.args[
2
]
+
"\n参数4:"
+
param.args[
3
]
+
"\n参数5:"
+
param.args[
4
]
+
"\n参数6:"
+
param.args[
5
]);
}
});