benilla-re systems structs docs

WardenTakeBuffer

function · warden · host

Address
0x6ca960 · 112 bytes, up to 0x6ca9cf
Signature
bool __stdcall (void *destination, uint32_t *length)
Meaning
Copies out up to the length of the handover buffer, stores the count and frees it; service 6
Confidence
verified, proof one
Finding
warden/wire#the-handover-buffer
Test
warden::handover_buffer

Finding: The handover buffer in warden: the wire and the services

One buffer survives a module swap. Service 5 frees any buffer held and keeps a copy of the bytes it is given; service 6 gives out up to the caller's length and frees the whole buffer, so a short request discards the rest. Shutdown, and the start of a connection, free and clear it. No other code in this file reads it.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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