//
// sub_1004F0ED4 from 0x1004f0ed4 to 0x1004f0f54 (128 bytes)
//
// 7 xrefs:
// > sub_1004F04E0 @ 0x1004f07ac
// > sub_1004F04E0 @ 0x1004f07c4
// > sub_1004F04E0 @ 0x1004f08d4
// > sub_1004F04E0 @ 0x1004f08ec
// > sub_1004F04E0 @ 0x1004f0954
// > sub_1004F04E0 @ 0x1004f0984
// > sub_1004F04E0 @ 0x1004f099c
//
// 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 11:06:45 +0000
//
float __fastcall sub_1004F0ED4(__int64 a1, char *a2, float a3)
{
__int64 v5; // x20
const char *v6; // x0
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v9; // [xsp+1Fh] [xbp-21h]
sub_100009900(__p, a2);
v5 = sub_1000D9514(a1, (const void **)__p);
if ( v9 < 0 )
operator delete(__p[0]);
if ( a1 + 8 != v5 )
{
v6 = (const char *)(v5 + 56);
if ( *(char *)(v5 + 79) < 0 )
v6 = *(const char **)v6;
return atof(v6);
}
return a3;
}