benilla-re systems structs docs

SetCharSelectFacing

function · glue · orchestration

Address
0x4730e0 · 164 bytes, up to 0x473183
Signature
void __stdcall (float facing)
Meaning
Stores the facing and turns the selected character's model to it, once a model has been built
Confidence
verified, proof one
Finding
glue/selectscene#facing-reset

Finding: Facing reset in glue: the select scene

The select facing 0xb4217c, radians, is zeroed by every selection that passes the index test: 0x472a61 stores 0 before the built test 0x472a6d, and 0x47303f re-applies 0x4730e0(0) on both legs when the scene model exists. 0x4730e0 stores nothing until the build counter 0xb42178 is nonzero, a counter only the first build of a record raises and nothing clears. The create screen keeps its facing across rebuilds: 0x470b70 re-reads 0xb420f4 and re-applies it (0x470c33, 0x470c39), and only 0x470441 zeroes it. The two cells are never shared.

The derivation is in the doc.

Callers 2

Callees 1

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