试玩
破解思路
9000 是成功的代码
Hook代码
`
import de.robv.android.xposed.XC_MethodHook;
import de.robv.android.xposed.XposedHelpers;
import de.robv.android.xposed.callbacks.XC_LoadPackage;
public class HookComJuneGameDouDiZhu extends HookImpl{
@Override
public String packageName() {
return “com.june.game.doudizhu”;
}
@Override
public String appName() {
return "单机斗地主";
}
@Override
public void handleLoadPackage(XC_LoadPackage.LoadPackageParam lpparam) throws Throwable {
XposedHelpers.findAndHookMethod(
"com.june.game.a.e",
lpparam.classLoader,
"a",
new XC_MethodHook() {
@Override
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
super.afterHookedMethod(param);
log("result=" + param.getResult());
param.setResult("9000");
}
}
);
}
}
`文章来源:https://www.toymoban.com/news/detail-639109.html
文章来源地址https://www.toymoban.com/news/detail-639109.html
到了这里,关于逆向破解学习-单机斗地主的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!