// // __crtLCMapStringW from 0x1801411c8 to 0x18014124f (135 bytes) // // 2 xrefs: // > sub_18013C0DC @ 0x18013c169 // > @ 0x180203c8c // // 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:55:05 +0000 // int __fastcall _crtLCMapStringW(__int64 a1, DWORD a2, const wchar_t *a3, int a4, WCHAR *a5, int a6) { unsigned int v6; // ebx unsigned int v10; // eax bool v11; // sf bool v12; // of v6 = a4; if ( a4 > 0 ) { v10 = wcsnlen(a3, a4); v12 = __OFSUB__(v10, v6); v11 = (int)(v10 - v6) < 0; v6 = v10 + 1; if ( v11 == v12 ) v6 = v10; } return _acrt_LCMapStringEx(a1, a2, a3, v6, a5, a6, 0, 0, 0); }