benilla-re systems structs docs

s_wardenClient

global · warden

Address
0xce8954 · 4 bytes, up to 0xce8957
Type
WardenClient
Meaning
Holds the pointer to the service table; the object a module receives
Confidence
verified, proof one
Finding
warden/overview#globals-and-lifetime

Finding: Globals and lifetime in warden: overview

The state is eight globals and two structs. The table pointer 0xce8954 is the object a module receives; the lock 0xce8958 guards the rest. Static initializers build the lock and store the table pointer. The connect event runs InitWardenHandler, each frame runs the tick, and a disconnect, a failed connect or a Disconnect call runs ShutdownWardenHandler. No atexit entry unloads a module; Disconnect is reached from the client's stop handler through ClientServices::Destroy (0x5ab40a), and whether process exit takes that path is not read here.

addressholds
0xce8954a dword, the service table 0x811434
0xce8958the critical section, 24 bytes
0xce8974the pending module, a WardenModule or null
0xce8978the active module, or null
0xce897cthe active or starting module's object; its first dword is the module's table
0xce8980the handover buffer's bytes, or null
0xce8984the handover buffer's length
0xce8988the time of the last tick, ms

The derivation is in the doc.