SendRenameCharacter
function · glue · orchestration
- Address
0x46b340· 256 bytes, up to0x46b43f- Signature
uint32_t __fastcall (const char *name, uint64_t guid)- Meaning
- Checks a new name and sends the rename request in state 7; returns 0 when the name check fails, else 1
- Confidence
- verified, proof one
- Finding
- glue/flow#rename-request-and-reply
Finding: Rename request and reply in glue: the screen flow
0x46b340 (name in ecx, guid on the stack) returns 1 without acting for a zero guid or an empty
name. A name the check 0x5abd50 does not pass as CHAR_NAME_SUCCESS (0x52) fires
FORCE_RENAME_CHARACTER (23) with that status's token and returns 0. Otherwise it enters state 7,
opens CANCEL with CHAR_RENAME_IN_PROGRESS, sends opcode 0x2c7 with the 8-byte guid and the
name with its terminator, and returns 1. HandleCharRenamePacket (0x46b440), opcode 0x2c8's
handler, reads a result byte, then a guid and a name of at most 48 bytes only while bytes remain. It
closes the dialog, leaving the state; result 0 renames the record (0x4725f0), 0x31 fires 23 with
CHAR_CREATE_NAME_IN_USE, any other with CHAR_RENAME_FAILED.
The derivation is in the doc.
Callers 1
Callees 8
- CDataStore::PutUInt32 base
- CDataStore::PutGuid base
- CDataStore::PutCString base
- ClientServices::Send net
- GetStatusCodeToken net
- CheckCharacterName net
- FrameScript_GetText ui
- FrameScript_SignalEvent2 ui
Calls and jumps by a bare address, from tables/calls.tsv.