HandleCharRenamePacket
function · glue · orchestration
- Address
0x46b440· 187 bytes, up to0x46b4fa- Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)- Meaning
- Handles the rename reply: closes the dialog, renames the record on success, else fires FORCE_RENAME_CHARACTER
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- 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 0
None by a direct call or jump.
Callees 7
- CDataStore::GetUInt8 base
- CDataStore::GetGuid base
- CDataStore::GetCString base
- ApplyCharacterRename glue
- GetStatusCodeToken net
- FrameScript_SignalEvent ui
- FrameScript_SignalEvent2 ui
Calls and jumps by a bare address, from tables/calls.tsv.