//
// sub_F7FEE0 from 0xf7fee0 to 0xf7ff08 (40 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_F7FEE0(_QWORD *a1, __int64 a2, __int64 a3, wchar_t *a4, size_t a5)
{
char *v5; // x8
if ( (*(_BYTE *)a1 & 1) != 0 )
v5 = (char *)a1[2];
else
v5 = (char *)a1 + 4;
return std::wstring::replace(a1, (a2 - (__int64)v5) >> 2, (a3 - a2) >> 2, a4, a5);
}