//
// SHA256_Init from 0x835818 to 0x83587c (100 bytes)
//
// 5 xrefs:
// > sub_645298 @ 0x6452a4
// > ssl3_cbc_digest_record @ 0x78dea0
// > sub_804490 @ 0x80449c
// > SHA256 @ 0x835e50
// > ??> @ 0x5559c
//
// 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
//
int __fastcall SHA256_Init(_DWORD *a1)
{
memset(a1, 0, 0x70u);
a1[5] = -1694144372;
*a1 = 1779033703;
a1[1] = -1150833019;
a1[2] = 1013904242;
a1[3] = -1521486534;
a1[4] = 1359893119;
a1[6] = 528734635;
a1[7] = 1541459225;
a1[27] = 32;
return 1;
}