// // ASN1_i2d_bio from 0x8613a8 to 0x86147c (212 bytes) // // 11 xrefs: // > i2d_RSA_PUBKEY_bio @ 0x8485e4 // > i2d_DSAPrivateKey_bio @ 0x8486b0 // > i2d_DSA_PUBKEY_bio @ 0x8486f4 // > i2d_EC_PUBKEY_bio @ 0x8487c0 // > i2d_ECPrivateKey_bio @ 0x848804 // > i2d_PKCS8_bio @ 0x8489d8 // > i2d_PKCS8_PRIV_KEY_INFO_bio @ 0x848b28 // > i2d_PrivateKey_bio @ 0x848b80 // > i2d_PUBKEY_bio @ 0x848bc4 // > ASN1_i2d_fp @ 0x8614c4 // > @ 0x67f0c // // 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 ASN1_i2d_bio(int (__fastcall *a1)(int, void **), int a2, int a3) { char *v6; // r4 void *v7; // r6 int v8; // r5 int v9; // r0 int v10; // r4 void *v12; // [sp+Ch] [bp-8h] BYREF v6 = (char *)a1(a3, nullptr); v7 = CRYPTO_malloc(v6, (int)"crypto/asn1/a_i2d_fp.c", 41); if ( v7 ) { v12 = v7; a1(a3, &v12); v8 = 0; while ( 1 ) { v9 = BIO_write(a2, (int)v7 + v8, (int)v6); if ( (char *)v9 == v6 ) { v10 = 1; goto LABEL_7; } if ( v9 <= 0 ) break; v8 += v9; v6 -= v9; } v10 = 0; LABEL_7: CRYPTO_free(v7, (int)"crypto/asn1/a_i2d_fp.c", 61); return v10; } else { ERR_put_error(13, 116, 65, (int)"crypto/asn1/a_i2d_fp.c", 43); return 0; } }