//
// X509_REQ_extension_nid from 0xe6f260 to 0xe6f2a4 (68 bytes)
//
// 1 xrefs:
// > ??> @ 0x86730
//
// 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_REQ_extension_nid(int a1)
{
unsigned int v1; // w1
unsigned int *v2; // x2
v1 = *off_123C5D0;
if ( !*off_123C5D0 )
return v1;
if ( a1 != v1 )
{
v2 = (unsigned int *)(off_123C5D0 + 4LL);
while ( 1 )
{
v1 = *v2++;
if ( !v1 )
break;
if ( a1 == v1 )
return 1;
}
return v1;
}
return 1;
}