AssignSharedString
function · base · primitive
- Address
0x41e3a0· 131 bytes, up to0x41e422- Signature
void __thiscall (void *this, const char *text)- Meaning
- Points a shared string handle at the pool's counted record of a text, or the null record for NULL
- Confidence
- verified, proof one
- Finding
- ui/fontstring#shared-path-strings
- Test
ui::assign_shared_string_difftest
Finding: Shared path strings in ui: FontString and Font
A font block's font path and a backdrop's two file names are shared strings: a handle whose +8
points at a counted record of a string pool. 0x41e3a0(handle, text) points it at a new text. A null
text takes the null record 0x883e78, whose text pointer is null: its count goes up, the old record
is released and the handle takes it. A text of 0x400 bytes or more, or no pool, raises error 0x57 and
leaves the handle as it was. Otherwise the pool's record for the text has its count raised, the old
record is released, and the handle takes the new one.
The derivation is in the doc.
Callers 14
- 0x41dd70 base
- 0x41e4d0 base
- 0x41e550 base
- 0x41e5b0 base
- 0x41e610 base
- CGChatBubbleFrame::CGChatBubbleFrame ui
- FontBlockMergeMasked ui
- FontBlockMerge ui
- Frame::SetBackdrop ui
- CSimpleBackdrop::CSimpleBackdrop ui
- CSimpleBackdrop::LoadXML ui
- CSimpleFont::CSimpleFont ui
- CFontObject::LoadXML ui
- SetFontFromArgs ui
Callees 4
- 0x41ddd0 base
- 0x41e030 base
- SStrLen storm
- SErrSetLastError storm
Calls and jumps by a bare address, from tables/calls.tsv.