benilla-re systems structs docs

RunMacroById

function · ui · primitive

Address
0x4f1460 · 98 bytes, up to 0x4f14c1
Signature
void __fastcall (uint32_t id)
Meaning
Finds a macro by id 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 1

Callees 1

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