// // ASN1_STRING_copy from 0x7c2b78 to 0x7c2bdc (100 bytes) // // 8 xrefs: // > ASN1_TIME_set_string @ 0x7c1264 // > ASN1_STRING_dup @ 0x7c2d28 // > OCSP_cert_id_new @ 0x81e9a8 // > X509_set_serialNumber @ 0x840998 // > X509_REVOKED_set_serialNumber @ 0x84761c // > sub_849870 @ 0x849958 // > cms_set1_ias @ 0x875e10 // > @ 0x5e4cc // // 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_STRING_copy(signed int *a1, int a2) { int v5; // r3 if ( !a2 ) return 0; a1[1] = *(_DWORD *)(a2 + 4); if ( !ASN1_STRING_set(a1, *(const char **)(a2 + 8), *(_DWORD *)a2) ) return 0; v5 = a1[3] & 0x80; a1[3] = v5; a1[3] = *(_DWORD *)(a2 + 12) & 0xFFFFFF7F | v5; return 1; }