// // __doserrno from 0x18012fe30 to 0x18012fe50 (32 bytes) // // 19 xrefs: // > common_stat<_stat64i32> @ 0x1801290e7 // > _free_osfhnd @ 0x18013624d // > _get_osfhandle @ 0x180136279 // > _get_osfhandle @ 0x1801362c4 // > sub_180138B78 @ 0x180138b88 // > sub_180138B78 @ 0x180138bf9 // > common_getdcwd @ 0x18013bf2e // > _validdrive @ 0x18013c04e // > __crt_seh_guarded_call::operator @ 0x18013f91e // > _write @ 0x180140289 // > _write @ 0x1801402f4 // > _write @ 0x180140318 // > _write_nolock @ 0x18014037c // > _write_nolock @ 0x1801405c1 // > _write_nolock @ 0x180140601 // > common_lseek<__int64> @ 0x180141f05 // > common_lseek<__int64> @ 0x180141f71 // > common_lseek<__int64> @ 0x180141f97 // > @ 0x180202df8 // // 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 _doserrno() { __int64 v0; // rax v0 = _acrt_getptd_noexit(); if ( v0 ) return (unsigned int *)(v0 + 36); else return (unsigned int *)&unk_1801B1854; }