//
// ssl3_finish_mac from 0xd5f488 to 0xd5f4d0 (72 bytes)
//
// 7 xrefs:
// > dtls1_do_write @ 0xd4d070
// > dtls_get_message @ 0xd4db50
// > dtls_get_message @ 0xd4de2c
// > ssl3_do_write @ 0xd4e244
// > tls_get_message_body @ 0xd4ec48
// > tls_get_message_body @ 0xd4ec88
// > ??> @ 0xc7dd0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall ssl3_finish_mac(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v3; // x4
__int64 v4; // x0
v3 = *(_QWORD *)(a1 + 144);
v4 = *(_QWORD *)(v3 + 224);
if ( v4 )
return EVP_DigestUpdate(v4, a2, (int)a3);
else
return (unsigned int)BIO_write(*(_QWORD *)(v3 + 216), a2, a3) == (_DWORD)a3;
}