DownloadFileClose
function · net · orchestration
- Address
0x5b0440· 8 bytes, up to0x5b0447- Signature
void __thiscall (void *this)- Meaning
- Closes a download file, keeping it on disk
- Confidence
- verified, proof one
- Finding
- net/download#releasing-a-download
Finding: Releasing a download in net: download
0x5b0450(delete, commit) takes the lock 0xc2a1a0, drops one reference from the file object and from each object its +4 chains to (0x5b04d0), deleting each whose count +8 reaches 0 through slot 0 with 1, and clears +0. It then deletes the file (0x5b04f0), or with commit, for a .partial, renames it to the final path (0x5b0570), which sets state 3, error 1 when the rename fails. 0x5b0550(delete) is the release without a commit and 0x5b0440 without either.
The derivation is in the doc.
Callers 6
- BeginSurveyDownload glue
- CancelSurveyDownload glue
- EndSurvey glue
- BeginPatchDownload glue
- CancelPatchDownload glue
- PollPatchDownload glue
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.