//
// 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!
//
// 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
//
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);
}