//
// strtol from 0x1801308d4 to 0x1801308fe (42 bytes)
//
// 3 xrefs:
// > unknown_libname_37 @ 0x18012c555
// > ??> @ 0x180202e1c
// > ??> @ 0x180202e28
//
// 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
//
int __cdecl strtol(const char *String, char **EndPtr, int Radix)
{
__int64 v4[3]; // [rsp+20h] [rbp-18h] BYREF
v4[0] = (__int64)String;
v4[1] = (__int64)EndPtr;
if ( EndPtr )
*EndPtr = (char *)String;
return __crt_strtox::parse_integer>(nullptr, v4, Radix, 1);
}