Mac SHA1_BigIntSub: void __cdecl (void* pResult, void* pBigIntA, void* pBigIntB) -> SBigSub
The Mac body is PUSH EBP / MOV EBP,ESP / POP EBP / JMP 0x0000b731 (the Storm big-int subtract, cdecl stack args), forwarding the caller's three args. SRP_ClientComputeSharedSecret 0x002f907a stores [ESP]=EDI (the result), [ESP+4]=EBX and [ESP+8]=ESI. Roles match the Windows twin 0x0052a3b0 (void; pResult, pBigIntA, pBigIntB). BigData is not in the Mac DB, so the args are void*.
Changes 1, applied together
Set prototype
mac 0x002f7556signatureundefined SHA1_BigIntSub(void)→void SHA1_BigIntSub(void* pResult, void* pBigIntA, void* pBigIntB)conventionunknown→__cdecl