benilla-re systems structs docs

RequestCreateCharacter

function · glue · orchestration

Address
0x4711d0 · 158 bytes, up to 0x47126d
Signature
void __fastcall (const char *name)
Meaning
Checks a name and sends the create request with nine character bytes, or opens the status dialog
Confidence
verified, proof one
Finding
glue/create#the-create-request

Finding: The create request in glue: character create

CreateCharacter(name) reads its argument with lua_tostring. A null name fails as CHAR_NAME_NO_NAME unchecked; otherwise the name check runs. A failure raises OPEN_STATUS_DIALOG with OKAY and the code's text and sends nothing. A pass copies the name into 48 bytes and nine bytes after it: race, class, sex, then the character's +0x24, +0x2c, +0x34, +0x20, +0x30 and 0, which glue's create call sends in that order as opcode 0x36.

The derivation is in the doc.

Callers 1

Callees 6

Calls and jumps by a bare address, from tables/calls.tsv.