benilla-re systems structs docs

s_deletePatchAfterList

global · glue

Address
0xb42264 · 1 bytes, up to 0xb42264
Type
uint8_t
Meaning
Holds 1 when prepatch.lst asked to delete wow-patch.mpq; cleared by 0x4749f0, set by 0x474830
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.