//
// X509_NAME_get_index_by_NID from 0xdef30c to 0xdef354 (72 bytes)
//
// 8 xrefs:
// > sub_BB678C @ 0xbb71ec
// > sub_DF8A74 @ 0xdf8bd4
// > sub_DF8A74 @ 0xdf8c78
// > NAME_CONSTRAINTS_check @ 0xdfef24
// > NAME_CONSTRAINTS_check_CN @ 0xdff000
// > sub_E02CA8 @ 0xe02ebc
// > sub_E04310 @ 0xe04354
// > ??> @ 0x2c250
//
// 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_NAME_get_index_by_NID(unsigned int **a1, unsigned int a2, int a3)
{
char **v4; // x1
v4 = OBJ_nid2obj(a2);
if ( v4 )
return X509_NAME_get_index_by_OBJ(a1, (__int64)v4, a3);
else
return 4294967294LL;
}