//
// sub_779224 from 0x779224 to 0x77924e (42 bytes)
//
// 8 xrefs:
// > sub_7626A4 @ 0x7626b0
// > sub_7626BC @ 0x7626c8
// > sub_7626D4 @ 0x7626e0
// > sub_7626EC @ 0x7626f8
// > sub_762704 @ 0x762710
// > sub_76271C @ 0x762728
// > sub_762734 @ 0x762740
// > sub_76274C @ 0x762758
//
// 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
//
_DWORD *__fastcall sub_779224(_DWORD *a1, wchar_t *s)
{
const wchar_t *v4; // r1
v4 = (const wchar_t *)-4;
if ( s )
v4 = &s[wcslen(s)];
*a1 = sub_778E80(s, v4);
return a1;
}