benilla-re systems structs docs

RunMacroByName

function · ui · unreached

Address
0x4f14d0 · 12 bytes, up to 0x4f14db
Signature
void __fastcall (const char *name)
Meaning
Finds a macro by name and runs it
Confidence
verified, proof one
Finding
ui/macros#running-a-macro

Finding: Running a macro in ui: macros

0x4f1460(id) finds the record by id and runs it; an unknown id runs nothing. The runner splits the body on carriage returns and line feeds and signals EXECUTE_CHAT_LINE (392) once per nonempty line with the format %s and the line as the argument. Quotes are not special. The interface's chat frame handles that event by feeding the line to its edit box as if typed, so slash commands are the interface's and not the client's. Run by name has no caller.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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