//
// X509_REQ_extension_nid from 0xad8510 to 0xad854c (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x8504c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:09:29 +0000
//
int __fastcall X509_REQ_extension_nid(int a1)
{
int v1; // r2
int v2; // r3
int v3; // t1
v1 = off_D27B1C[0];
v2 = *(_DWORD *)off_D27B1C[0];
if ( !*(_DWORD *)off_D27B1C[0] )
return v2;
while ( a1 != v2 )
{
v3 = *(_DWORD *)(v1 + 4);
v1 += 4;
v2 = v3;
if ( !v3 )
return v2;
}
return 1;
}