//
// sub_F7C654 from 0xf7c654 to 0xf7c6b4 (96 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:47 +0000
//
_QWORD *__fastcall sub_F7C654(_QWORD *a1, __int64 a2, __int64 a3, char *a4)
{
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 + 1;
v7 = a2 - (_QWORD)v6;
v8 = a3 - a2;
v9 = strlen(a4);
return std::string::replace(a1, v7, v8, a4, v9);
}