Script::CreateCharacter
function · glue · orchestration
- Address
0x4719e0· 52 bytes, up to0x471a13- Signature
int __fastcall (lua_State *L)- Meaning
- Sends the create request for the name argument, or opens the status dialog when the name fails
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- 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 0
None by a direct call or jump.
Callees 3
- RequestCreateCharacter glue
- lua_isstring lua
- lua_tostring lua
Calls and jumps by a bare address, from tables/calls.tsv.