//
// i2d_DSA_PUBKEY from 0xa5f61c to 0xa5f694 (120 bytes)
//
// 6 xrefs:
// > ??> @ 0x7eb7c
// > PEM_write_bio_DSA_PUBKEY @ 0xa35838
// > PEM_write_DSA_PUBKEY @ 0xa35888
// > i2d_DSA_PUBKEY_fp @ 0xa5d268
// > i2d_DSA_PUBKEY_bio @ 0xa5d2f0
// > ??> @ 0xd1d680
//
// 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:32 +0000
//
int __fastcall i2d_DSA_PUBKEY(int result, int *a2)
{
int v3; // r4
_DWORD *v4; // r0
int v5; // r6
int v6; // r4
if ( result )
{
v3 = result;
v4 = EVP_PKEY_new();
v5 = (int)v4;
if ( v4 )
{
EVP_PKEY_set1_DSA(v4, v3);
v6 = i2d_PUBKEY(v5, a2);
EVP_PKEY_free(v5);
return v6;
}
else
{
ERR_put_error(13, 161, 65, (int)"crypto/x509/x_pubkey.c", 288);
return 0;
}
}
return result;
}