benilla-re systems structs docs

PushRectDown

function · ui · primitive

Address
0x5093c0 · 81 bytes, up to 0x509410
Signature
RECT * __fastcall (RECT *out, int list, int32_t left, int32_t top, int32_t right, int32_t bottom)
Meaning
Moves the rectangle down until it rests under the first claimed rectangle it overlaps
Confidence
verified, proof one
Finding
ui/smartrect#pushes-and-the-overlap-test

Finding: Pushes and the overlap test in ui: the screen rectangle placement

A push moves a rectangle in one direction by the depth of the first claimed rectangle it overlaps, so it lands edge to edge with it, and does nothing when it overlaps none. Overlap is strict: touching rectangles do not overlap, and no gap is added.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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