//
// X509V3_get_section from 0x1079884 to 0x10798d8 (84 bytes)
//
// 12 xrefs:
// > a2i_GENERAL_NAME @ 0x1076818
// > sub_1079F2C @ 0x107a074
// > sub_1079F2C @ 0x107a268
// > sub_107B008 @ 0x107b10c
// > sub_107B008 @ 0x107b2e4
// > sub_107B008 @ 0x107b404
// > sub_107B008 @ 0x107b47c
// > sub_107B5D0 @ 0x107b7a8
// > sub_107B5D0 @ 0x107b890
// > sub_107D9D0 @ 0x107dad8
// > sub_108B494 @ 0x108b5bc
// > ??> @ 0x83e78
//
// 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:17:05 +0000
//
__int64 __fastcall X509V3_get_section(__int64 a1)
{
__int64 v1; // x2
__int64 (__fastcall *v2)(_QWORD); // x2
if ( *(_QWORD *)(a1 + 48) )
{
v1 = *(_QWORD *)(a1 + 40);
if ( v1 )
{
v2 = *(__int64 (__fastcall **)(_QWORD))(v1 + 8);
if ( v2 )
return v2(*(_QWORD *)(a1 + 48));
}
}
ERR_put_error(34, 142, 148, (__int64)"crypto/x509v3/v3_conf.c", 381);
return 0;
}