//
// SHA512_Init from 0xa4ab70 to 0xa4ac00 (144 bytes)
//
// 5 xrefs:
// > ssl3_cbc_digest_record @ 0x9a22bc
// > sub_A190EC @ 0xa190f8
// > SHA512 @ 0xa4b294
// > BN_generate_dsa_nonce @ 0xa85c9c
// > ??> @ 0x745fc
//
// 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:20 +0000
//
int __fastcall SHA512_Init(int a1)
{
*(_QWORD *)(a1 + 16) = 0x3C6EF372FE94F82BLL;
*(_QWORD *)a1 = 0x6A09E667F3BCC908LL;
*(_QWORD *)(a1 + 40) = 0x9B05688C2B3E6C1FLL;
*(_QWORD *)(a1 + 24) = 0xA54FF53A5F1D36F1LL;
*(_QWORD *)(a1 + 8) = 0xBB67AE8584CAA73BLL;
*(_QWORD *)(a1 + 32) = 0x510E527FADE682D1LL;
*(_QWORD *)(a1 + 48) = 0x1F83D9ABFB41BD6BLL;
*(_QWORD *)(a1 + 56) = 0x5BE0CD19137E2179LL;
*(_DWORD *)(a1 + 208) = 0;
*(_DWORD *)(a1 + 212) = 64;
*(_QWORD *)(a1 + 64) = 0;
*(_QWORD *)(a1 + 72) = 0;
return 1;
}