benilla-re systems structs docs

s_hexDigitValue

global · os

Address
0x801490 · 256 bytes, up to 0x80158f
Type
const uint8_t[256]
Meaning
Holds each byte's hex digit value: 0 to 15 for 0-9, A-F and a-f, and 0 for every other byte
Confidence
verified, proof two
Finding
net/connection#opening-a-url

Finding: Opening a URL in net: connection

OpenUrlInBrowser(url) (0x429ff0) returns 0 for a null or empty URL, with no active window, and for 0x400 bytes or more (error 0x57). It copies the URL decoding escapes: %ab becomes T[a] << 4 | T[b] in 8 bits, T the table 0x801490 indexed by the signed byte, so a byte from 0x80 up reads the 128 bytes before the table; a % with fewer than two bytes left ends the copy. It returns 1 when ShellExecuteA(window, "open", copy, NULL, NULL, 1) gives above 32. Otherwise, unless the undecoded URL begins exactly file://, it creates an empty temp-folder TempHTMLFile<ms in hex>.html, asks FindExecutableA for its program, deletes the file, and returns 1 when that program, given the copy, gives above 32.

The derivation is in the doc.