benilla-re systems structs docs

s_buttonMouseClick

global · ui

Address
0xcf4da0 · 4 bytes, up to 0xcf4da3
Type
uint32_t
Meaning
Holds 1 while the mouse runs a button's click scripts
Confidence
verified, proof one
Finding
ui/button#running-a-click

Finding: Running a click in ui: Button and CheckButton

A click on an enabled button first calls the button's C++ listener, when it has one, then runs OnClick with the button's name as arg1: LeftButton, MiddleButton, RightButton, Button4, Button5, else UNKNOWN. A disabled button runs nothing. While the mouse runs a click the client sets a flag that marks it as coming from the hardware; Click() does not.

The derivation is in the doc.