benilla-re systems structs docs

ArmAccountDataSaveTimer

function · net · orchestration

Address
0x5aff40 · 35 bytes, up to 0x5aff62
Signature
void __fastcall (uint32_t index)
Meaning
Restarts a section's 30-second save timer
Confidence
verified, proof one
Finding
net/accountdata#section-reads-and-writes

Finding: Section reads and writes in net: account data

0x5afe50(section, callback, argument) runs callback(file, file2, argument) on the section's opened +4 and +8 files while the section is not pending, and closes them after; while it is pending the callback and argument are stored and the call returns. 0x5afed0(section, writer, argument) does the same with both files opened for writing, then restarts the section's 30-second save timer, and does nothing while the section is pending. A section without a +4 file passes -1 for it. When the timer fires, 0x5afd70 hashes the file and, if the digest differs from the cached one, uploads it, stores the digest and saves cache.md5. 0x5afd30 runs every armed timer at once and is called before a logout request.

The derivation is in the doc.

Callers 1

Callees 2

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