//
// CONF_set_nconf from 0x7d9a78 to 0x7d9ab8 (64 bytes)
//
// 12 xrefs:
// > CONF_free @ 0x7d9b6c
// > CONF_load_bio @ 0x7d9c3c
// > CONF_get_section @ 0x7d9e70
// > CONF_get_string @ 0x7d9f68
// > CONF_get_number @ 0x7da068
// > CONF_dump_bio @ 0x7da108
// > X509V3_EXT_conf @ 0x854548
// > X509V3_EXT_conf_nid @ 0x854588
// > X509V3_EXT_add_conf @ 0x8545e4
// > X509V3_EXT_CRL_add_conf @ 0x854624
// > X509V3_EXT_REQ_add_conf @ 0x854664
// > ??> @ 0x600ec
//
// 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 CONF_set_nconf(int a1, int a2)
{
int v3; // r0
int result; // r0
v3 = dword_AD2E30;
if ( !dword_AD2E30 )
{
v3 = NCONF_default();
dword_AD2E30 = v3;
}
result = (*(int (__fastcall **)(int))(v3 + 8))(a1);
*(_DWORD *)(a1 + 8) = a2;
return result;
}