Decodeunicode

OllyDbg Plugin API

Decodeunicode

// Decodes UNICODE string that starts at address addr in the memory of debugged process into ASCII string s of length len. Returns length of resulting text, not including terminal '\0'.

int Decodeunicode(ulong addr,char *s,int len);

Parameters:

addr - address in the memory of debugged process where UNICODE string starts;

s - pointer to buffer of length at least TEXTLEN bytes where Decodeunicode places decoded string;

len - length of string s in bytes.

See also: Decodeascii, Decodeaddress, Decodecharacter