// // sub_1800D9AD0 from 0x1800d9ad0 to 0x1800d9b99 (201 bytes) // // 4 xrefs: // > sub_1800D7860 @ 0x1800d798c // > @ 0x180142fbc // > @ 0x180142fd0 // > @ 0x1801bab78 // // 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_1800D9AD0(LPCCH lpMultiByteStr) { int v2; // eax int cchWideChar; // edi void *lpWideCharStr; // rbx v2 = MultiByteToWideChar(0xFDE9u, 0, lpMultiByteStr, -1, nullptr, 0); cchWideChar = v2; if ( v2 ) { lpWideCharStr = calloc(v2, 2u); if ( MultiByteToWideChar(0xFDE9u, 0, lpMultiByteStr, -1, (LPWSTR)lpWideCharStr, cchWideChar) ) { return lpWideCharStr; } else { sub_1800D9BA0(65544, "Win32: Failed to convert string from UTF-8"); free(lpWideCharStr); return nullptr; } } else { sub_1800D9BA0(65544, "Win32: Failed to convert string from UTF-8"); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source