//
// DSA_set0_key from 0x7e2494 to 0x7e24f4 (96 bytes)
//
// 1 xrefs:
// > ??> @ 0x60f0c
//
// 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 DSA_set0_key(int a1, int a2, int a3)
{
int v4; // r0
v4 = *(_DWORD *)(a1 + 20);
if ( !v4 )
{
if ( !a2 )
return 0;
goto LABEL_3;
}
if ( a2 )
{
LABEL_3:
BN_free(v4);
*(_DWORD *)(a1 + 20) = a2;
}
if ( a3 )
{
BN_free(*(_DWORD *)(a1 + 24));
*(_DWORD *)(a1 + 24) = a3;
}
return 1;
}