息斯
又是你啊,3Q3Q
请问是如何实现的呢?
谢谢了
很简单的
像这样的游戏根本没有pay支付,所以你只要找sms就行了
之后就要先找短信和$的,如果没找到,就看看是不是还有写的短信服务的
之后呢,就是点开选择方法出现以下信息
const/16 v6 0x67
const/4 v5 0
invoke-virtual {v9} Landroid/content/Intent;->getAction()Ljava/lang/String;
move-result-object v0
invoke-virtual {v7} Lcom/sms/SMSReceiver;->getResultCode()I
move-result v1
const-string v2 "lab.sodino.sms.send"
invoke-virtual {v0,v2} Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-eqz v2 :label_22
packed-switch v1 :label_288
label_22:
switch_22:
return-void
switch_23:
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
sget-object v2 Lcom/sms/SMS;->actv:Landroid/app/Activity;
const-string v3 "发送成功"
invoke-static {v2,v3,v5} Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
move-result-object v2
invoke-virtual {v2} Landroid/widget/Toast;->show()V
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
sget v2 Lcom/sms/SMS;->isonetiao:I
add-int/lit8 v2 v2 1
sput v2 Lcom/sms/SMS;->isonetiao:I
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
sget-byte v2 Lcom/sms/SMS;->smsIdsendnum:B
add-int/lit8 v2 v2 1
int-to-byte v2 v2
sput-byte v2 Lcom/sms/SMS;->smsIdsendnum:B
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
move-result-object v2
invoke-virtual {v2} Lcom/sms/SMS;->SmsResult()V
goto :label_22
switch_64:
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
sget-object v2 Lcom/sms/SMS;->actv:Landroid/app/Activity;
new-instance v3 Ljava/lang/StringBuilder;
const-string v4 "发送失败,普通错误错误码 :"
invoke-direct {v3,v4} Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v7} Lcom/sms/SMSReceiver;->getResultCode()I
move-result v4
invoke-virtual {v3,v4} Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v3
invoke-virtual {v3} Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v3
invoke-static {v2,v3,v5} Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
move-result-object v2
invoke-virtual {v2} Landroid/widget/Toast;->show()V
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
sput v6 Lcom/sms/SMS;->result:I
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
sget-object v2 Lcom/sms/SMS;->pdialog:Landroid/app/ProgressDialog;
invoke-virtual {v2} Landroid/app/ProgressDialog;->dismiss()V
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
move-result-object v2
invoke-virtual {v2} Lcom/sms/SMS;->sendErr()V
goto :label_22
switch_119:
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
sget-object v2 Lcom/sms/SMS;->actv:Landroid/app/Activity;
new-instance v3 Ljava/lang/StringBuilder;
const-string v4 "发送失败,服务当前不可用误错误码:"
invoke-direct {v3,v4} Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v7} Lcom/sms/SMSReceiver;->getResultCode()I
move-result v4
invoke-virtual {v3,v4} Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v3
invoke-virtual {v3} Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v3
invoke-static {v2,v3,v5} Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
move-result-object v2
invoke-virtual {v2} Landroid/widget/Toast;->show()V
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
sput v6 Lcom/sms/SMS;->result:I
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
sget-object v2 Lcom/sms/SMS;->pdialog:Landroid/app/ProgressDialog;
invoke-virtual {v2} Landroid/app/ProgressDialog;->dismiss()V
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
move-result-object v2
invoke-virtual {v2} Lcom/sms/SMS;->sendErr()V
goto/16 :label_22
switch_175:
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
sget-object v2 Lcom/sms/SMS;->actv:Landroid/app/Activity;
new-instance v3 Ljava/lang/StringBuilder;
const-string v4 "发送失败,没有提供pdu误错误码 :"
invoke-direct {v3,v4} Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v7} Lcom/sms/SMSReceiver;->getResultCode()I
move-result v4
invoke-virtual {v3,v4} Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v3
invoke-virtual {v3} Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v3
invoke-static {v2,v3,v5} Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
move-result-object v2
invoke-virtual {v2} Landroid/widget/Toast;->show()V
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
sput v6 Lcom/sms/SMS;->result:I
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
sget-object v2 Lcom/sms/SMS;->pdialog:Landroid/app/ProgressDialog;
invoke-virtual {v2} Landroid/app/ProgressDialog;->dismiss()V
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
move-result-object v2
invoke-virtual {v2} Lcom/sms/SMS;->sendErr()V
goto/16 :label_22
switch_231:
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
sget-object v2 Lcom/sms/SMS;->actv:Landroid/app/Activity;
new-instance v3 Ljava/lang/StringBuilder;
const-string v4 "发送失败,无线广播被明确地关闭误错误码 :"
invoke-direct {v3,v4} Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v7} Lcom/sms/SMSReceiver;->getResultCode()I
move-result v4
invoke-virtual {v3,v4} Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v3
invoke-virtual {v3} Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v3
invoke-static {v2,v3,v5} Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
move-result-object v2
invoke-virtual {v2} Landroid/widget/Toast;->show()V
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
sput v6 Lcom/sms/SMS;->result:I
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
sget-object v2 Lcom/sms/SMS;->pdialog:Landroid/app/ProgressDialog;
invoke-virtual {v2} Landroid/app/ProgressDialog;->dismiss()V
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
move-result-object v2
invoke-virtual {v2} Lcom/sms/SMS;->sendErr()V
goto/16 :label_22
label_288:
.pswitch_data -/
-1 : switch_23
0 : switch_22
1 : switch_64
2 : switch_231
3 : switch_175
4 : switch_119
.end pswitch_data
看到上面的信息之后你要把成功的信息复制到另外几个地方
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
sget-object v2 Lcom/sms/SMS;->actv:Landroid/app/Activity;
const-string v3 "发送成功"
invoke-static {v2,v3,v5} Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
move-result-object v2
invoke-virtual {v2} Landroid/widget/Toast;->show()V
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
sget v2 Lcom/sms/SMS;->isonetiao:I
add-int/lit8 v2 v2 1
sput v2 Lcom/sms/SMS;->isonetiao:I
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
sget-byte v2 Lcom/sms/SMS;->smsIdsendnum:B
add-int/lit8 v2 v2 1
int-to-byte v2 v2
sput-byte v2 Lcom/sms/SMS;->smsIdsendnum:B
invoke-static {} Lcom/sms/SMS;->getInstance()Lcom/sms/SMS;
move-result-object v2
invoke-virtual {v2} Lcom/sms/SMS;->SmsResult()V
上面这是成功的信息
如图,复制这部分到下面因为各种原因失败的代码上
可以先试试这一条信息,因为这条是飞行模式或无卡的时候就会使用此条信息
之后打开游戏,不闪退,证明你成功了.....
此游戏教程结束,还有什么不明白或游戏可以再问我
好了该溜了再见