//
// BLAKE2b_Init from 0xe84568 to 0xe84694 (300 bytes)
//
// 2 xrefs:
// > sub_E74840 @ 0xe74850
// > ??> @ 0x31998
//
// 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
//
int8x16_t __fastcall BLAKE2b_Init(int8x16_t *a1)
{
int8x16_t v2; // q0
int8x16_t result; // q0
memset(a1, 0, 0xE8u);
a1->n128_u64[0] = 0x6A09E667F3BCC908LL;
a1->n128_u64[1] = 0xBB67AE8584CAA73BLL;
v2 = veorq_s8(*a1, (int8x16_t)0x1010040u);
a1[1].n128_u64[0] = 0x3C6EF372FE94F82BLL;
a1[1].n128_u64[1] = 0xA54FF53A5F1D36F1LL;
a1[2].n128_u64[0] = 0x510E527FADE682D1LL;
a1[2].n128_u64[1] = 0x9B05688C2B3E6C1FLL;
a1[3].n128_u64[0] = 0x1F83D9ABFB41BD6BLL;
a1[3].n128_u64[1] = 0x5BE0CD19137E2179LL;
*a1 = v2;
result = veorq_s8(a1[1], (int8x16_t)0);
a1[1] = result;
return result;
}