benilla-re systems structs docs

s_eventCount

global · ui

Address
0xceef64 · 4 bytes, up to 0xceef67
Type
uint32_t
Meaning
Holds the number of event records
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.