//
// 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 (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 10:54:58 +0000
//
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);
}