benilla-re systems structs docs

s_areaWithParentFormat

global · terrain

Address
0x868610 · 7 bytes, up to 0x868616
Type
char[7]
Meaning
Holds the format "%s, %s" of an area name followed by its parent's
Confidence
verified, proof one
Finding
terrain/zones#area-name-format

Finding: Area name format in terrain: zones

0x67e460(area, out, size, withParent) writes an area's name for the locale into out, at most size bytes with the terminator. With withParent set and a parent row, the text is name, parent, formatted %s, %s; otherwise it is the name alone. It returns 1, or 0 with nothing written for a null out or a size of 0, and 0 with out emptied for an id below 0, above the highest id or without a row. A parent of 0, out of range or without a row gives the name alone.

The derivation is in the doc.