//
// CONF_set_nconf from 0x9ee678 to 0x9ee6b8 (64 bytes)
//
// 12 xrefs:
// > CONF_free @ 0x9ee76c
// > CONF_load_bio @ 0x9ee83c
// > CONF_get_section @ 0x9eea70
// > CONF_get_string @ 0x9eeb68
// > CONF_get_number @ 0x9eec68
// > CONF_dump_bio @ 0x9eed08
// > X509V3_EXT_conf @ 0xa69148
// > X509V3_EXT_conf_nid @ 0xa69188
// > X509V3_EXT_add_conf @ 0xa691e4
// > X509V3_EXT_CRL_add_conf @ 0xa69224
// > X509V3_EXT_REQ_add_conf @ 0xa69264
// > ??> @ 0x79b6c
//
// 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:07:28 +0000
//
int __fastcall CONF_set_nconf(int a1, int a2)
{
int v3; // r0
int result; // r0
v3 = dword_D340BC;
if ( !dword_D340BC )
{
v3 = NCONF_default();
dword_D340BC = v3;
}
result = (*(int (__fastcall **)(int))(v3 + 8))(a1);
*(_DWORD *)(a1 + 8) = a2;
return result;
}