cnCalc计算器论坛

 找回密码
 注册
搜索
查看: 1311|回复: 0

[fx-9860/9750] APP_EnableRestart 这个函数作用不明 请大佬们帮忙看下

[复制链接]
发表于 2023-2-9 18:03:55 | 显示全部楼层 |阅读模式
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;
}

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|cnCalc计算器论坛

GMT+8, 2024-12-22 11:24 , Processed in 0.035493 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表