benilla-re systems structs docs

BlitInteriorTarget

function · ui · primitive

Address
0x4ec440 · 1006 bytes, up to 0x4ec82d
Signature
void __thiscall (void *this, float radius, const float *offset, const uint32_t *colour)
Meaning
Draws the interior target through the circular mask as one quad shifted by the player movement
Confidence
verified, proof one
Finding
minimap/draw#interior-blit

Finding: Interior blit in minimap: draw

0x4ec440(radius, offset, colour) draws the interior target onto the frame as one quad of corners (+1, +1) and (-1, -1) scaled by half the radius, under an orthographic projection of the same half-extent. Stage 0 shows the target and stage 1 the circular mask, both with texture coordinates generated from the camera-space position. The target is read over its middle two thirds, which is a radius of the full radius in model units, shifted by the offset; the mask maps the whole quad to its extent.

The derivation is in the doc.

Callers 1

Callees 16

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