//
// sub_D1DE40 from 0xd1de40 to 0xd1dee0 (160 bytes)
//
// 0 xrefs:
//
// 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
//
const wchar_t **__usercall sub_D1DE40@(const wchar_t *a1@, const wchar_t **a2@, const wchar_t **a3@)
{
size_t v6; // x20
v6 = wcslen(a1);
*a3 = (const wchar_t *)&unk_124B6E8;
sub_D1D184(a3, v6 + *((_QWORD *)*a2 - 3));
if ( v6 )
sub_D1D4A0(a3, a1, v6);
sub_D1D2E0(a3, a2);
return a3;
}