s_buttonTypeId
global · ui
- Address
0xcf4d88· 4 bytes, up to0xcf4d8b- Type
uint32_t- Meaning
- Holds the script type id of Button, assigned on first use
- Confidence
- verified, proof one
- Finding
- ui/button#construction-and-the-type
Finding: Construction and the type in ui: Button and CheckButton
The constructor builds the frame, zeroes the button's fields, sets the click mask to 0x100
(LeftButtonUp) and the pushed text offset to 0.001 and −0.001 in layout units, constructs the
three fonts, and enables the button, so a button starts NORMAL with no texture. It then calls
0x76af00(2, -1) on the frame. The type answers IsObjectType for its own id 0xcf4d88, the
frame's 0xcf0c10 and the region's 0xcf0c3c.
The derivation is in the doc.