_toupper
function · crt · primitive
- Address
0x41089b· 111 bytes, up to0x410909- Signature
int32_t __cdecl (int32_t c)- Meaning
- Subtracts 0x20 from a to z while the locale word 0x883b08 is 0, every other value unchanged
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- crt/ctype#upper-case
- Test
crt::crt_toupper_difftest
Finding: Upper case in crt: characters
toupper(c) answers c − 0x20 for a to z and c for every other int, while the locale word
is 0. With it set it would take the locale lock and call 0x41090a, which is not read here.
The derivation is in the doc.
Callers 13
- _strtoxl crt
- GenerateRandomName glue
- Script::SetConsoleKey ui
- CGGameUI::ConsiderNameMatch ui
- AppendCasedWord ui
- 0x58bc20 gx
- 0x64a500 storm
- 0x652930 storm
- SFileHashString storm
- ArchiveLookup storm
- ArchiveLoadTables storm
- SFileOpenFileInArchives storm
- __getdrive crt
Callees 3
Calls and jumps by a bare address, from tables/calls.tsv.