//
// SHA384 from 0xdde1e4 to 0xdde25c (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x6ff30
//
// 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
//
_BYTE *__fastcall SHA384(char *a1, size_t a2, _BYTE *a3)
{
_BYTE *v3; // x20
__int64 v7[27]; // [xsp+48h] [xbp+48h] BYREF
v3 = a3;
if ( !a3 )
v3 = &unk_125F230;
SHA384_Init((__int64)v7);
SHA512_Update((__int64)v7, a1, a2);
SHA512_Final(v3, v7);
OPENSSL_cleanse(v7, 0xD8u);
return v3;
}