benilla-re systems structs docs

s_chrClassesPtrTag

global · glue

Address
0x8383d0 · 20 bytes, up to 0x8383e3
Type
char[20]
Meaning
Holds the allocation tag of the class pointer arrays, named for ChrClassesRec pointers
Confidence
verified, proof one
Finding
glue/select#growable-array-helpers

Finding: Growable array helpers in glue: character select

0x471ec0(n) returns a growable array's chunk: 64 for n ≥ 64, also stored at +0x0c; else the largest power of two not above n, or 1 for 0. 0x471f00(n, chunk) returns n rounded up to a multiple of the chunk, unsigned. Nine call sites in other systems grow their arrays with them. 0x471e30 and 0x46f550 set a pointer array's capacity to n: reallocate, or allocate, copy min(n, count) and free. 0x46f510 frees a RealmCategory array's storage, and the array when bit 0 of its argument is set. 0x46f9e0 builds the 16-byte base, vtable 0x803820 and three zero words, of the login listener object.

The derivation is in the doc.