benilla-re systems structs docs

HttpGetAsync

function · client · orchestration

Address
0x7a6ee0 · 21 bytes, up to 0x7a6ef4
Signature
bool __fastcall (const char *url, void *callback, void *param)
Meaning
Starts a URL download with a 5000 ms connect and receive timeout
Confidence
verified, proof one
Finding
glue/manager#the-url-download

Finding: The URL download in glue: the manager

HttpGetAsync(url, callback, param) (0x7a6ee0) is StartUrlDownload(url, callback, param, 5000) (0x7a6cc0). That splits the URL into host, port and path, keeps the callback and param in a 0x38-byte context with four events, opens an asynchronous WinINet session as Blizzard Web Client with the system's proxy settings and the status callback 0x7a6b20, connects for HTTP, sets the connect and receive timeouts when above 0, and sends a GET of the path with flags 0x84000200 (reload, no cache write, no interface) and no headers. A connect or open that answers ERROR_IO_PENDING waits on an event without a limit. It returns 1 once the send is accepted or pending, else 0, freeing the context and leaving its handles open.

The derivation is in the doc.

Callers 1

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.