//
// NCONF_get_number_e from 0x9eeb84 to 0x9eec34 (176 bytes)
//
// 3 xrefs:
// > CONF_get_number @ 0x9eec7c
// > sub_A0AA14 @ 0xa0ad04
// > ??> @ 0x79c8c
//
// 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 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;
}
}