//
// HMAC_Init from 0xa1dbd4 to 0xa1dc1c (72 bytes)
//
// 1 xrefs:
// > ??> @ 0x7da4c
//
// 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:07:54 +0000
//
bool __fastcall HMAC_Init(int a1, const void *a2, size_t a3, int a4)
{
bool v4; // zf
const void *v7; // [sp+Ch] [bp-Ch]
size_t v8; // [sp+10h] [bp-8h]
int v9; // [sp+14h] [bp-4h]
v4 = a2 == nullptr;
if ( a2 )
v4 = a4 == 0;
if ( !v4 )
{
v9 = a4;
v8 = a3;
v7 = a2;
HMAC_CTX_reset(a1);
a2 = v7;
a3 = v8;
a4 = v9;
}
return HMAC_Init_ex(a1, a2, a3, a4, nullptr);
}