//
// wcstol from 0x18013092c to 0x180130956 (42 bytes)
//
// 6 xrefs:
// > unknown_libname_38 @ 0x18012c5fa
// > unknown_libname_39 @ 0x18012c69e
// > tzset_from_environment_nolock @ 0x18013ce9b
// > tzset_from_environment_nolock @ 0x18013ced9
// > tzset_from_environment_nolock @ 0x18013cf25
// > ??> @ 0x180202e40
//
// 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 wcstol(const wchar_t *String, wchar_t **EndPtr, int Radix)
{
wint_t *v4[3]; // [rsp+20h] [rbp-18h] BYREF
v4[0] = (wint_t *)String;
v4[1] = (wint_t *)EndPtr;
if ( EndPtr )
*EndPtr = (wchar_t *)String;
return __crt_strtox::parse_integer>(
nullptr,
v4,
Radix,
1);
}