// // ASN1_item_i2d_bio from 0xa76110 to 0xa761d0 (192 bytes) // // 12 xrefs: // > i2d_PKCS12_bio @ 0xa3b0e0 // > i2d_X509_bio @ 0xa5cf7c // > i2d_X509_CRL_bio @ 0xa5cfdc // > i2d_PKCS7_bio @ 0xa5d03c // > i2d_X509_REQ_bio @ 0xa5d09c // > i2d_RSAPrivateKey_bio @ 0xa5d170 // > i2d_RSAPublicKey_bio @ 0xa5d1cc // > ASN1_item_i2d_fp @ 0xa76218 // > i2d_CMS_bio @ 0xa88e9c // > OCSP_REQ_CTX_i2d @ 0xace0f4 // > i2d_ASN1_bio_stream @ 0xadb0d0 // > @ 0x7f42c // // 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_bio(unsigned __int8 *a1, int a2, size_t *a3) { int v3; // r5 int v5; // r0 void *v6; // r6 int v7; // r4 int v8; // r0 int v9; // r6 void *v11; // [sp+Ch] [bp-8h] BYREF v3 = 0; v11 = nullptr; v5 = ASN1_item_i2d(a3, (int *)&v11, a1); v6 = v11; v7 = v5; if ( v11 ) { while ( 1 ) { v8 = BIO_write(a2, (int)v6 + v3, v7); if ( v8 == v7 ) { v9 = 1; goto LABEL_7; } if ( v8 <= 0 ) break; v6 = v11; v3 += v8; v7 -= v8; } v9 = 0; LABEL_7: CRYPTO_free(v11, (int)"crypto/asn1/a_i2d_fp.c", 106); return v9; } else { ERR_put_error(13, 192, 65, (int)"crypto/asn1/a_i2d_fp.c", 91); return 0; } }