//
// SHA384 from 0x836614 to 0x836674 (96 bytes)
//
// 1 xrefs:
// > ??> @ 0x6666c
//
// 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; // r5
int v7[55]; // [sp+0h] [bp-DCh] BYREF
v3 = a3;
if ( !a3 )
v3 = &unk_AD4578;
SHA384_Init((int)v7);
SHA512_Update((int)v7, a1, a2);
SHA512_Final(v3, v7);
OPENSSL_cleanse(v7, 0xD8u);
return v3;
}