//
// sub_10005E7B0 from 0x10005e7b0 to 0x10005e81f (111 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:19:40 +0000
//
__int64 __fastcall sub_10005E7B0(__int64 a1, __int64 a2)
{
__int64 v3; // rdi
unsigned int v4; // r14d
__int64 v5; // rax
const char *v6; // rax
v3 = *(_QWORD *)(a1 + 48);
v4 = 19;
if ( v3 )
{
if ( (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 56LL))(v3) )
{
v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 48) + 56LL))(*(_QWORD *)(a1 + 48));
v6 = (const char *)sub_10005AD20((int *)(v5 + 24));
v4 = 18;
if ( sscanf(v6, "%lf", a2) == 1 )
return 0;
}
}
return v4;
}