Mac COMCALLBACK_Unused3: BOOL __cdecl (dwStatusFlags, dwCbArg2, char* szUsername, uint* pCharData)
Resubmit of #1325 with arg3 and arg4 swapped, as the reviewer asked. 0x002d58a0-a6 load ECX=[EBP+0x10] (username) and EDX=[EBP+0x14] (char data) for CreateChannelUserEntry(szUsername, pCharData), and 0x002d58c7 prints [EBP+0x10] as the name. [EBP+8] holds the flags and [EBP+0xc] is unused. MOV EAX,1 / RET. Slot [2] of the callback table at 0x003ce678.
Changes 1, applied together
Set prototype
mac 0x002d587esignatureundefined COMCALLBACK_Unused3(void)→BOOL COMCALLBACK_Unused3(uint32_t dwStatusFlags, uint32_t dwCbArg2, char* szUsername, uint* pCharData)conventionunknown→__cdecl