benilla-re systems structs docs

s_regionMethodHash

global · ui

Address
0xcf54b4 · 40 bytes, up to 0xcf54db
Type
uint32_t[10]
Meaning
Holds the hash table of the Region methods
Confidence
verified, proof one
Finding
ui/methods#method-tables-and-lookup

Finding: Method tables and lookup in ui: the Frame and Region methods

The Frame methods are 68 pairs of a name and a function at 0x878ec0, from GetFrameType to SetBackdropBorderColor; the Region methods are 19 pairs at 0x87c9b8, from GetObjectType to ClearAllPoints. Each table is hashed by name into its own hash table, 0xcf4d38 and 0xcf54b4. A frame's slot 8 looks a name up in the Frame hash and, when it is not there, in the Region hash.

The derivation is in the doc.