//
// std::__ndk1::__num_get_float from 0xf794d8 to 0xf7960c (308 bytes)
//
// 3 xrefs:
// > std::__ndk1::num_get>>::__do_get_floating_point @ 0xf524c0
// > std::__ndk1::num_get>>::__do_get_floating_point @ 0xf554f0
// > ??> @ 0x86ed8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:13:44 +0000
//
void __fastcall std::__num_get_float(const char *a1, char *a2, _DWORD *a3)
{
int *v6; // x21
unsigned __int8 v7; // w8
int v8; // [xsp+4h] [xbp-3Ch]
char *v9; // [xsp+8h] [xbp-38h] BYREF
int v10; // [xsp+14h] [xbp-2Ch]
__int64 v11; // [xsp+18h] [xbp-28h]
v11 = *(_QWORD *)(_ReadStatusReg(TPIDR_EL0) + 40);
if ( a1 == a2 )
goto LABEL_8;
v6 = (int *)__errno();
v10 = *v6;
*v6 = 0;
v7 = atomic_load((unsigned __int8 *)&byte_1564978);
if ( (v7 & 1) == 0 && _cxa_guard_acquire((__guard *)&byte_1564978) )
{
qword_1564970 = newlocale();
_cxa_guard_release((__guard *)&byte_1564978);
}
strtold_l(a1, &v9, (locale_t)qword_1564970);
v8 = *v6;
if ( !*v6 )
*v6 = v10;
if ( v9 == a2 )
{
if ( v8 == 34 )
*a3 = 4;
}
else
{
LABEL_8:
*a3 = 4;
}
_ReadStatusReg(TPIDR_EL0);
}