benilla-re systems structs docs

ApplyPatch

function · glue · orchestration

Address
0x4749f0 · 191 bytes, up to 0x474aae
Signature
void __cdecl (void)
Meaning
Opens and checks wow-patch.mpq, runs its prepatch list, and quits on success or shows the failure dialog
Confidence
verified, proof one
Finding
glue/downloads#applying-the-patch

Finding: Applying the patch in glue: survey and patch downloads

PatchDownloadApply opens wow-patch.mpq as an archive, checks its signature, runs the archive's prepatch.lst, closes it, and on success quits the client with code 0, deleting the patch first when the list asked for it. Failure deletes wow-patch.mpq and shows the failure dialog: code 4 when the open failed with error 2, 5 for any other open failure or a signature result from 1 to 4, and 6 when a list command failed.

The derivation is in the doc.

Callers 1

Callees 8

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