APP_EnableRestart 这个函数作用不明 请大佬们帮忙看下
short*APP_EnableRestart(){
unsigned int ea;
unsigned int j;
short*pEnableRestartFlag;
ea = *(unsigned int*)0x8001007C;
ea += 0x0490*4;
if ( ea < 0x8001007C ) return 0;
if ( ea > 0x81000000 ) return 0;
ea = *(unsigned int*)( ea );
if ( ea < 0x8001007C ) return 0;
if ( ea > 0x81000000 ) return 0;
j = *(unsigned char*)( ea + 1 );
j *= 4;
ea = ( ea + j + 4 ) & 0xFFFFFFFC;
if ( ea < 0x8001007C ) return 0;
if ( ea > 0x81000000 ) return 0;
pEnableRestartFlag = (short*)(*( unsigned int*)( ea ) + 8 );
if ( ( (unsigned int)pEnableRestartFlag & 0xFF000000 ) != 0x88000000 ) return 0;
if ( pEnableRestartFlag ) *pEnableRestartFlag = 1;
return pEnableRestartFlag;
}
页:
[1]