//
// NCONF_get_number_e from 0x7d9f84 to 0x7da034 (176 bytes)
//
// 3 xrefs:
// > CONF_get_number @ 0x7da07c
// > sub_7F5E14 @ 0x7f6104
// > ??> @ 0x6020c
//
// 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 NCONF_get_number_e(int a1, int a2, char *a3, _DWORD *a4)
{
unsigned __int8 *string; // r6
int v7; // r4
if ( a4 )
{
string = (unsigned __int8 *)NCONF_get_string(a1, a2, a3);
if ( string )
{
*a4 = 0;
while ( (*(int (__fastcall **)(int, _DWORD))(*(_DWORD *)a1 + 28))(a1, *string) )
{
++string;
v7 = 10 * *a4;
*a4 = v7 + (*(int (**)(void))(*(_DWORD *)a1 + 32))();
}
return 1;
}
else
{
return 0;
}
}
else
{
ERR_put_error(14, 112, 67, "crypto/conf/conf_lib.c", 286);
return 0;
}
}