sgetu8
function · unassigned
- Address
0x41aab0· 256 bytes, up to0x41abaf- Meaning
- Decodes the UTF-8 code point at a string, storing the bytes read; -1 at a NUL, 0x80000000 for a bad sequence
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- net/who#who-filter-decoding
Finding: Who filter decoding in net: who
The copy is read as UTF-8, one code point at a time. A code point goes to the token as every byte the decoder read, so a broken sequence takes the byte that broke it, a space after a lone lead byte included, and a NUL inside a sequence ends the scan. White space is iswspace of the code point's low 16 bits: 0x09 to 0x0d and the space from the C table, nothing from 0x80 to 0xff (so not U+00A0), and from 0x100 on what Windows' GetStringTypeW says, such as U+3000. The overlong C0 A0 and U+10020 are spaces too.
The derivation is in the doc.
Callers 21
- 0x4048f0 unassigned
- 0x404930 unassigned
- 0x404970 unassigned
- RewriteInLanguage ui
- SplitSpellNameAndResolve ui
- IsValidBindingKey ui
- SetMacroBody ui
- FriendList::SendWhoQuery net
- GxuDetermineQuotedCode unassigned
- MeasureRunFixed font
- MeasureRunProportional font
- CGxFont::HasGlyphs font
- ParseCommand console
- ExpandGrammarEscapes ui
- CSimpleEditBox::OnInputLanguage ui
- CSimpleEditBox::Insert ui
- CSimpleEditBox::DeleteWordForward ui
- CSimpleEditBox::DeleteWordBack ui
- CSimpleEditBox::MoveForwardWord ui
- CSimpleEditBox::MoveBackWord ui
- CSimpleEditBox::Paste ui
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.