//
// sub_778B20 from 0x778b20 to 0x778b5e (62 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 **__fastcall sub_778B20(const wchar_t **a1, wchar_t *s, const wchar_t **a3)
{
size_t v6; // r0
size_t v7; // r5
v6 = wcslen(s);
*a1 = (const wchar_t *)&unk_ACDDB8;
v7 = v6;
sub_778308(a1, *(*a3 - 3) + v6);
if ( v7 )
sub_778518(a1, s, v7);
sub_7783F8(a1, a3);
return a1;
}