//
// DSA_set0_key from 0x9f7094 to 0x9f70f4 (96 bytes)
//
// 1 xrefs:
// > ??> @ 0x7a98c
//
// 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:33 +0000
//
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;
}