// // ASN1_TYPE_set from 0xe0c908 to 0xe0c978 (112 bytes) // // 10 xrefs: // > sub_D6AECC @ 0xd6b4d8 // > X509_ALGOR_set0 @ 0xd70838 // > EVP_CIPHER_param_to_asn1 @ 0xdaa8ac // > X509_ATTRIBUTE_set1_data @ 0xde5fc0 // > X509_ATTRIBUTE_create @ 0xdf06c0 // > ASN1_TYPE_set1 @ 0xe0c9b8 // > ASN1_TYPE_set1 @ 0xe0c9e0 // > ASN1_TYPE_pack_sequence @ 0xe0cab4 // > ASN1_TYPE_set_octetstring @ 0xe0e9bc // > @ 0x3bf10 // // 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_TYPE_set(__int64 a1, int a2, __int64 a3) { _DWORD *v3; // x3 __int64 result; // x0 _DWORD *v7; // [xsp+28h] [xbp+28h] BYREF v3 = (_DWORD *)a1; v7 = (_DWORD *)a1; result = *(_QWORD *)(a1 + 8); if ( result ) { result = asn1_primitive_free(&v7, 0, 0); v3 = v7; } *v3 = a2; if ( a2 == 1 ) { if ( a3 ) result = 255; else result = 0; v3[2] = result; } else { *((_QWORD *)v3 + 1) = a3; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source