// // X509_EXTENSION_create_by_OBJ from 0xde99f8 to 0xde9b1c (292 bytes) // // 3 xrefs: // > X509_EXTENSION_create_by_NID @ 0xde9b54 // > X509v3_asid_validate_resource_set @ 0xdfaa84 // > @ 0xbe5c0 // // 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 X509_EXTENSION_create_by_OBJ(__int64 **a1, __int64 a2, int a3, unsigned int *a4) { __int64 *v8; // x19 __int64 *result; // x0 __int64 *v10; // x0 if ( a1 && (v8 = *a1) != nullptr ) { if ( !X509_EXTENSION_set_object(*a1, a2) || !(unsigned int)X509_EXTENSION_set_critical((__int64)v8, a3) ) { if ( *a1 == v8 ) return nullptr; LABEL_5: X509_EXTENSION_free(v8); return nullptr; } } else { v10 = (__int64 *)X509_EXTENSION_new(); v8 = v10; if ( !v10 ) { ERR_put_error(11, 109, 65, (__int64)"crypto/x509/x509_v3.c", 162); return nullptr; } if ( !X509_EXTENSION_set_object(v10, a2) ) { LABEL_14: if ( !a1 ) goto LABEL_5; goto LABEL_15; } if ( !(unsigned int)X509_EXTENSION_set_critical((__int64)v8, a3) ) { if ( !a1 ) goto LABEL_5; LABEL_15: if ( *a1 == v8 ) return nullptr; goto LABEL_5; } } if ( !X509_EXTENSION_set_data((_BOOL8)v8, a4) ) goto LABEL_14; if ( !a1 ) return v8; result = v8; if ( !*a1 ) *a1 = v8; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source