CDataStore::PutCString
function · base
- Address
0x418430· 53 bytes, up to0x418464- Meaning
- Appends a C string and its NUL to a data store; a null string sets error 87
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- net/messages#data-store-writes
- Test
net::datastore_heap,net::datastore_inline,net::datastore_window
Finding: Data store writes in net: messages
Each write of n bytes at a position (the size for Put, an argument for Set) asks vtable slot 3 to move the window when the position is below the window or its end past it, ignores the answer, stores, and a Put adds n to the size. The plain store's slot 3 (0x417c30) makes the buffer the end rounded up to 256 bytes; the network store's (0x5bc6c0) starts in 1,024 bytes of its own at +0x18 and grows to exactly the end. PutArray writes chunks of at most the window. PutFloat passes the value through fld and fstp, so a signalling NaN is stored quiet. A null source with a nonzero count sets error 87.
The derivation is in the doc.
Callers 59
- PortCommand unassigned
- SendRenameCharacter glue
- Script::InviteByName ui
- Script::UninviteByName ui
- Script::GuildInviteByName ui
- Script::GuildUninviteByName ui
- Script::GuildPromoteByName ui
- Script::GuildDemoteByName ui
- Script::GuildSetLeaderByName ui
- Script::GuildSetMOTD ui
- SendSurvey ui
- ZoneChannelRefresh ui
- JoinChannel ui
- LeaveChannel ui
- Script::SendChatMessage ui
- Script::SendAddonMessage ui
- ChannelCommandOne ui
- Script::SetChannelPassword ui
- ChannelCommandTwo ui
- Script::SendMail ui
- Script::SetRaidSubgroup ui
- Script::SwapRaidSubgroup ui
- SendPetRename ui
- Script::QueryAuctionItems ui
- Script::GuildRosterSetPublicNote ui
- Script::GuildRosterSetOfficerNote ui
- Script::GuildControlSaveRank ui
- Script::GuildControlAddRank ui
- Script::SetGuildInfoText ui
- SelectGossipSlot ui
- SendLookingForGroupSlots ui
- Script::RenamePetition ui
- WriteAddonInfo ui
- 0x569570 dbcache
- 0x56a5f0 dbcache
- ClientConnection::CreateCharacter net
- SendWhoisRequest net
- FriendList::AddFriend net
- FriendList::SendWhoQuery net
- FriendList::AddOrDelIgnore net
- FriendList::AddIgnore net
- RealmConnection::HandleAuthChallenge net
- InviteByName objectlayer
- UninviteByName objectlayer
- SetAfk objectlayer
- ClearAfk objectlayer
- CreateGmTicket objectlayer
- UpdateGmTicketText objectlayer
- 0x6dbcf0 unassigned
- 0x6dc180 unassigned
- 0x6dc260 unassigned
- WritePetitionRecord unassigned
- CreatureStatsWrite dbcache
- 0x7c8740 dbcache
- 0x7c8da0 dbcache
- 0x7c9310 dbcache
- 0x7c9ee0 dbcache
- 0x7ca5f0 unassigned
- 0x7caba0 unassigned
Callees 3
- CDataStore::PutArray base
- SStrLen storm
- SErrSetLastError storm
Calls and jumps by a bare address, from tables/calls.tsv.