benilla-re systems structs docs

ClearLooseIndex

function · storm · orchestration

Address
0x646fc0 · 120 bytes, up to 0x647037
Signature
void __cdecl (void)
Meaning
Empties the loose-file index and clears its built byte, so the next open builds it again
Confidence
verified, proof two
Finding
storm/mount#index-lifetime

Finding: Index lifetime in storm: mounting the archives

The index lives from the first open that reaches 0x647e60 until 0x646fc0 empties it and clears the built byte; the next open builds it again. The client calls 0x646fc0 when it has written a saved-variables file (0x491865, 0x51fa31) or a character's AddOns.txt (0x51f09d), or moved loose interface folders aside (0x51fbe3); Storm's shutdown 0x648d10 empties it too. A file added in between is not found until the next build; one removed in between is found and fails to open. 0x647040, which nothing calls, empties the index and marks it built.

The derivation is in the doc.

Callers 4

Callees 1

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