benilla-re systems structs docs

MapObjNextChunk

function · models · orchestration

Address
0x6c3a00 · 17 bytes, up to 0x6c3a10
Meaning
Returns the chunk header at a cursor and advances the cursor by 8, without checking the tag
Confidence
verified, proof one
Finding
models/wmo#root-file-chunks

Finding: Root file chunks in models: map objects

A root file is parsed in a fixed chunk order without reading the tags: after the version chunk, MOHD, MOTX, MOMT, MOGN, MOGI, MOSB, MOPV, MOPT, MOPR, MOVV, MOVB, MOLT, MODS, MODN, MODD and MFOG follow one another, each pointer stored and each record count derived from the chunk size. Only the last, MCVP, is tested: it is taken when it lies inside the file and carries its tag.

chunkrecordchunkrecord
MOMT64 bytesMOVV12 bytes
MOGI32 bytesMOVB4 bytes
MOPV12 bytesMOLT48 bytes
MOPT20 bytesMODS32 bytes
MOPR8 bytesMODD40 bytes
MFOG48 bytesMCVP16 bytes

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.