Mac COMCALLBACK_Unused3: BOOL __cdecl (dwStatusFlags, dwCbArg2, uint* pCharData, char* szUsername)
This is a slot in a 24-entry callback table (0x003ce678, entry [2]), taking the same four callback args as the Windows twin 0x004493c0 (dwStatusFlags, dwCbArg2, pCharData, username; BOOL). The Mac body reads [EBP+8] (the flags, passed as [ESP] to COMCALLBACK_CreateChannelUserEntry 0x002d7573), [EBP+0x10] (-> ECX) and [EBP+0x14] (-> EDX); [EBP+0xc] is the unused second callback arg, kept for the slot. It returns MOV EAX,1 with a plain RET. The username is typed char* szUsername because the psz prefix on uint* is refused.
Changes 1, applied together
Set prototype
mac 0x002d587esignatureundefined COMCALLBACK_Unused3(void)→BOOL COMCALLBACK_Unused3(uint32_t dwStatusFlags, uint32_t dwCbArg2, uint* pCharData, char* szUsername)conventionunknown→__cdecl