{"type": "func", "start": 6443713548, "end": 6443713627, "name": "_wcsnicoll", "pseudocode": "// \n// _wcsnicoll from 0x18013440c to 0x18013445b (79 bytes)\n// \n// 3 xrefs:\n// > common_getenv_nolock<wchar_t> @ 0x180128e12\n// > common_set_variable_in_environment_nolock<wchar_t> @ 0x18013b224\n// > <???> @ 0x18020323c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __cdecl wcsnicoll(const wchar_t *String1, const wchar_t *String2, size_t MaxCount)\n{\n  if ( dword_1801F5150 )\n    return wcsnicoll_l(String1, String2, MaxCount, nullptr);\n  if ( String1 && String2 && MaxCount <= 0x7FFFFFFF )\n    return _ascii_wcsnicmp();\n  *errno() = 22;\n  invalid_parameter_noinfo();\n  return 0x7FFFFFFF;\n}", "assembly": "; \n; _wcsnicoll from 0x18013440c to 0x18013445b (79 bytes)\n; \n; 3 xrefs:\n; > common_getenv_nolock<wchar_t> @ 0x180128e12\n; > common_set_variable_in_environment_nolock<wchar_t> @ 0x18013b224\n; > <???> @ 0x18020323c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nsub     rsp, 28h                                                       ; +0x0, 0x18013440c\ncmp     cs:dword_1801F5150, 0                                          ; +0x4, 0x180134410\njnz     short loc_18013444F                                            ; +0xb, 0x180134417\ntest    rcx, rcx                                                       ; +0xd, 0x180134419\njnz     short loc_180134438                                            ; +0x10, 0x18013441c\ncall    _errno                                                         ; +0x12, 0x18013441e\nmov     dword ptr [rax], 16h                                           ; +0x17, 0x180134423\ncall    _invalid_parameter_noinfo                                      ; +0x1d, 0x180134429\nmov     eax, 7FFFFFFFh                                                 ; +0x22, 0x18013442e\nadd     rsp, 28h                                                       ; +0x27, 0x180134433\nretn                                                                   ; +0x2b, 0x180134437\ntest    rdx, rdx                                                       ; +0x2c, 0x180134438\njz      short loc_18013441E                                            ; +0x2f, 0x18013443b\ncmp     r8, 7FFFFFFFh                                                  ; +0x31, 0x18013443d\nja      short loc_18013441E                                            ; +0x38, 0x180134444\nadd     rsp, 28h                                                       ; +0x3a, 0x180134446\njmp     __ascii_wcsnicmp                                               ; +0x3e, 0x18013444a\nxor     r9d, r9d; Locale                                               ; +0x43, 0x18013444f\nadd     rsp, 28h                                                       ; +0x46, 0x180134452\njmp     _wcsnicoll_l                                                   ; +0x4a, 0x180134456", "xrefs": ["common_getenv_nolock<wchar_t> @ 0x180128e12", "common_set_variable_in_environment_nolock<wchar_t> @ 0x18013b224", "<???> @ 0x18020323c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}