//
// X509V3_get_section from 0xa69048 to 0xa690b0 (104 bytes)
//
// 12 xrefs:
// > a2i_GENERAL_NAME @ 0xa65a4c
// > sub_A69710 @ 0xa69860
// > sub_A69710 @ 0xa69a08
// > sub_A6AC70 @ 0xa6ad8c
// > sub_A6AC70 @ 0xa6aed0
// > sub_A6AC70 @ 0xa6b008
// > sub_A6AC70 @ 0xa6b124
// > sub_A6B2F0 @ 0xa6b4d0
// > sub_A6B2F0 @ 0xa6b5b0
// > sub_A6D99C @ 0xa6da3c
// > sub_A79B7C @ 0xa79cf0
// > ??> @ 0x8232c
//
// 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:08:37 +0000
//
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;
}