ClaimRect
function · ui · primitive
- Address
0x509660· 191 bytes, up to0x50971e- Signature
void __fastcall (int list, RECT *rect)- Meaning
- Appends a rectangle to a claim list, growing its array in steps
- Confidence
- verified, proof one
- Finding
- ui/smartrect#claim-lists
Finding: Claim lists in ui: the screen rectangle placement
Three lists of rectangles (ids 0 to 2) are kept at 0xbe0b8c, 16 bytes each: capacity, count,
array, a growth step. List 0 holds the nameplates and list 1 the combat text; list 2 is never
claimed into. Claiming appends a rectangle to the list; resetting sets the count to 0 and keeps the
array. The counts are zeroed at start-up (0x5094e0, called from 0x40166b) and again by the world scene
render: list 0 only in a frame whose [render+0x3f0] bit 0 is set (0x48363c), list 1 every frame.
The derivation is in the doc.
Callers 2
Callees 1
- 0x50a160 unassigned
Calls and jumps by a bare address, from tables/calls.tsv.