// // sub_1800D99F0 from 0x1800d99f0 to 0x1800d9ace (222 bytes) // // 3 xrefs: // > sub_1800D8740 @ 0x1800d960b // > sub_1800DB6F0 @ 0x1800db722 // > @ 0x1801bab6c // // 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 // void *__fastcall sub_1800D99F0(LPCWCH lpWideCharStr) { int v2; // eax int cbMultiByte; // edi void *lpMultiByteStr; // rbx v2 = WideCharToMultiByte(0xFDE9u, 0, lpWideCharStr, -1, nullptr, 0, nullptr, nullptr); cbMultiByte = v2; if ( v2 ) { lpMultiByteStr = calloc(v2, 1u); if ( WideCharToMultiByte(0xFDE9u, 0, lpWideCharStr, -1, (LPSTR)lpMultiByteStr, cbMultiByte, nullptr, nullptr) ) { return lpMultiByteStr; } else { sub_1800D9BA0(65544, "Win32: Failed to convert string to UTF-8"); free(lpMultiByteStr); return nullptr; } } else { sub_1800D9BA0(65544, "Win32: Failed to convert string to UTF-8"); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source