@yuzukitsuru
找到个这个函数,是R528里面的,id_judge_fun,有谁发现什么机关,需要找多个平台的id_judge_fun函数来对比,估计才能看出名堂。
uint id_judge_fun(uint param_1)
{
uint uVar1;
if ((_DAT_01c15004 & 7) == 0) {
uVar1 = disturb_coding(param_1,1);
return uVar1;
}
return 0;
}
uint disturb_coding(uint param_1,int param_2)
{
int iVar1;
iVar1 = crc_16(param_1,param_2);
return param_1 + param_2 | iVar1 << 0x10;
}
void crc_16(uint param_1,int param_2)
{
uint uVar1;
uint uVar2;
short sVar3;
uVar1 = param_1 ^ param_2 << 8;
sVar3 = 8;
do {
uVar2 = uVar1 & 0x8000;
uVar1 = (uVar1 & 0x7fff) << 1;
if (uVar2 != 0) {
uVar1 = (uVar1 ^ 0xffff8005) & 0xffff;
}
sVar3 = sVar3 + -1;
} while (sVar3 != 0);
return;
}