//
// X509_REQ_extension_nid from 0x10ed260 to 0x10ed2a4 (68 bytes)
//
// 1 xrefs:
// > ??> @ 0xb26d8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:18:05 +0000
//
__int64 __fastcall X509_REQ_extension_nid(int a1)
{
unsigned int v1; // w1
unsigned int *v2; // x2
v1 = *off_15558B0;
if ( !*off_15558B0 )
return v1;
if ( a1 != v1 )
{
v2 = (unsigned int *)(off_15558B0 + 4LL);
while ( 1 )
{
v1 = *v2++;
if ( !v1 )
break;
if ( a1 == v1 )
return 1;
}
return v1;
}
return 1;
}