// // i2a_ASN1_OBJECT from 0x7bd854 to 0x7bd970 (284 bytes) // // 20 xrefs: // > sub_64231C @ 0x6424f0 // > sub_7C2E4C @ 0x7c3578 // > OCSP_REQUEST_print @ 0x81f0fc // > OCSP_RESPONSE_print @ 0x81f31c // > OCSP_RESPONSE_print @ 0x81f5cc // > sub_82BD00 @ 0x82be28 // > sub_82BD00 @ 0x82be90 // > sub_82BD00 @ 0x82bec4 // > X509_signature_print @ 0x83d370 // > X509_print_ex @ 0x83dbf4 // > GENERAL_NAME_print @ 0x850bd4 // > sub_854684 @ 0x8548a8 // > sub_854924 @ 0x85499c // > X509_POLICY_NODE_print @ 0x85573c // > i2a_ACCESS_DESCRIPTION @ 0x857358 // > sub_8590F0 @ 0x859174 // > X509V3_extensions_print @ 0x859df0 // > sub_8B9C1C @ 0x8b9c54 // > sub_8B9DD0 @ 0x8b9e74 // > @ 0x54d1c // // 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 i2a_ASN1_OBJECT(int a1, int a2, int a3, int a4) { int v6; // r0 int v7; // r3 int v8; // r4 int v10; // r9 int v11; // r0 _BYTE *v12; // r8 int v13; // r3 int v14; // r4 _BYTE v15[80]; // [sp+0h] [bp-50h] BYREF if ( !a2 ) return BIO_write(a1, "NULL", 4, a4); a4 = *(_DWORD *)(a2 + 16); if ( !a4 ) return BIO_write(a1, "NULL", 4, a4); v6 = i2t_ASN1_OBJECT((int)v15, 80, a2); v8 = v6; if ( v6 > 79 ) { v10 = v6 + 1; v11 = CRYPTO_malloc(v6 + 1, "crypto/asn1/a_object.c", 182); v12 = (_BYTE *)v11; if ( v11 ) { i2t_ASN1_OBJECT(v11, v10, a2); BIO_write(a1, v12, v8, v13); if ( v12 != v15 ) CRYPTO_free(v12, "crypto/asn1/a_object.c", 194); return v8; } else { return -1; } } else if ( v6 <= 0 ) { v14 = BIO_write(a1, "", 9, v7); return BIO_dump(a1, *(_DWORD *)(a2 + 16), *(_DWORD *)(a2 + 12)) + v14; } else { BIO_write(a1, v15, v6, v7); return v8; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source