Examples:
Spoiler
[Press L to turn mystery island villager into Audie]
80000040
08100000 3F292AC4 00000032 316C6F77
04100000 3F292BD4 00000022
20000000
[Press L to turn mystery island villager into Raymond]
80000040
08100000 3F292AC4 00000033 32746163
04100000 3F292BD4 00000004
20000000
The format for arbitrary villager is:
Spoiler
[Press L to turn mystery island villager into ?]
80000040
08100000 3F292AC4 000000XX XXXXXXXX
04100000 3F292BD4 000000YY
20000000
XX = Villager identifier. This can be found in NHSE, for example raymond is "cat23".
cat23 is ascii string 63 61 74 32 33, but the cheat stores the value backwards (due to endianness), so the XX becomes
00000033 32746163.
The YY is the species value, also visible in NHSE. Cat is species 4, so YY is 04.