GetNameCharsets
function · unassigned · primitive
- Address
0x6c9a70· 100 bytes, up to0x6c9ad3- Signature
void __fastcall (int32_t locale, uint32_t *primary, uint32_t *secondary)- Meaning
- Writes the primary and secondary name charsets of the region, or of the locale for a region outside 1 to 5
- Confidence
- verified, proof one
- Finding
- glue/enterworld#name-charsets
- Test
glue::name_charset_pair_difftest
Finding: Name charsets in glue: entering and leaving the world
A name is held to the charset of its first unit, the primary or secondary of 0x6c9a70(locale). A
region 0x86c9e0 of 1 to 5 picks its pair at 0x86c9e4: (1, 1), (2, 4), (1, 1), (3, 1), (3, 1).
Otherwise the primary is the locale's entry at 0x86ca0c, 1, 2, 1, 1, 3, 3, 1, 0, with entry 0 for a
zero entry or an index outside 0 to 7, and the secondary is 4 for koKR (index 1), else 1.
0x6c9dd0(unit, set) tests a UTF-16 unit against a set; a set not listed takes none:
| set | units |
|---|---|
| 1 | IsLatin1Letter (0x6c9c60) |
| 2 | the 2,350 syllables at 0x86ca30 (0x6c9d50) |
| 3 | U+4E00 to U+9FFF, U+3400 to U+4DFF, U+F900 to U+FAFF (0x6c9d80) |
| 4 | A to Z, a to z (0x6c9ce0) |
The derivation is in the doc.
Callers 1
- ValidateNameText unassigned
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.