benilla-re systems structs docs

s_languagesStore

global · dbc

Address
0xc0db40 · 20 bytes, up to 0xc0db53
Type
uint32_t[5]
Meaning
Holds the Languages.dbc store: records, count, id map, max id and loaded flag
Confidence
verified, proof one
Finding
ui/chatlanguage#languagewords-and-languages

Finding: LanguageWords and Languages in ui: languages in chat

LanguageWords rows are 12 bytes: +0x00 id, +0x04 the language id, +0x08 the word (a string block offset made a pointer). Languages rows are 40 bytes: +0x00 id, +0x04 plus 4 times the locale the name, +0x24 name flags. Both loaders assert their field count (3 and 10) and record size (0x0c and 0x28). The rewrite reads only LanguageWords; the language names, shown to Lua and in lists, read only Languages.

The derivation is in the doc.