//
// sub_D1A150 from 0xd1a150 to 0xd1a16c (28 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
//
wchar_t *__fastcall sub_D1A150(wchar_t *a1, const wchar_t *a2, size_t a3)
{
wchar_t *result; // x0
if ( a3 != 1 )
return wmemcpy(a1, a2, a3);
result = (wchar_t *)*(unsigned int *)a2;
*a1 = (int)result;
return result;
}