benilla-re systems structs docs

SaveMacroFiles

function · ui · primitive

Address
0x4f0aa0 · 447 bytes, up to 0x4f0c5e
Signature
void __fastcall (int localFile, int cacheFile, uint32_t scope)
Meaning
Writes a scope's records to its local and cache files
Confidence
verified, proof one
Finding
ui/macros#macro-files

Finding: Macro files in ui: macros

The account macros are written under WTF\Account\<account>\ and the character macros in a folder two levels below it, each scope in two files: macros-local.txt for macros whose local flag is set and macros-cache.txt for the rest. A file holds one block per macro: MACRO <id> "<name>" <icon>, one line per body line, and END, each ended by a carriage return and line feed. The save runs when the save flag 0xbdcbf8 is set.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

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