benilla-re systems structs docs

s_eventRecords

global · ui

Address
0xceef68 · 4 bytes, up to 0xceef6b
Type
void *
Meaning
Points to the event records, 0x10 bytes each: name and listener list
Confidence
verified, proof two
Finding
ui/script#the-event-table

Finding: The event table in ui: the script layer and events

The event names are an array of 0x10-byte records at 0xceef68, counted by 0xceef64: the name, and a list of listener nodes, each holding one script object. Installing a new table frees the old records' names and unlinks their listener nodes without freeing them, allocates the new array and copies each name. An event is signalled by its index into this array.

The derivation is in the doc.