//
// _CONF_get_section from 0xa8d394 to 0xa8d3d8 (68 bytes)
//
// 4 xrefs:
// > _CONF_get_section_values @ 0xa8d3dc
// > sub_A8DDC0 @ 0xa8e550
// > sub_A8DDC0 @ 0xa8e65c
// > ??> @ 0x8412c
//
// 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:55 +0000
//
int __fastcall CONF_get_section(int a1, int a2)
{
bool v2; // zf
int v3; // r2
int v4; // r0
_DWORD v6[3]; // [sp+4h] [bp-14h] BYREF
v2 = a2 == 0;
if ( a2 )
v2 = a1 == 0;
v3 = v2;
if ( v2 )
return 0;
v6[0] = a2;
v4 = *(_DWORD *)(a1 + 8);
v6[1] = v3;
return OPENSSL_LH_retrieve(v4, (int)v6);
}