benilla-re systems structs docs

s_charRenameFailedKey

global · glue

Address
0x83711c · 19 bytes, up to 0x83712e
Type
char[19]
Meaning
Holds CHAR_RENAME_FAILED, the rename failure text key
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.