benilla-re systems structs docs

CopyWardenId

function · warden · orchestration

Address
0x6ca810 · 38 bytes, up to 0x6ca835
Signature
uint32_t * __thiscall (uint32_t *this, const uint32_t *id)
Meaning
Copies a 16-byte id of four dwords
Confidence
verified, proof two
Finding
warden/wire#the-service-table

Finding: The service table in warden: the wire and the services

The module receives 0xce8954, whose dword points at the table 0x811434: seven stdcall services, in this order. The service functions take no lock and none reads ecx before writing it, so what a module passes there is unused. A service called from inside a module slot runs under the client's lock, which every call into a slot holds (inferred: a call from another thread would run without it).

slotfunctionargumentsdoes
00x6ca6a0bytes, lengthsends the bytes as message 0x2e7
10x6ca770id16, key16looks the 16-byte id up in the cache; if found, frees the pending module and decodes the record with the key into the pending slot; returns whether it did
20x6ca840id16, bytes, lengthremoves the id's record, then stores a copy of the bytes under it
30x6ca8c0sizeallocates, returns the pointer
40x6ca8e0pointerfrees
50x6ca900bytes, lengthreplaces the handover buffer with a copy
60x6ca960destination, length pointercopies out up to the length, stores the count, frees the buffer; returns 0 with no buffer

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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