benilla-re systems structs docs

OnAreaFileRead

function · terrain · orchestration

Address
0x6c21f0 · 53 bytes, up to 0x6c2224
Signature
void __thiscall (void *this)
Meaning
Parses a queued ADT read, releases the request and closes the file
Confidence
verified, proof one
Finding
terrain/files#tile-file-read

Finding: Tile file read in terrain: files

0x6c1e70(path) opens the ADT, takes its size into +0x67c and a buffer of that size into +0x678, and reads the whole file. During a map load it reads and parses at once under the critical section 0xce8270; otherwise it queues an asynchronous read of the whole file whose completion, 0x6c21f0, parses it, releases the request and closes the file. The pending request is kept in the WDT entry's second dword.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 3

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