// // i2a_ASN1_OBJECT from 0xd64048 to 0xd641a0 (344 bytes) // // 20 xrefs: // > sub_BB5664 @ 0xbb59b0 // > sub_D69734 @ 0xd69e28 // > OCSP_REQUEST_print @ 0xdc4c90 // > OCSP_RESPONSE_print @ 0xdc4ea0 // > OCSP_RESPONSE_print @ 0xdc506c // > sub_DD23EC @ 0xdd2528 // > sub_DD23EC @ 0xdd2584 // > sub_DD23EC @ 0xdd25b4 // > X509_signature_print @ 0xde5254 // > X509_print_ex @ 0xde59d0 // > GENERAL_NAME_print @ 0xdf81bc // > sub_DFB7CC @ 0xdfb9ec // > sub_DFBA28 @ 0xdfbaa8 // > X509_POLICY_NODE_print @ 0xdfc4f4 // > i2a_ACCESS_DESCRIPTION @ 0xdfdea8 // > sub_DFF938 @ 0xdff9c0 // > X509V3_extensions_print @ 0xe00578 // > sub_E640B8 @ 0xe640f8 // > sub_E64278 @ 0xe64330 // > @ 0xbf2f8 // // 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 // __int64 __fastcall i2a_ASN1_OBJECT(__int64 a1, __int64 a2) { int v4; // w0 unsigned int v5; // w19 unsigned int v7; // w25 __int64 v8; // x0 _BYTE *v9; // x23 int v10; // w19 _BYTE v11[80]; // [xsp+50h] [xbp+50h] BYREF if ( !a2 || !*(_QWORD *)(a2 + 24) ) return BIO_write(a1, "NULL", 4); v4 = i2t_ASN1_OBJECT((__int64)v11, 80, a2); v5 = v4; if ( v4 > 79 ) { v7 = v4 + 1; v8 = CRYPTO_malloc(v4 + 1, "crypto/asn1/a_object.c", 182); v9 = (_BYTE *)v8; if ( v8 ) { i2t_ASN1_OBJECT(v8, v7, a2); BIO_write(a1, v9, v5); if ( v9 != v11 ) CRYPTO_free(v9, "crypto/asn1/a_object.c", 194); return v5; } else { return 0xFFFFFFFFLL; } } else if ( v4 <= 0 ) { v10 = BIO_write(a1, "", 9); return (unsigned int)BIO_dump(a1, *(_QWORD *)(a2 + 24), *(unsigned int *)(a2 + 20)) + v10; } else { BIO_write(a1, v11, (unsigned int)v4); return v5; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source