DWORD PeopleBase =0x9CD674;//天龙人物基址

//获取人物名称
char * CData::GetPeopleName()
{
    char * name="";
    _try
    {
        _asm
        {
            mov eax,PeopleBase
            mov eax,[eax]
            mov eax,[eax+0x70]
            mov eax,[eax+0x1ec]
            mov eax,[eax+0x4]
            add eax,0x34
            mov name,eax
        }
    }
    _except()
    {
        TRACE("读取人物名字出错");
    }     return name;
}
05-21 20:11