//
// SHA256_Init from 0x105b890 to 0x105b918 (136 bytes)
//
// 5 xrefs:
// > sub_E2FD5C @ 0xe2fd80
// > ssl3_cbc_digest_record @ 0xfb59e8
// > sub_102966C @ 0x102967c
// > SHA256 @ 0x105bd74
// > ??> @ 0x96e08
//
// 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:16:48 +0000
//
__int64 __fastcall SHA256_Init(__int64 a1)
{
*(_QWORD *)(a1 + 96) = 0;
*(_QWORD *)(a1 + 104) = 0;
*(_DWORD *)(a1 + 4) = -1150833019;
*(_DWORD *)(a1 + 28) = 1541459225;
*(_DWORD *)a1 = 1779033703;
*(_QWORD *)(a1 + 32) = 0;
*(_QWORD *)(a1 + 40) = 0;
*(_QWORD *)(a1 + 48) = 0;
*(_QWORD *)(a1 + 56) = 0;
*(_QWORD *)(a1 + 64) = 0;
*(_QWORD *)(a1 + 72) = 0;
*(_QWORD *)(a1 + 80) = 0;
*(_QWORD *)(a1 + 88) = 0;
*(_DWORD *)(a1 + 8) = 1013904242;
*(_DWORD *)(a1 + 12) = -1521486534;
*(_DWORD *)(a1 + 16) = 1359893119;
*(_DWORD *)(a1 + 20) = -1694144372;
*(_DWORD *)(a1 + 24) = 528734635;
*(_DWORD *)(a1 + 108) = 32;
return 1;
}