FreePendingModule
function · warden · orchestration
- Address
0x6ca250· 60 bytes, up to0x6ca28b- Signature
void __cdecl (void)- Meaning
- Unloads the pending module and frees its object
- Confidence
- verified, proof one
- 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
- ActivateNextModule warden
- ShutdownWardenHandler warden
- WardenLoadCachedModule warden
Callees 2
- SMemFree storm
- UnloadModuleImage os
Calls and jumps by a bare address, from tables/calls.tsv.