benilla-re systems structs docs

M2DecodeVertexShaderId

function · models · primitive

Address
0x70aff0 · 80 bytes, up to 0x70b03f
Meaning
Splits a vertex shader id into its seven mixed-radix digits
Confidence
verified, proof one
Finding
models/scene#vertex-shader-id-remap

Finding: Vertex shader id remap in models: the scene

A vertex shader id is seven mixed-radix digits (shared, Vertex shader id), most significant first with radices 5, 2, 2, 3, 3, 5 after a leading digit. When the cache mode has bit 8 or 0x10, the scene rewrites digit 1, the submesh's bone-weight count: to 4 under bit 8; under 0x10, to 4 when it was nonzero and 0 otherwise. The result is memoized per id.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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