benilla-re systems structs docs

PropGet

function · base

Address
0x41db90 · 27 bytes, up to 0x41dbaa
Meaning
Returns element i of the calling thread's property array, 0 without an array
Confidence
verified, proof one
Name from
the community database (idb)
Finding
core/threads#thread-properties

Finding: Thread properties in core: process entry and threads

Each thread that runs a context carries a property array of 19 dwords. The TLS slot 0x883e68 holds its address. 0x41db50(array) stores the pointer in the slot, null clearing it; 0x41db60 returns it; 0x41db90(i) returns element i of the calling thread's array, 0 without one; 0x41dbb0(i, value) stores element i. 0x41db30 allocates an array and 0x41db70 frees one. The loop makes a context current by storing its array (+0x208) in the slot and its handle in element 0, and clears the slot after the tick; EventGetCurrentContext (0x41f6e0) returns element 0. 0x41dae0 creates the TLS slot and 0x41db00 frees it.

The derivation is in the doc.

Callers 24

Callees 1

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