benilla-re systems structs docs

CreateMiniArrowModel

function · ui · primitive

Address
0x4a7b80 · 148 bytes, up to 0x4a7c13
Meaning
Creates the battleground minimap's arrow model once and sets its scale to G48 times 10/9
Confidence
verified, proof one
Finding
ui/worldmapmarkers#the-arrow-frame
Test
ui::glue_4a6_4a7a80_4a7b20_4a7b80_fmul_scales

Finding: The arrow frame in ui: world map arrows and battleground markers

CreateWorldMapArrowFrame(parent) and CreateMiniWorldMapArrowFrame(parent) make one model widget each, once: a 0x3dc-byte Model frame under the given frame, loaded with the minimap arrow model, kept in 0xb6e6b8 (world map) and 0xb6e6bc (battleground minimap). A second call changes nothing, even with another parent. The model scale is the screen height scale times 5/3 for the world map and 10/9 for the minimap. Both raise Usage: CreateWorldMapArrowFrame(parent) (and the mini form) for a non-table argument, and an error when the table has no frame object or a wrong type.

The derivation is in the doc.

Callers 1

Callees 5

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