//
// X509V3_EXT_nconf_nid from 0xdfb060 to 0xdfb1a0 (320 bytes)
//
// 2 xrefs:
// > X509V3_EXT_conf_nid @ 0xdfb6c0
// > ??> @ 0x958e0
//
// 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 X509V3_EXT_nconf_nid(__int64 a1, __int64 a2, unsigned int a3, char *a4)
{
char *v5; // x19
size_t v8; // x20
int v9; // w23
unsigned __int8 *v11; // x19
v5 = a4;
v8 = strlen(a4);
if ( v8 <= 8 )
{
v9 = 0;
}
else
{
if ( strncmp(v5, aCritical_1, 9u) )
{
v9 = 0;
goto LABEL_10;
}
for ( v5 += 9; isspace((unsigned __int8)*v5); ++v5 )
;
v9 = 1;
v8 = strlen(v5);
}
if ( v8 <= 3 )
return sub_DFAB3C(a1, a2, a3, v9, v5);
LABEL_10:
if ( !strncmp(v5, "DER:", 4u) )
{
v11 = (unsigned __int8 *)(v5 + 4);
goto LABEL_13;
}
if ( v8 != 4 && !strncmp(v5, "ASN1:", 5u) )
{
v11 = (unsigned __int8 *)(v5 + 5);
LABEL_13:
while ( isspace(*v11) )
++v11;
OBJ_nid2sn(a3);
JUMPOUT(0xDFA978);
}
return sub_DFAB3C(a1, a2, a3, v9, v5);
}