// // sub_1800E1A20 from 0x1800e1a20 to 0x1800e1ae9 (201 bytes) // // 4 xrefs: // > sub_1800D91F0 @ 0x1800d931c // > @ 0x18014c7e8 // > @ 0x18014c7fc // > @ 0x1801c51fc // // 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 11:22:36 +0000 // void *__fastcall sub_1800E1A20(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_1800E1AF0(65544, "Win32: Failed to convert string from UTF-8"); free(lpWideCharStr); return nullptr; } } else { sub_1800E1AF0(65544, "Win32: Failed to convert string from UTF-8"); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source