//
// ASN1_item_i2d_fp from 0xa761d8 to 0xa76260 (136 bytes)
//
// 8 xrefs:
// > i2d_PKCS12_fp @ 0xa3b0f8
// > i2d_X509_fp @ 0xa5cf4c
// > i2d_X509_CRL_fp @ 0xa5cfac
// > i2d_PKCS7_fp @ 0xa5d00c
// > i2d_X509_REQ_fp @ 0xa5d06c
// > i2d_RSAPrivateKey_fp @ 0xa5d0cc
// > i2d_RSAPublicKey_fp @ 0xa5d128
// > ??> @ 0x7f44c
//
// 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:44 +0000
//
int __fastcall ASN1_item_i2d_fp(unsigned __int8 *a1, int a2, size_t *a3)
{
void *v6; // r0
_DWORD *v7; // r0
_DWORD *v8; // r5
int v9; // r4
v6 = BIO_s_file();
v7 = BIO_new((int)v6);
v8 = v7;
if ( v7 )
{
BIO_ctrl(v7, 106, 0, a2);
v9 = ASN1_item_i2d_bio(a1, (int)v8, a3);
BIO_free(v8);
return v9;
}
else
{
ERR_put_error(13, 193, 7, (int)"crypto/asn1/a_i2d_fp.c", 74);
return 0;
}
}