//
// sub_777A64 from 0x777a64 to 0x777a96 (50 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_777A64(wchar_t *a1, size_t a2, int a3, const wchar_t *a4, size_t a5)
{
sub_7777D0(a1, a2, a3, a5);
if ( !a5 )
return a1;
if ( a5 != 1 )
{
wmemcpy((wchar_t *)(*a1 + 4 * a2), a4, a5);
return a1;
}
*(_DWORD *)(*a1 + 4 * a2) = *a4;
return a1;
}