//
// sub_1005562AC from 0x1005562ac to 0x100556350 (164 bytes)
//
// 1 xrefs:
// > sub_1005547D8 @ 0x100554810
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_1005562AC(int a1, char *__str, unsigned __int64 a3, _DWORD *a4)
{
__int64 v5; // x0
if ( a3 < 4 )
return 0;
if ( (unsigned int)(unsigned __int8)*__str - 48 > 9 )
return 0;
if ( (unsigned int)(unsigned __int8)__str[1] - 48 > 9 )
return 0;
if ( (unsigned int)(unsigned __int8)__str[2] - 48 > 9 )
return 0;
if ( __str[3] != 32 )
return 0;
v5 = strtol(__str, nullptr, 10);
*a4 = sub_10057BBB0(v5);
return 1;
}