Mac COMCALLBACK_CompareUserNames: int __fastcall (char* szName1 ECX, char* szName2 EDX)
ECX -> ESI and EDX -> EDI are two user-name strings. For each it calls strchr(name, '*') (0x0030b3fc with 0x2a) and steps past the '*' realm separator if one is present, then passes both to the case-insensitive compare 0x0030b402, whose int result is the function's EAX. There are no stack-arg reads. Callers: COMCALLBACK_CreateChannelUserEntry 0x002d75ab and COMCALLBACK_RemoveUserFromChannelList 0x002d5abd (a list search). There is no Windows symbol with this name.
Changes 1, applied together
Set prototype
mac 0x002d7520signatureundefined COMCALLBACK_CompareUserNames(void)→int COMCALLBACK_CompareUserNames(char* szName1, char* szName2)conventionunknown→__fastcall