benilla-re systems structs docs

SetRectFloats

function · ui · orchestration

Address
0x4ef370 · 32 bytes, up to 0x4ef38f
Meaning
Stores its four float arguments in order at the object in ecx and returns it
Confidence
verified, proof one
Finding
ui/minimap#two-small-helpers

Finding: Two small helpers in ui: Minimap, the widget

0x4ef370 stores its four float arguments in order in a 16-byte record and returns it. 0x4ead90(out, i, a, b, c, d) takes the pair of floats t0 and t1 of record i of a table of 24-byte records and writes out[0] = 2·(a − t1), out[1] = 2·(b − t0), out[2] = 2·(c − t1) and out[3] = 2·(d − t0). The rounding is uneven: outputs 0 and 3 are doubled from a difference rounded to float, outputs 1 and 2 from one held in a register.

The derivation is in the doc.

Callers 2

Callees 0

None by a direct call or jump.

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