InitWardenHandler
function · warden · orchestration
- Address
0x6ca2f0· 105 bytes, up to0x6ca358- Signature
bool __cdecl (void)- Meaning
- Shuts any module down, loads and starts the built-in module, registers the 0x2e6 handler
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- 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.
| address | holds |
|---|---|
0xce8954 | a dword, the service table 0x811434 |
0xce8958 | the critical section, 24 bytes |
0xce8974 | the pending module, a WardenModule or null |
0xce8978 | the active module, or null |
0xce897c | the active or starting module's object; its first dword is the module's table |
0xce8980 | the handover buffer's bytes, or null |
0xce8984 | the handover buffer's length |
0xce8988 | the time of the last tick, ms |
The derivation is in the doc.
Callers 1
Callees 7
- OsGetAsyncTimeMs core
- ClientServices::SetMessageHandler net
- SCritSect::Enter storm
- SCritSect::Leave storm
- ActivateNextModule warden
- LoadWardenModule warden
- ShutdownWardenHandler warden
Calls and jumps by a bare address, from tables/calls.tsv.