ActivateNextModule
function · warden · orchestration
- Address
0x6ca1e0· 105 bytes, up to0x6ca248- Signature
bool __cdecl (void)- Meaning
- Replaces the active module with the pending one: unloads, calls its export 1, starts it with the session key
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- warden/wire#activating-a-module
Finding: Activating a module in warden: the wire and the services
ActivateNextModule does nothing when no module is pending. Otherwise it unloads the active module, looks up
the pending module's export 1, calls it, and calls slot 0 of the object it returns with the session key. It then
makes the pending module active and empties the pending slot, returning 1. A null entry or object frees the
pending module and returns 0, leaving no active module. The old module is unloaded first, so a failure
leaves none. It runs from InitWardenHandler, and after each tick and each packet only while a module is active.
The derivation is in the doc.
Callers 3
- WardenTick warden
- InitWardenHandler warden
- HandleWardenDataPacket warden
Callees 5
- NetClient::GetSessionKey net
- ClientServices::GetCurrent net
- FreePendingModule warden
- UnloadActiveModule warden
- GetModuleExport os
Calls and jumps by a bare address, from tables/calls.tsv.