ClearMacros
function · ui · primitive
- Address
0x4effb0· 219 bytes, up to0x4f008a- Signature
void __cdecl (void)- Meaning
- Frees every macro record and the icon list and zeroes the counts
- Confidence
- verified, proof one
- Finding
- ui/macros#macro-records
Finding: Macro records in ui: macros
A macro is a 0x56c-byte record. +0 and +0x18 hold its id, +4 and +0xc the links of the hash table and
the list, +0x1c its scope (0 account, 1 character), +0x20 its local flag, +0x24 the name (0x40 bytes),
+0x64 the icon basename (0x100), +0x164 the body, +0x564 the bound spell and +0x568 the book selector.
A scope holds at most 18 macros. Ids count up from 1 in the account scope and from 0x1000001 in the
character scope. The body holds at most 256 characters; a longer text is cut. A record is found by id
through a hash table or by name through the list.
The derivation is in the doc.
Callers 1
Callees 3
- Unlink4f1f00 ui
- LinkOrEnd4f2430 ui
- SMemFree storm
Calls and jumps by a bare address, from tables/calls.tsv.