benilla-re systems structs docs

DownloadFileGetState

function · net · orchestration

Address
0x5b0b60 · 7 bytes, up to 0x5b0b66
Signature
uint32_t __thiscall (void *this)
Meaning
Returns a download file's state: 2 complete, 3 failed
Confidence
verified, proof one
Finding
net/download#download-file-object

Finding: Download file object in net: download

0x5b03f0 clears the object: +0 the file object, +0x134 whether the file is the .partial, +0x138 the state, +0x13c the error and +0x144 the bytes fed, then writes the kept trailer at +8: the magic DInf (0x44496e66), a zero dword, the expected MD5 at +0x10, the bytes received at +0x20 and the total at +0x28. The final path is at +0x30, 0x104 bytes. The state is 2 when complete and 3 when failed, with error 1 for a write or create, 2 for a resize, which stores the MiB it wanted at +0x148, and 3 for an abort.

The derivation is in the doc.

Callers 3

Callees 0

None by a direct call or jump.

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