benilla-re systems structs docs

ReadWardenBuffer

function · warden · orchestration

Address
0x6ca0c0 · 94 bytes, up to 0x6ca11d
Signature
void __thiscall (WardenBuffer *this, CDataStore *store)
Meaning
Reads a dword length and that many bytes from a data store into a new allocation
Confidence
verified, proof one
Finding
warden/cache#the-cache-record
Test
warden::record_reader, warden::record_reader_short_stores

Finding: The cache record in warden: the module cache

A WardenBuffer is stored as a dword length and then the bytes one at a time. The reader allocates the length and fills it byte by byte. A reader given a store that holds fewer than four bytes writes no length, and the length it uses is the store's own address, read from the slot that held the argument. A length longer than the rest of the store leaves the bytes past the end as the allocator gave them.

The derivation is in the doc.

Callers 2

Callees 3

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