Sorry for the formatting errors or misrepresenting numbers.
highlighted value is the number of hotbar entries. All addresses after 0010 are variable based on number of entries in the hotbar.
0000:00 Is always 0200 0000?
0000:04 Count/size in bytes of the hotbar slot data
0000:08 always 0100 0000
0000:0C Number of entries in the hotbar This one has 0x5D or 93 entries which just appear to be one after another
first entry "/macro a.decoy &playfx 28000653"
0010:00 1 byte for hotbar, 1 byte for slot
0010:02 0400 0000 FFFF FFFF 4 words that I only see on /macro entries
0010:0A 0700 0000 dword length of the macro's name string
0020:0C 1000 0000 dword length of the content of the macro 16
0050:00 0001 hotbar 0, slot 1
0050:02 0400 0000 FFFF FFFF another /macro entry etc
Another one with 15 entries based on assumption that there are 15 "0400 0000 FFFF FFFF" entries because I filled up the hotbar with 15 /macro's
0000:04 empty hotbar takes up 2C bytes?
0000:0C even though 0 hotbar icons
I dragged two inventory icons into the hotbar one to bar/slot 3/3 (0202)
the other to bar/slot 4/5 (0304) in the pic above, zero based index'ing
0010:00 1 byte bar, 1 byte slot
0010:02 0200 0000 0400 0000 2 words for ???? and 2 words for inventory position
0010:0A E08C 0000 0000 0038 ??
0020:02 1 byte bar, 1 byte slot
0020:04 0200 0000 0600 0000 2 words for ???? and 2 words for inventory position (screenshot later)
0020:0C 3DA8 0000 0000 001C clothing identifiers?
the clothing entries in the hotbar both have 0200 0000, which could be a count or a type indicating clothing. The second dword is inventory location.
the last 4 words picture number and actual item number???
Same field highlighted but with hacker style and a gun for the freefire/ranged fire. Note the hat and shirt in position 4 and 6 of inventory and shotgun in position D. When putting the trenchcoat in the hotbar I got The value E as expected.
6 words @ 0020:08 0D00 0000 C81E 0000 0000 0024
and @ 0050:06 0D00 0080 C81E 0000 0000 0024
No clue what the 80 means (inventory equiped slot location? hand location? flags?)
0040:00 is 65, starting at 0040:00 there is exactly ox65 bytes left in the file. I see this across multiple cui.cfg's
0040:08 is 5100 0000 another end file constant
The end seems to have 0x51 bytes which look like 00 or 01 flags to me. I havne't tried changing any of them, but I noticed this is the reason the contents is always of an odd file size.
Ends in FFFF FFFF 0x00 0000 sometimes its a 0300 0000 othertimes a 0200 0000 Don't know what it means.
also
0000:04 is a count of data including itself 0x2c meaning the range of
04-2F
0030:00 has the value 0x10 meaning the range of
30-3f
0040:00 has the value 0x65 meaning the range of
40-A4
logic canon interlock fighting stance.
0010:0A 0001 (bar 1 slot 2)
0020:00 4B01 0000 logic canon 2 icon
0040:02 stance icon set to 4B01 0000 logic canon stance
The game appears to reject bad icons, simply incrementing 1100 to 1101
resets its interlock icon to 1100