//
// X509V3_get_section from 0x854448 to 0x8544b0 (104 bytes)
//
// 12 xrefs:
// > a2i_GENERAL_NAME @ 0x850e4c
// > sub_854B10 @ 0x854c60
// > sub_854B10 @ 0x854e08
// > sub_856070 @ 0x85618c
// > sub_856070 @ 0x8562d0
// > sub_856070 @ 0x856408
// > sub_856070 @ 0x856524
// > sub_8566F0 @ 0x8568d0
// > sub_8566F0 @ 0x8569b0
// > sub_858D9C @ 0x858e3c
// > sub_864F7C @ 0x8650f0
// > ??> @ 0x688ac
//
// 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
//
int __fastcall X509V3_get_section(int a1)
{
int v1; // r3
int (__fastcall *v2)(_DWORD); // r3
if ( *(_DWORD *)(a1 + 24) )
{
v1 = *(_DWORD *)(a1 + 20);
if ( v1 )
{
v2 = *(int (__fastcall **)(_DWORD))(v1 + 4);
if ( v2 )
return v2(*(_DWORD *)(a1 + 24));
}
}
ERR_put_error(34, 142, 148, (int)"crypto/x509v3/v3_conf.c", 381);
return 0;
}