代码拉取完成,页面将自动刷新
#include <stdio.h>
#include <stdbool.h>
int g_bigDataStruct[10];
int g_commonBitStruct[10];
int MainRunOnceInitStep(int a);
int g_commonStruct;
int main() {
MainRunOnceInitStep(-9999);
return 0;
}
int MainRunOnceInitStep(int a1) {
int v2; // r0
int v3; // r1
__int16 v4; // r11
unsigned int v5; // r0
bool v6; // zf
int v7; // r0
v2 = a1 + 15000;
v3 = a1;
v4 = 8;
if ( a1 == -15000 )
goto LABEL_25;
if ( a1 > -15000 ) {
if ( a1 == -14000 ) {
LABEL_33:
/*MCUBspInit4_UserCodeInit(0, v3);
g_bigDataStruct[3] = 0;
g_bigDataStruct[4] = 0;
if ( (MEMORY[0x40004C0C] & 0x2000) != 0 )
WriteUart4((char *)&g_commonStruct + 298, 32, (char *)&g_commonStruct + 90, 48);
g_commonBitStruct[5] = 13;
EepromProc(0, 768, 1920);*/
printf("LABEL_33\n");
if ( a1 != -9999 )
return 0;
} else if ( a1 != -13000 ) {
v6 = a1 == -9999;
if ( a1 != -9999 )
goto LABEL_7;
LABEL_13:
/*((_WORD *)&g_commonStruct + 19) = 16;
g_commonBitStruct[29] = 8;
MCUBspInit1();*/
printf("LABEL_13\n");
v6 = a1 == -9999;
if ( a1 != -9999 )
goto LABEL_7;
LABEL_14:
v5 = 10;//PwrOnReadPara_short(0, v3);
v6 = a1 == -9999;
goto LABEL_15;
}
printf("LABEL_14\n");
/*g_commonBitStruct[29] = 0;
if ( (word_FDA0 & 0x2000) != 0 ) {
PxOutPP_IPU(0, 48);
MEMORY[0x40021018] = 512;
ClrScreen(0);
PutString(0, 0, "Connector Train");
PutString(0, 2, " ");
PutString(0, 4, " IFE&&PU1 ");
PutString(0, 6, " ");
g_commonStruct = 100;
while ( g_commonStruct )
;
g_time_count = 0;
*((_BYTE *)&g_time_count + 4) = 0;
g_okng_count[0] = 0;
g_okng_count[1] = 0;
do {
if ( g_commonBitStruct[112] && g_commonBitStruct[110] )
*((_BYTE *)&g_time_count + 4) |= 0x80u;
if ( (*((_BYTE *)&g_time_count + 4) & 0x80) != 0 )
break;
EepromProc(1, 768, 1920);
if ( *((_WORD *)&g_commonStruct + 171) && !g_commonBitStruct[5] ) {
PCcommandProc();
*((_WORD *)&g_commonStruct + 171) = 0;
}
} while ( *((unsigned __int8 *)&g_commonStruct + 34) >= 0x10u );
g_commonBitStruct[30] = 1;
ClrScreen(0);
SetWhite(0, 0, 15);
SetWhite(0, 1, 15);
SetWhite(0, 2, 15);
SetWhite(0, 3, 15);
}*/
return 0;
}
if ( v2 == -4000 )
goto LABEL_13;
v5 = v2 + 3000;
if ( !v5 )
goto LABEL_14;
if ( v5 == 1000 )
goto LABEL_17;
v6 = v5 == 2000;
LABEL_7:
while ( v6 ) {
while ( 1 ) {
printf("LABEL_7\n");
/*g_zhiSysStruct &= 0xDFu;
MEMORY[0x4002081A] = v4;
USART_Cmd(1073811456, 1);
ResetBuffSWB(1, 0);
v7 = DAC2_PinControl(3299);
LCD_Init(v7);
ClrScreen(0);
PutString(0, 6, sub_2668);
Up1Kn(0);
v4 = 17944;
g_bigDataStruct[3] = GetADXmSVal(10, 5, 100) <= 1000 ? 0 : 0x474618u / a1 + 0x8000;
g_bigDataStruct[4] = GetADXmSVal(10, 6, 100) <= 1000 ? 0 : 0x474618u / a1 + 0x8000;*/
v6 = a1 == -9999;
if ( a1 != -9999 )
break;
LABEL_25:
//BspInit3_USBeeprom(768, 1920);
printf("LABEL_25\n");
v5 = 20;//g_registerStruct[47];
v3 = v5 - 1000;
if ( v5 - 1000 <= 0xBB8 ) {
v3 = 2510;
/*if ( (g_bigDataStruct[3] & 0x8000) != 0 ) {
g_bigDataStruct[3] &= 0xFFFF7FFF;
g_bigDataStruct[3] *= v5;
g_bigDataStruct[3] /= 0x9CEu;
}
if ( (g_bigDataStruct[4] & 0x8000) != 0 ) {
g_bigDataStruct[4] &= 0xFFFF7FFF;
g_bigDataStruct[4] *= v5;
v5 = g_bigDataStruct[4] / 0x9CEu;
g_bigDataStruct[4] = v5;
}*/
}
v6 = a1 == -9999;
if ( a1 == -9999 )
goto LABEL_33;
LABEL_15:
printf("LABEL_15\n");
if ( !v6 )
goto LABEL_7;
LABEL_17:
printf("LABEL_17\n");
//MCUBspInit2(v5);
v6 = a1 == -9999;
if ( a1 != -9999 )
goto LABEL_7;
}
}
return 0;
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。