//
// wcstoul from 0x180130958 to 0x180130982 (42 bytes)
//
// 7 xrefs:
// > sub_1800C4280 @ 0x1800c42c0
// > sub_1800C4280 @ 0x1800c42e5
// > sub_1800C4280 @ 0x1800c430c
// > sub_1800C4280 @ 0x1800c433a
// > sub_1800C4280 @ 0x1800c4362
// > sub_1800C4280 @ 0x1800c43a0
// > ??> @ 0x180202e4c
//
// 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
//
unsigned int __cdecl wcstoul(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,
0);
}