seawh
发表于 2018-2-16 08:35:54
四海单机斗地主内购破解版
胡萝卜周
发表于 2018-2-16 13:31:29
谢谢表哥分享
88668921
发表于 2018-2-16 15:24:27
四海单机斗地主
hero888
发表于 2018-2-16 17:56:15
不知道智商高不高
东海浪子
发表于 2018-2-16 20:40:15
jixun.moe 发表于 2018-2-15 10:49
AppActivity.smali 把 doBuy 函数修改如下即可实现不必点击关闭,直接模拟购买成功:
import java.lang.String;
import java.lang.Object;
import java.lang.StringBuilder;
import com.longkoo.djddz.AppActivity$1;
import com.longkoo.djddz.AppActivity;
import android.content.Context;
import android.widget.Toast;
import java.lang.CharSequence;
import com.longkoo.djddz.jniHelper;
import java.lang.System;
import java.io.PrintStream;
public void AppActivity$1.onResult(int resultCode,String s,Object obj) //method@2ac4
{
const byte v3 = -1;
const byte v4 = 0;
const String result = "";
switch (resultCode){
case 1:
if (!"10".equals(obj.toString())) {
StringBuilder v1 = new StringBuilder("购买道具:[");
String result = v1.append(s).append("] 成功!").toString();
jniHelper.BuyAllObject(AppActivity.access$0());
Toast.makeText(AppActivity.access$1(this.this$0), "支付成功", v4).show();
label_0063:
System.out.println(result);
return;
}
else {
const String result = "短信计费超时";
goto label_0063;
}
break;
case 2:
StringBuilder v1 = new StringBuilder("购买道具:[");
String result = v1.append(s).append("] 失败!").toString();
Toast.makeText(AppActivity.access$1(this.this$0), "支付失败,请检查应用支付短信权限及网络环境", v4).show();
jniHelper.BuyAllObject(v3);
if (!AppActivity.access$2(this.this$0)) {
goto label_0063;
}
else {
StringBuilder v2 = new StringBuilder("正在切换到");
Toast.makeText(AppActivity.access$1(this.this$0), v2.append(AppActivity.access$3(this.this$0)).append("支付").toString(), v4).show();
AppActivity.access$4(this.this$0, 1);
this.this$0.thirdPay();
goto label_0063;
}
break;
default:
}
StringBuilder v1 = new StringBuilder("购买道具:[");
String result = v1.append(s).append("] 取消!").toString();
Toast.makeText(AppActivity.access$1(this.this$0), "支付取消", v4).show();
jniHelper.BuyAllObject(v3);
if (!AppActivity.access$2(this.this$0)) {
goto label_0063;
}
else {
StringBuilder v2 = new StringBuilder("正在切换到");
Toast.makeText(AppActivity.access$1(this.this$0), v2.append(AppActivity.access$3(this.this$0)).append("支付").toString(), v4).show();
this.this$0.thirdPay();
goto label_0063;
}
}
我刚学习安卓,是个小白只会在这里简单修改结果。其他不懂
zhangfeng9807
发表于 2018-2-17 17:32:03
感谢楼主的分享
szy106
发表于 2018-2-18 13:14:00
谢谢楼主的新春礼物
homedps
发表于 2018-2-20 11:35:24
这东西闲的时候拿来消遣就好了
平等
发表于 2018-2-20 16:41:49
谢谢楼主,新年大发
an5153
发表于 2018-2-20 19:35:20
下来看看,如何
页:
1
2
3
[4]
5
6
7
8
9
10