benilla-re systems structs docs

OnCharacterPointsChanged

function · ui · primitive

Address
0x4c7000 · 174 bytes, up to 0x4c70ad
Signature
uint32_t __stdcall (uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4)
Meaning
Signals CHARACTER_POINTS_CHANGED with the change of the two point counters
Confidence
verified, proof one
Finding
ui/talents#character-points

Finding: Character points in ui: talents

The player's two point counters (talent and profession points, the words at +0xe48 and +0xe4c of the player block) are watched: 0x4c6fb0 registers 0x4c7000 for them, and 0x4c7130 removes it. When they change, the callback signals CHARACTER_POINTS_CHANGED (264) with two numbers, the change of the first counter and of the second. The ammunition word is watched alongside (ui/inventory#alert-triggers).

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 3

Calls and jumps by a bare address, from tables/calls.tsv.