//
// SHA256 from 0xa4aa34 to 0xa4aa98 (100 bytes)
//
// 2 xrefs:
// > CTLOG_new @ 0x9f0068
// > ??> @ 0x79eec
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:08:19 +0000
//
_BYTE *__fastcall SHA256(char *a1, size_t a2, _BYTE *a3)
{
_BYTE *v3; // r5
int v7[29]; // [sp+0h] [bp-74h] BYREF
v3 = a3;
if ( !a3 )
v3 = &unk_D357E4;
SHA256_Init(v7);
SHA256_Update(v7, a1, a2);
SHA256_Final(v3, v7);
OPENSSL_cleanse(v7, 0x70u);
return v3;
}