楼主大大,能把那个ChinaBillingCallBack文件分析地清楚一点吗?为什么跳过cond_0就能破解成功,那个java伪代码,我看得好久都无法理解它的逻辑。。
下面是ChinaBillingCallBack文件的java伪代码
[Java] 纯文本查看 复制代码 package com.mygamez.billing;
import cn.cmgame.billing.api.GameInterface.IPayCallback;
import com.mygamez.common.Log;
public class ChinaBillingPayCallback
extends AbstractChinaBillingPayCallback
{
public ChinaBillingPayCallback(IChinaBillingListener paramIChinaBillingListener)
{
super(paramIChinaBillingListener);
}
public GameInterface.IPayCallback getCallBack(final String paramString)
{
new GameInterface.IPayCallback()
{
public void onResult(int paramAnonymousInt, String paramAnonymousString, Object paramAnonymousObject)
{
int i = paramAnonymousInt;
if (paramAnonymousInt == 1) {
i = 1;
}
for (;;)
{
BillingResult localBillingResult = new BillingResult();
localBillingResult.setResultCode(i);
localBillingResult.setBillingIndex(paramString);
localBillingResult.setReturningObject(paramAnonymousObject);
localBillingResult.setCode(paramAnonymousString);
Log.i("MySDK Billing Java", "CMCC object toString(): " + paramAnonymousObject.toString());
Log.i("MySDK Billing Java", "CMCC result: " + localBillingResult.toJSON());
ChinaBillingPayCallback.this.launchResultReceived(localBillingResult);
return;
if (paramAnonymousInt == 3) {
i = 3;
} else if (paramAnonymousInt == 2) {
i = 2;
} else if (paramAnonymousInt == 0) {
i = 0;
}
}
}
};
}
} |