// // ASN1_STRING_set_by_NID from 0xe0c6a4 to 0xe0c754 (176 bytes) // // 3 xrefs: // > X509_ATTRIBUTE_set1_data @ 0xde6040 // > X509_NAME_ENTRY_set_data @ 0xdef76c // > @ 0x3cd08 // // 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 ASN1_STRING_set_by_NID(__int64 *a1, char *a2, int a3, int a4, int a5) { __int64 *v5; // x19 __int64 *v6; // x0 __int64 v7; // x4 int v8; // w0 __int64 v13; // [xsp+48h] [xbp+48h] BYREF v5 = a1; v13 = 0; if ( !a1 ) v5 = &v13; v6 = (__int64 *)ASN1_STRING_TABLE_get(a5); if ( v6 ) { v7 = v6[3]; if ( (v6[4] & 2) == 0 ) v7 &= qword_12397D0; v8 = ASN1_mbstring_ncopy(v5, a2, a3, a4, v7, v6[1], v6[2]); } else { v8 = ASN1_mbstring_copy(v5, a2, a3, a4, qword_12397D0 & 0x2806); } if ( v8 <= 0 ) return 0; else return *v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source