//
// ssl3_finish_mac from 0xfdd7dc to 0xfdd824 (72 bytes)
//
// 7 xrefs:
// > dtls1_do_write @ 0xfcb3c4
// > dtls_get_message @ 0xfcbea4
// > dtls_get_message @ 0xfcc180
// > ssl3_do_write @ 0xfcc598
// > tls_get_message_body @ 0xfccf9c
// > tls_get_message_body @ 0xfccfdc
// > ??> @ 0x103f30
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:15:36 +0000
//
__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;
}