//
// sub_F7FF08 from 0xf7ff08 to 0xf7ff70 (104 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:13:50 +0000
//
_QWORD *__fastcall sub_F7FF08(_QWORD *a1, __int64 a2, __int64 a3, wchar_t *s)
{
char *v6; // x8
size_t v7; // x21
size_t v8; // x22
size_t v9; // x4
if ( (*(_BYTE *)a1 & 1) != 0 )
v6 = (char *)a1[2];
else
v6 = (char *)a1 + 4;
v7 = (a2 - (__int64)v6) >> 2;
v8 = (a3 - a2) >> 2;
v9 = wcslen(s);
return std::wstring::replace(a1, v7, v8, s, v9);
}