REDIVIVUS

Proposals / #1342

Mac SRP_ClientVerifyServerProof: BOOL __cdecl (D2Srp** ppSrp, void* pSrpContext, int* pServerProof)

checked · by KierTaylor · submitted 2026-11-06

The Mac body reads [EBP+0xc] (the SRP context; +0x60/+0x80/+0xa8 are passed to SRP_ComputeServerProof) and [EBP+0x10] (the 20-byte server proof, memcmp'd against the computed proof). It returns SETZ of that compare (MOVZX EAX,AL) with a plain RET. [EBP+8] is the unread self slot, as in the Windows twin 0x00528890 (BOOL; ppSrp this, pSrpContext, pServerProof). The caller is NET_SID_CLIENT_VerifyServerProof 0x00058ad8.

Changes 1, applied together

  1. Set prototype mac 0x002f9748

    signatureundefined SRP_ClientVerifyServerProof(void)→BOOL SRP_ClientVerifyServerProof(D2Srp** ppSrp, void* pSrpContext, int* pServerProof)
    conventionunknown→__cdecl