//
// std::__ndk1::__num_get_float from 0x976c34 to 0x976cc6 (146 bytes)
//
// 2 xrefs:
// > std::__ndk1::num_get>>::__do_get_floating_point @ 0x95ef9e
// > std::__ndk1::num_get>>::__do_get_floating_point @ 0x960f5e
//
// 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:05:58 +0000
//
int __fastcall std::__num_get_float(char *a1, char *a2, _DWORD *a3)
{
int v6; // r8
unsigned int v7; // r1
unsigned int v8; // r6
float v9; // s0
int v11; // [sp+4h] [bp-1Ch]
char *v12; // [sp+8h] [bp-18h]
int v13; // [sp+Ch] [bp-14h]
if ( a1 == a2 )
goto LABEL_5;
v13 = *(_DWORD *)_errno();
*(_DWORD *)_errno() = 0;
std::__cloc();
v6 = sub_9986A4(a1);
v8 = v7;
v11 = *(_DWORD *)_errno();
if ( !v11 )
*(_DWORD *)_errno() = v13;
if ( v12 == a2 )
{
if ( v11 == 34 )
*a3 = 4;
v9 = COERCE_DOUBLE(__PAIR64__(v8, v6));
}
else
{
LABEL_5:
v9 = 0.0;
*a3 = 4;
}
return LODWORD(v9);
}