benilla-re systems structs docs

GlueReleaseCritSect

function · glue · orchestration

Address
0x46a3f0 · 10 bytes, up to 0x46a3f9
Signature
void __cdecl (void)
Meaning
Deletes the critical section at 0xb414cc by a tail call to 0x6579a0
Confidence
verified, proof one
Finding
glue/layout#file-specific-initializers

Finding: File-specific initializers in glue: layout

Seven initializers set up glue's own globals, each a call and jmp thunk whose jmp registers an exit handler: the list at 0xb41d70, made empty and unlinked at exit without freeing; the critical section 0xb414cc, built and deleted; the realm category array 0xb41f74, zeroed and freed; the create screen's globals from 0xb42078, zeroed, with the create model destroyed and the class list freed at exit; the four dwords from 0xb42058, zeroed and their array freed; the name generator at 0xb420b8, built and its two arrays freed; and the character roster 0xb4213c, zeroed, with each record destroyed and the roster freed at exit. Each exit handler runs once, guarded by a bit it sets.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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