Just FYI, if somehow you want to use old Mii then the MiiID may not start with 94 (i.e. you cannot find this number in your CFL_DB.dat file).
Here is a simple tutorial how to find the location of your MiiID of interest along with the disabling sharing bit location as well (I use the same two Miis information from the first posting, see the first hex-editor picture):
MiiID is a 4-byte number
MiiID offset start at byte = 92 x (MiiOrder - 1) + 20
Examples:
1st Mii (MiiOrder = 1)
MiiID start at = 92 x (1 - 1) + 20 = 20 = 0x14 (row 0x10, column 0x04) --> 94 BD 74 9E
2nd Mii (MiiOrder = 2)
MiiID start at = 92 x (2 - 1) + 20 = 112 = 0x70 (row 0x70, column 0x00) --> 94 BD 80 02
Just for checking, after MiiID, you could see the 3ds MAC address, e.g. CC FB 65 31 62 F4 (for these two Miis).
And from MiiID, we actually could calculate the exact time/date when that Mii is created.
Examples:
1st Mii (0x94BD749E & 0x0FFFFFFF) * 2 = (0x04BD749E) * 2 = 0x097AE93C = 159050044 seconds.
159050044 seconds + 1262304000 seconds (adding this for getting back to 1/1/1970 00:00:00) = 1421354044 seconds or Thu, 15 Jan 2015 20:34:04 GMT (using
http://www.onlineconversion.com/unix_time.htm).
2nd Mii (0x94BD8002 & 0x0FFFFFFF) * 2 = (0x04BD8002) * 2 = 0x097B0004 = 159055876 seconds.
159055876 seconds + 1262304000 seconds (adding this for getting back to 1/1/1970 00:00:00) = 1421359876 seconds or Thu, 15 Jan 2015 22:11:16 GMT.
From these examples, we could see that older Mii may have MiiID starts with a number different than 94. To make older Mii to have gold pants just changing from the first number in the first byte of MiiID to 1 (e.g. 93 to 13, 92 to 12, etc).
Disable sharing bit located at byte = 92 x (MiiOrder - 1) + 56
Examples:
1st Mii (MiiOrder = 1)
Disable sharing bit is located at byte = 92 x (1 - 1) + 56 = 56 = 0x38 (row 0x30, column 0x08) --> 01
2nd Mii (MiiOrder = 2)
Disable sharing bit is located at byte = 92 x (2 - 1) + 56 = 148 = 0x94 (row 0x90, column 0x04) --> 01
We could see that both Miis have already disable sharing bit set (i.e. they are already an odd number).
Hope that helps.