benilla-re systems structs docs

CenterArrowModel

function · ui · primitive

Address
0x4a7b20 · 87 bytes, up to 0x4a7b76
Meaning
Centres an arrow model in its own rectangle: half its width and height, zero depth
Confidence
verified, proof one
Finding
ui/worldmapmarkers#updating-and-showing-the-arrows
Test
ui::glue_4a6_4a7a80_4a7b20_4a7b80_fmul_scales

Finding: Updating and showing the arrows in ui: world map arrows and battleground markers

UpdateWorldMapArrowFrames() does two things for each arrow whose model is loaded: it centres the model in its own rectangle (0x4a7b20 stores half the width, half the height and 0 at +0x390), and it copies the facing of the camera's followed object into the model at +0x39c. With no object the facing is unchanged. ShowWorldMapArrowFrame([shown]) and the mini form show or hide the model exactly as Frame:Show and Frame:Hide do, with no argument meaning show; with no arrow they do nothing. None of the functions pushes a value.

The derivation is in the doc.

Callers 3

Callees 0

None by a direct call or jump.

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